Opened 8 years ago
Last modified 8 years ago
#838 closed defect
Fix model download from marketplace — at Version 4
Reported by: | tim | Owned by: | wojciech |
---|---|---|---|
Priority: | blocker | Milestone: | SasView 4.2.0 |
Component: | sasmodels Markeplace | Keywords: | |
Cc: | Work Package: | SasModels Marketplace |
Description (last modified by butler)
From email to ajj:
After uploading the Pringle-Schmidt model for Ian to the SasView marketplace online we discovered a small bug with the marketplace file downloader. Although if you click on the file link on the model description page (i.e. http://marketplace.sasview.org/uploads/8) it shows the file's contents, however, clicking the link at the bottom of the page returns a file that only contains the text:
'NoneType' object has no attribute 'read'
I have tried this for models 2, 4, 6 & 8 all of which return the same file. Any ideas as to why this is occurring?
Regards,
Tim
Change History (4)
comment:1 Changed 8 years ago by wojciech
comment:2 Changed 8 years ago by ajj
- Owner changed from ajj to wojciech
- Status changed from new to assigned
comment:3 Changed 8 years ago by wojciech
The fix has been pushed but automatic deployment hasn't been triggered. Andrew will look into this.
comment:4 Changed 8 years ago by butler
- Description modified (diff)
Path to models is wrong. It is http://marketplace.sasview.org/uploads/marketplace.sasview.org/uploads/uploaded_models/pringle_schmidt_helices.py and should be
http://marketplace.sasview.org/uploads/uploaded_models/pringle_schmidt_helices.py. Need to change base url probably.