Open thiswillbeyourgithub opened 3 months ago
And here's the output for "Export":
Observed the same behaviour with a 40-page document just now. Alas, I cannot pull logs from my phone at the moment...
App version 3.2.1 according to changelog Server version 2.11.0
Cannot seem to copy all logs from today out of the app, unfortunately... It seems to copy only half and the "download" button doesn't appear to work either :(
What happened?
I scanned a 50 pages documents, when clicking upload the app crashed (went straight back to the android home) and since then, when I open the app I can see the images fine, if I click on it I can even display it in full so the image are loaded somewhere) but clicking on "Upload" or "Export" does nothing else than adding an error to the log.
Steps to reproduce
Log output from the app
expand
``` Here's the log output for clicking on "Upload": 2024-04-11 14:11:30.537 DEBUG --- [ AuthenticationCubit] - restoreSession : Trying to restore previous session... 2024-04-11 14:11:30.538 DEBUG --- [ AuthenticationCubit] - restoreSession : Verifying user identity... 2024-04-11 14:11:30.546 INFO --- [ ] - : Setting refresh rate to 60.000003814697266 2024-04-11 14:11:38.824 DEBUG --- [ AuthenticationCubit] - restoreSession : Identity successfully verified. 2024-04-11 14:11:38.824 DEBUG --- [ AuthenticationCubit] - restoreSession : Reading encrypted credentials... 2024-04-11 14:11:39.246 DEBUG --- [ AuthenticationCubit] - restoreSession : Credentials successfully retrieved. 2024-04-11 14:11:39.246 DEBUG --- [ AuthenticationCubit] - restoreSession : Updating security context... 2024-04-11 14:11:39.246 DEBUG --- [ AuthenticationCubit] - restoreSession : Security context successfully updated. 2024-04-11 14:11:39.294 DEBUG --- [ AuthenticationCubit] - restoreSession : Trying to update remote paperless user... 2024-04-11 14:11:39.294 DEBUG --- [ AuthenticationCubit] - _getApiVersion : Trying to fetch API version... 2024-04-11 14:11:39.466 WARNING --- [ AuthenticationCubit] - _getApiVersion : The server is running a newer API version (5) than the app supports (v3), falling back to latest supported version (v3). Warning: This might lead to unexpected behavior! 2024-04-11 14:11:39.466 DEBUG --- [ AuthenticationCubit] - _getApiVersion : Successfully retrieved API version (3). 2024-04-11 14:11:39.466 DEBUG --- [ AuthenticationCubit] - _updateRemoteUser : Trying to update remote user object... 2024-04-11 14:11:39.568 DEBUG --- [ AuthenticationCubit] - _updateRemoteUser : Successfully updated remote user object. 2024-04-11 14:11:39.568 DEBUG --- [ AuthenticationCubit] - restoreSession : Successfully updated remote paperless user. 2024-04-11 14:11:39.569 DEBUG --- [ AuthenticationCubit] - restoreSession : Previous session successfully restored. 2024-04-11 14:11:39.579 DEBUG --- [ LabelRepository] - findAllTags : Loading all tags... 2024-04-11 14:11:39.579 INFO --- [ InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox... 2024-04-11 14:11:39.778 DEBUG --- [ LabelRepository] - findAllTags : Successfully updated all tags. 2024-04-11 14:11:39.895 INFO --- [ InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox. 2024-04-11 14:11:39.895 DEBUG --- [ LabelRepository] - findAllTags : Loading all tags... 2024-04-11 14:11:39.956 DEBUG --- [ LabelRepository] - findAllTags : Successfully updated all tags. 2024-04-11 14:11:40.575 DEBUG --- [ DocumentScannerCubit] - initialize : Restoring scans... 2024-04-11 14:11:40.614 DEBUG --- [ DocumentScannerCubit] - initialize : Restored 0 scans. 2024-04-11 14:11:58.003 ERROR --- [ ] - main : An unexpected error occurred ---BEGIN ERROR--- file not in PDF format or corrupted ---END ERROR--- ---BEGIN STACKTRACE--- ---END STACKTRACE--- 2024-04-11 14:12:22.826 INFO --- [ InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox... 2024-04-11 14:12:22.994 INFO --- [ InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox. 2024-04-11 14:13:17.189 ERROR --- [ ] - main : An unexpected error occurred ---BEGIN ERROR--- file not in PDF format or corrupted ---END ERROR--- ---BEGIN STACKTRACE--- ---END STACKTRACE--- 2024-04-11 14:13:25.242 DEBUG --- [ LabelRepository] - findAllTags : Loading all tags... 2024-04-11 14:13:25.415 DEBUG --- [ LabelRepository] - findAllTags : Successfully updated all tags. 2024-04-11 14:13:44.984 INFO --- [ InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox... 2024-04-11 14:13:45.157 INFO --- [ InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox. 2024-04-11 14:13:51.127 INFO --- [ DocumentEditCubit] - loadFieldSuggestions : Loading suggestions for document 363... 2024-04-11 14:13:51.748 INFO --- [ DocumentEditCubit] - loadFieldSuggestions : Found 3 suggestions for document 363. 2024-04-11 14:14:06.014 DEBUG --- [ LabelRepository] - findAllTags : Loading all tags... 2024-04-11 14:14:06.157 DEBUG --- [ LabelRepository] - findAllTags : Successfully updated all tags. 2024-04-11 14:14:14.990 INFO --- [ InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox... 2024-04-11 14:14:15.129 INFO --- [ InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox. 2024-04-11 14:14:49.098 ERROR --- [ ] - main : An unexpected error occurred ---BEGIN ERROR--- file not in PDF format or corrupted ---END ERROR--- ---BEGIN STACKTRACE--- ---END STACKTRACE--- 2024-04-11 14:15:08.541 ERROR --- [ ] - main : An unexpected error occurred ---BEGIN ERROR--- file not in PDF format or corrupted ---END ERROR--- ---BEGIN STACKTRACE--- ---END STACKTRACE--- 2024-04-11 14:15:27.915 ERROR --- [ ] - main : An unexpected error occurred ---BEGIN ERROR--- file not in PDF format or corrupted ---END ERROR--- ---BEGIN STACKTRACE--- ---END STACKTRACE--- 2024-04-11 14:15:47.038 ERROR --- [ ] - main : An unexpected error occurred ---BEGIN ERROR--- file not in PDF format or corrupted ---END ERROR--- ---BEGIN STACKTRACE--- ---END STACKTRACE--- 2024-04-11 14:16:07.979 ERROR --- [ ] - main : An unexpected error occurred ---BEGIN ERROR--- file not in PDF format or corrupted ---END ERROR--- ---BEGIN STACKTRACE--- ---END STACKTRACE--- 2024-04-11 14:17:03.091 ERROR --- [ ] - main : An unexpected error occurred ---BEGIN ERROR--- file not in PDF format or corrupted ---END ERROR--- ---BEGIN STACKTRACE--- ---END STACKTRACE--- 2024-04-11 14:17:28.459 ERROR --- [ ] - main : An unexpected error occurred ---BEGIN ERROR--- file not in PDF format or corrupted ---END ERROR--- ---BEGIN STACKTRACE--- ---END STACKTRACE--- 2024-04-11 14:17:52.825 ERROR --- [ ] - main : An unexpected error occurred ---BEGIN ERROR--- file not in PDF format or corrupted ---END ERROR--- ---BEGIN STACKTRACE--- ---END STACKTRACE--- 2024-04-11 14:18:05.413 ERROR --- [ ] - main : An unexpected error occurred ---BEGIN ERROR--- file not in PDF format or corrupted ---END ERROR--- ---BEGIN STACKTRACE--- ---END STACKTRACE--- 2024-04-11 14:18:56.840 ERROR --- [ ] - main : An unexpected error occurred ---BEGIN ERROR--- file not in PDF format or corrupted ---END ERROR--- ---BEGIN STACKTRACE--- ---END STACKTRACE--- 2024-04-11 14:19:21.362 INFO --- [ InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox... 2024-04-11 14:19:21.485 INFO --- [ InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox. 2024-04-11 14:19:30.811 ERROR --- [ ] - main : An unexpected error occurred ---BEGIN ERROR--- file not in PDF format or corrupted ---END ERROR--- ---BEGIN STACKTRACE--- ---END STACKTRACE--- 2024-04-11 14:19:52.169 ERROR --- [ ] - main : An unexpected error occurred ---BEGIN ERROR--- Unsupported operation: Cannot remove from an unmodifiable list ---END ERROR--- ---BEGIN STACKTRACE--- #0 UnmodifiableListMixin.remove (dart:_internal/list.dart:134) #1 DocumentScannerCubit.removeScan (package:paperless_mobile/features/document_scan/cubit/document_scanner_cubit.dart:67)Screenshots
No response
Paperless-ng*x Version
2.7.2
Paperless-Mobile Version
3.2.1
Device
Pixel 4a
Operating System Version
Android on graphene OS
Device Locale
english
Selected Locale
None
Additional Context
No response