paperless-mobile
paperless-mobile copied to clipboard
[Bug]: Cannot upload Scans Error.
What happened?
When I scan an Paper witht he app and upload it, i get this error.:
Steps to reproduce
normal upload of pdf works only the scan app did not work Changed the upload to pdf no help.
Log output from the app
See Screenshot
Screenshots
No response
Paperless-ng*x Version
2.5.4
Paperless-Mobile Version
play store version
Device
samsung s22 ultra
Operating System Version
android 13
Device Locale
germand
Selected Locale
German
Additional Context
No response
It sounds like there might be a permission error. Let's ensure that both the document and the user have full permissions. Try granting all permissions to the document for the user, and also granting all permissions to the user.
The user of papermobile is superuser.
Please attempt to switch on/off the "Upload scans as PDF" option.
already testet it no success. one time i get an upload of an image only.
Mine is working fine.
great xD
still there the problem
Imagemagick was not probertly configured-
With this comment: https://github.com/paperless-ngx/paperless-ngx/issues/895#issuecomment-1471765429
an 2 pages upload will work only in jpeg format it is not possible.
push any fixes?
Sorry for the late reply, I currently have hardly any time to work on the project or fix bugs. I'll look into this as soon as I have more spare time again.
I have the same problem.
With the switch "Upload scans as PDF" on or off it is:
---BEGIN ERROR---
PathNotFoundException: Cannot open file, path = '/data/user/0/de.astubenbord.paperless_mobile/cache/scans/8fd9a790-37c4-1161-a471-adb3e84a1bd2.jpeg' (OS Error: No such file or directory, errno = 2)
---END ERROR---
---BEGIN STACKTRACE---
#0 _File.throwIfError (dart:io/file_impl.dart:675)
#1 _File.openSync (dart:io/file_impl.dart:490)
#2 _File.readAsBytesSync (dart:io/file_impl.dart:574)
#3 _ScannerPageState._assembleFileBytes (package:paperless_mobile/features/document_scan/view/scanner_page.dart:400)
#4 _ScannerPageState._onPrepareDocumentUpload (package:paperless_mobile/features/document_scan/view/scanner_page.dart:254)
#5 _ScannerPageState._buildActions.<anonymous closure>.<anonymous closure> (package:paperless_mobile/features/document_scan/view/scanner_page.dart:163)
#6 _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1183)
#7 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:275)
#8 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:652)
#9 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:309)
#10 BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:279)
#11 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:167)
#12 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:492)
#13 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:468)
#14 RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:439)
#15 GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:413)
#16 GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:376)
#17 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:323)
#18 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:292)
#19 _rootRunUnary (dart:async/zone.dart:1415)
#20 _CustomZone.runUnary (dart:async/zone.dart:1308)
#21 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217)
#22 _invoke1 (dart:ui/hooks.dart:330)
#23 PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:410)
#24 _dispatchPointerDataPacket (dart:ui/hooks.dart:262)
---END STACKTRACE---```
Android 8.1.0 Googlefree on Shift 6m