-
Notifications
You must be signed in to change notification settings - Fork 27
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
Incorrect order when uploading subjects #206
Comments
This is very strange. Really we'll need to be able to reproduce this to figure out what's going on. Would you be able to try creating a new subject with the same images as subject 26143281, to see if the same thing happens again? Just create a new subject set and upload it to there, so we can just delete it when we're done testing. Also if you can set the environment variable |
I uploaded the same 10 photos again to another subject set (73342). The subject is 30841573. It does seem to happen again.
In parallel I will try to find out if the list of files gets shuffled somewhere before the panoptes client receives the files. |
Hmm, that doesn't look like the output I'm expecting. There should be several lines of log output, each starting with
Though actually, now that I think about it that won't really help shed any light on this because it doesn't explicitly say what order it's saving the images in the subject attributes. I was trying to see if the client was submitting them in the right order or if they were being shuffled somehow before that. I'll probably need to add some additional logging to get to the bottom of this. |
I should also point out that you'll want to trim the URLs from the Amazon S3 PUT lines before posting – the tokens there do expire but not immediately, so I wouldn't post them publicly. |
When uploading subjects with multiple files the order seems to be lost sometimes. One example from our project: https://www.zooniverse.org/projects/y-dot-liefting/snapshot-hoge-veluwe/talk/subjects/26143281
We are using this client to upload subjects. The code that handles the uploads is:
I'm not sure, but could this be related to the async_save in https://github.com/zooniverse/panoptes-python-client/blob/master/panoptes_client/subject.py?
The text was updated successfully, but these errors were encountered: