Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix model download from marketplace (Trac #838) #7

Closed
sasview-bot opened this issue Mar 30, 2019 · 7 comments
Closed

Fix model download from marketplace (Trac #838) #7

sasview-bot opened this issue Mar 30, 2019 · 7 comments

Comments

@sasview-bot
Copy link

sasview-bot commented Mar 30, 2019

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

Migrated from http://trac.sasview.org/ticket/838

{
    "status": "closed",
    "changetime": "2017-04-05T16:02:41",
    "_ts": "2017-04-05 16:02:41.077627+00:00",
    "description": "From email to ajj:\n\nAfter 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:\n\n    '!NoneType' object has no attribute 'read'\n\nI have tried this for models 2, 4, 6 & 8 all of which return the same file. Any ideas as to why this is occurring?\n\n\nRegards,\n\n  Tim",
    "reporter": "tim",
    "cc": "",
    "resolution": "fixed",
    "workpackage": "SasModels Marketplace",
    "time": "2017-01-17T13:07:52",
    "component": "sasmodels Markeplace",
    "summary": "Fix model download from marketplace",
    "priority": "blocker",
    "keywords": "",
    "milestone": "SasView 4.2.0",
    "owner": "wojciech",
    "type": "defect"
}
@wpotrzebowski
Copy link

Trac update at 2017/01/30 13:24:14: wojciech commented:

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.

@ajj
Copy link
Member

ajj commented Mar 30, 2019

Trac update at 2017/01/31 09:19:25:

  • ajj changed owner from "ajj" to "wojciech"
  • ajj changed status from "new" to "assigned"

@wpotrzebowski
Copy link

Trac update at 2017/02/10 10:52:22: wojciech commented:

The fix has been pushed but automatic deployment hasn't been triggered. Andrew will look into this.

@butlerpd
Copy link
Member

Trac update at 2017/03/07 05:20:45: butler changed description from:

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

to:

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

@butlerpd
Copy link
Member

Trac update at 2017/03/08 14:53:40:

  • butler commented:

This is really an admin task and not a 4.1 release blocker - though it would be REALLY nice to be able to release 4.1 with announcement of a working marketplace. Still, as we are closing down work on 4.1 release am moving this to 4.2 so as not to confuse things along with ticket #2

  • butler changed milestone from "SasView 4.1.0" to "SasView 4.2.0"

@smk78
Copy link
Contributor

smk78 commented Mar 30, 2019

Trac update at 2017/03/08 15:03:37: smk78 commented:

And you can always highlight the code for a model, select, copy, and paste into an editor, so it's not like the models are unattainable. Agree, not a blocker.

@ajj
Copy link
Member

ajj commented Mar 30, 2019

Trac update at 2017/04/05 16:01:15:

  • ajj changed _comment0 from "Fixed by @wojciech in commit [https://github.com/SasView/sasmodel-marketplace/commit/da53669e1cfeaed8e3bd0a7a3aae308b859b7937 da53669]" to "1491408161077627"
  • ajj commented:

Fixed by @wojciech in commit [https://github.com/SasView/sasmodel-marketplace/commit/80731868511c584f33a39e716da2e15199a667ef 8073186]

  • ajj changed resolution from "" to "fixed"
  • ajj changed status from "assigned" to "closed"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants