You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.
The system has encountered the following error:
Call to undefined method Zend_Controller_Request_Http::dispatchError()
In /var/www/midas.mit.edu/html/library/REST/Controller/Plugin/RestHandler.php, line: 176
At 12:28:03 2016-10-21
Please notify your administrator with this information.
And if I try to curl it, nothing is downloaded, and I get the following:
and it is possible you may need to add &algorithm=%(algo)
Do you have the option to move away from Midas and to Girder? Girder is so much better, and much better supported.
There is support for External Data in Girder through a core plugin hashsum_download that you'll need to enable. This currently only supports sha512 hash through the filesystem assetstore. The docs could definitely be better (err, exist) for this plugin. I realize I'm not making the strongest case for the move in this particular case, but the platform really is much better.
If you run into trouble, you can post an Issue in Girder's Github, and you will get help.
@mgrauer Thanks for the help, I'll try out the method call tomorrow. It seems like it actually does work with wget and cmake, just not curl or the web browser. In any case, I'd prefer to stay with a well-supported platform so I plan to set up a girder instance. Just wish that I had heard about it before we decided on Midas! The CMake ExternalData documentation really needs an update.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
version: 3.4.2
host: Ubuntu 14.04 (VM)
I have what I believe to be a working instance of Midas running. I'm able to upload/download files successfully when using the web interface.
However, I can't seem to download files via the API, which is what I really care about since I want to use Midas as a CMake external data store.
I have a bitstream, "10", which exists and returns the following from
GET /rest/bitstream/10
:But when I try to access the file via the download URLs, either:
or
I get the following error:
And if I try to curl it, nothing is downloaded, and I get the following:
and the
production.log
file shows:The permissions on the file are set to public, and I've tried the download with an authorization token as well, with the same results.
The text was updated successfully, but these errors were encountered: