-
Notifications
You must be signed in to change notification settings - Fork 0
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
PNGs not uploading under consoladated batcch submit using xRayupload.py #158
Comments
Has this problem persisted? If so, could I get one of the zip files you tried so I can debug? Thanks, |
Greg, I uploaded both mi444 and mi449, both cases the images did not upload. Jack |
Jack, Thanks, |
Hi Jack, Can you please send these zip files to us either by emailing them to me at hintonn@purdue.edu or through github? If you already sent them we are not seeing them. Thanks, |
Jack, Changing that should allow the pictures to upload. If it doesn't, let me know and I'll debug further. -Greg |
Greg, Thank you for looking into this. I appreciate your time, this possibility never occurred to me when I was looking at it…. fresh eyes i guess. I will investigate this further with this information. Jack
|
Greg, Two of the file names where incorrect, the other two where correct. I will test the script this evening, but I think there is more to this.. I will let you know Jack
|
Greg, |
Greg maintains an example xml file here: http://www.physics.purdue.edu/cmsfpix/Submission_p/submit/example_xml.xml |
All, -Greg |
All, However, I have to stress that adding spaces, newline characters, and the like does in fact change the string. Any newlines or whitespace outside of the tags is fine, but inside of the tag the php reads each character explicitly. To avoid this type of thing from happening in the future, I strongly recommend that you remove these type of characters from your scripts. I considered adding a global trim to the xmls, but that could cause problems elsewhere, such as in notes or names that do include whitespace. Best, |
When I attempted to upload my data to the DB this afternoon, the text uploaded but the pngs did not.
The text was updated successfully, but these errors were encountered: