Multi-file zipped upload: lack of error information #5115
Comments
Author: TomH I'm not sure how the C importer handles this but certainly with the old rails importer this wasn't possible because it simply didn't know as it used unzip to concatenate all the files into one lump and then processed that. |
Author: TomH It looks like the C importer does process them file by file, but this would still need some work because the error report comes from a layer above the one that does the looping and the details of which file it was working on have been lost by the time we get there. |
Author: TomH If it helps I think 20100619_191607.gpx was probably the file that failed. |
Author: tupka Yes, failed file was 20100619_191607.gpx . After removing it archive have been imported ok. |
Author: TomH I don't know what's wrong with it because I haven't seen it! |
Author: tupka But how did you make a guess about the file that is causing a failure ? I uploaded 20100619_191607.gpx separately and it have been imported successfully. |
Author: TomH I guessed because I found your job in the server logs and they log each member of the archive as it is processed and that was the last one before it failed. The actual file is deleted once it fails, so I have not seen the actual file which is what would allow me to debug this. |
Author: tupka If it will help debugging, I can attach the original failing 2010.zip with 20100619_191607.gpx file to this ticket or provide it some other way. |
Author: TomH Please do attach it. |
Author: tupka Sorry, cannot do this because file size exceedes attachment limit |
Author: TomH Can you send it to tom[at]compton.nu then? |
Author: tupka Please tell me your full email address, I could not find out the last part of it |
Author: TomH Hmm... I can't see any sign of it in my mail, or in the logs on my mail server I'm afraid. |
Author: mmd This message was created for the old C based importer, which is no longer around. Closing here. If this still occurs with the Rails based imporer, please craete a new issueon Github. |
Reporter: tupka
[Submitted to the original trac issue database at 5.08am, Thursday, 6th February 2014]
I want to upload many gpx files in one zip archive.
After uploading I get following message on my email:
I checked all gpx files inside archive with xmllint, and sure that they are parsable. Also I've opened each of them in josm, and they opened and displayed ok.
Please include in error notification message the indication which file inside archive is errorneous.
The text was updated successfully, but these errors were encountered: