{"action":"created","issue":{"url":"https://api.github.com/repos/NeuroVault/NeuroVault/issues/183","labels_url":"https://api.github.com/repos/NeuroVault/NeuroVault/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/NeuroVault/NeuroVault/issues/183/comments","events_url":"https://api.github.com/repos/NeuroVault/NeuroVault/issues/183/events","html_url":"https://github.com/NeuroVault/NeuroVault/issues/183","id":65106255,"number":183,"title":"Bug when uploading many images from folder","user":{"login":"vsoch","id":814322,"avatar_url":"https://avatars.githubusercontent.com/u/814322?v=3","gravatar_id":"","url":"https://api.github.com/users/vsoch","html_url":"https://github.com/vsoch","followers_url":"https://api.github.com/users/vsoch/followers","following_url":"https://api.github.com/users/vsoch/following{/other_user}","gists_url":"https://api.github.com/users/vsoch/gists{/gist_id}","starred_url":"https://api.github.com/users/vsoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsoch/subscriptions","organizations_url":"https://api.github.com/users/vsoch/orgs","repos_url":"https://api.github.com/users/vsoch/repos","events_url":"https://api.github.com/users/vsoch/events{/privacy}","received_events_url":"https://api.github.com/users/vsoch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NeuroVault/NeuroVault/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-29T23:17:28Z","updated_at":"2015-03-29T23:50:59Z","closed_at":null,"body":"I haven't figured out what is causing this, but when I upload many image in a folder (and this happened previously when I was uploading HCP maps), it only uploads a partial set of the total, and then I have to add the others again. Now that we have brain glass image generation and score generation, this would mean the images and transformations do not get calculated either (as just happened for me). When I upload a smaller number, everything seems to work ok. This could be why there is weirdness with the image counter, if there are images in the database that were uploaded in this fashion that didn't get their pearson scores calculated."},"comment":{"url":"https://api.github.com/repos/NeuroVault/NeuroVault/issues/comments/87498753","html_url":"https://github.com/NeuroVault/NeuroVault/issues/183#issuecomment-87498753","issue_url":"https://api.github.com/repos/NeuroVault/NeuroVault/issues/183","id":87498753,"user":{"login":"vsoch","id":814322,"avatar_url":"https://avatars.githubusercontent.com/u/814322?v=3","gravatar_id":"","url":"https://api.github.com/users/vsoch","html_url":"https://github.com/vsoch","followers_url":"https://api.github.com/users/vsoch/followers","following_url":"https://api.github.com/users/vsoch/following{/other_user}","gists_url":"https://api.github.com/users/vsoch/gists{/gist_id}","starred_url":"https://api.github.com/users/vsoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsoch/subscriptions","organizations_url":"https://api.github.com/users/vsoch/orgs","repos_url":"https://api.github.com/users/vsoch/repos","events_url":"https://api.github.com/users/vsoch/events{/privacy}","received_events_url":"https://api.github.com/users/vsoch/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T23:50:59Z","updated_at":"2015-03-29T23:50:59Z","body":"[zip file](http://www.vbmis.com/bmi/share/chris/data/group_maps.zip)\r\n\r\nFor the folder zipped above, it stopped at 24 for me, and this is on vagrant but the first time I noticed was for neurovault.org.  I think I know what might be the issue - when I look in the image_data folder, there are 24 brain maps but only 23 brain glass images. I suspect the upload stops if there is an error along the way, even if there is no obvious notification.  I say this because once I was uploading two images, and it stopped after only uploading one, and there were no brain glass images or pickle transforms.  I looked at the script and saw that I forgot to import the function for the task, which means that the upload must have started, stopped/caught the error, and then nothing happened beyond that.\r\n \r\n[bug](http://www.vbmis.com/bmi/share/chris/data/bug.png)"}}