papermerge
papermerge copied to clipboard
Unable to upload most PDFs
Description I am able to upload some PDFs, but most times when I upload, the upload never completes and I get an error. This occurs when I drag and drop onto any upload window or use the "upload" button. Sometimes I get an "error-missing input file" error in the upload modal.
Expected I expect the upload to complete.
Actual Upload doesn't complete. I get the following errors in the JS console:
Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at XMLHttpRequest.<anonymous> (papermerge.js:54)
(anonymous) @ papermerge.js:54
Failed to load resource: net::ERR_CONNECTION_ABORTED
Info:
- OS: Windows 10 and Mac OS Catalina
- Chrome
- Database Postgres 13.2
- Papermerge Version 1.5.5
@adamklaff, did you use docker image provided by linuxserver.io?
Yes. Should I post there? I realize you ask that up front but I wasn't sure how that image could cause this problem. Thanks.
On Mon, Mar 1, 2021 at 3:24 AM Eugen Ciur [email protected] wrote:
@adamklaff https://github.com/adamklaff, did you use docker image provided by linuxserver.io?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ciur/papermerge/issues/309#issuecomment-787873881, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARQJGKLKOIN3BG4N4DSVJLTBN2N3ANCNFSM4XZSCOZA .
I have the same issue. Is there any update? I'm using docker (official image) (Papermerge 2.0rc48) and Edge Chromium.
I cannot reproduce :( Please help me with more information about the issue. Does issue occur for all PDFs ? For specific ones ? For Windows OS only? Is it same for Firefox browser ? What about jpeg, png files - do they upload successfully ?
I cannot reproduce :( Please help me with more information about the issue. Does issue occur for all PDFs ? For specific ones ? For Windows OS only? Is it same for Firefox browser ? What about jpeg, png files - do they upload successfully ?
Hi, apologies for the late reply, I have missed the notification.
These are 2 PDFs that won't upload:
https://1drv.ms/u/s!AvUWNyiOClNSiN9h9c6uz_V3yN8fsA?e=hzoeQ3
Network console logs from firefox: network console logs.txt
They are both scanned, but at the same time other scanned documents are uploading just fine.
Same issue on Edge Chromium and Firefox (latest versions)
I just came across this myself and it was because it was a password protected PDF. It doesn't seem to be the same as others are seeing. But providing an api response for 500 error and surface in the UI might be helpful.
Same issue, getting 500 for some PDFs, but some uploads fine, can't find the pattern though
I started using papermerge today and I had the same issue. But this error does not seem to be bound to the pdf file itself, for me it happened when I dropped multiple files to papermerge, some uploaded, some didn't. However, if I dropped the files again as a single file the issue did not appear. Maybe it's an issue with the file sizes or request size?
System: MacOS Monterey Browser: Firefox 94