Skip to content
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

PDF 0kb #302

Open
blackorpheus opened this issue Apr 18, 2024 · 2 comments
Open

PDF 0kb #302

blackorpheus opened this issue Apr 18, 2024 · 2 comments

Comments

@blackorpheus
Copy link

Hi,
I've managed to get connection between the device and a local cloud, thanks to your docs and forum help. I can see the files in the cloud side, but now the pdf are blank when I download them, same with webdav.
I'm using version 3.10.2.2063 on RM2

It seems to be a pdf conversion error:

Apr 18 10:46:49 reMarkable xochitl[2427]: 10:46:49.223 rm.docworker -> worker on 9617d67f-4c8e-4f7b-bdc4-c63e5d94a4d1 now exiting (run /home/runner/work/xochitl/xochitl/src/worker/src/documentworker.cpp:1158)
Apr 18 10:47:42 reMarkable xochitl[2427]: 10:47:42.975 rm.document.entry Updating format version to: 2 (setFormatVersion /home/runner/work/xochitl/xochitl/src/entry/src/document.cpp:1263)
Apr 18 10:47:43 reMarkable xochitl[2427]: 10:47:43.001 rm.docworker -> worker on 8694da96-0933-4e4d-84d4-1592c89d56cd now running
Apr 18 10:47:43 reMarkable xochitl[2427]: 10:47:43.001 default Factory: unknown key ''
Apr 18 10:47:43 reMarkable xochitl[2427]: 10:47:43.002 rm.docworker no renderer possible for file type:
Apr 18 10:47:43 reMarkable xochitl[2427]: 10:47:43.004 rm.docworker loaded pageId=8334c25f-770c-4aaa-acb6-2476df6cb29e - no file found (loadLinesForPageUnprotected /home/runner/work/xochitl/xochitl/src/worker/src/documentworker.cpp:1988)
Apr 18 10:47:43 reMarkable xochitl[2427]: 10:47:43.072 rm.documentlockmanager Opening document in unlocked mode: 8694da96-0933-4e4d-84d4-1592c89d56cd (setDocument /home/runner/work/xochitl/xochitl/src/entry/src/documentlockmanager.cpp:52)
Apr 18 10:47:43 reMarkable xochitl[2427]: 10:47:43.340 rm.epaperkeyboardhandler No keymap set by QT settings or firmware, defaulting to US.
Apr 18 10:47:43 reMarkable xochitl[2427]: 10:47:43.341 rm.epaperkeyboardhandler No keymap set by QT settings or firmware, defaulting to US.
Apr 18 10:47:57 reMarkable xochitl[2427]: 10:47:57.976 default Document::hasPageTags:Invalid pageNumber
Apr 18 10:47:58 reMarkable xochitl[2427]: 10:47:58.133 rm.epaperkeyboardhandler No keymap set by QT settings or firmware, defaulting to US.
Apr 18 10:47:58 reMarkable xochitl[2427]: 10:47:58.134 rm.epaperkeyboardhandler No keymap set by QT settings or firmware, defaulting to US.
Apr 18 10:47:58 reMarkable xochitl[2427]: 10:47:58.320 rm.docworker -> worker on 8694da96-0933-4e4d-84d4-1592c89d56cd now exiting (run /home/runner/work/xochitl/xochitl/src/worker/src/documentworker.cpp:1158)

@Eeems
Copy link
Contributor

Eeems commented Apr 18, 2024

This appears to be a duplicate of #255

@blackorpheus
Copy link
Author

Oh yes thanks, I guessed it was another issue, I didn't get the notion of "rendering".
I downgraded to 2.15 and it works fine exept for integration: I still have 0kb files:

message from the cloud side:

mai 02 15:26:34 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:34+02:00" level=info msg="[auth-middleware] UserId: maik deviceId: RM110-411-35112 newSync: true"
mai 02 15:26:34 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:34+02:00" level=info msg=uploading...
mai 02 15:26:35 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:35+02:00" level=info msg="[GIN] 2024/05/02 - 15:26:35 | 200 |  1.840220014s |   192.168.8.140 | POST     \"/integrations/v1/fLAME8YBm5uFJ89GKRAFkGjk7hJw0heow045kfhc/files/root?name=01.24%20Kelemen%20EB&fileType=pdf\""
mai 02 15:26:36 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:36+02:00" level=info msg="[auth-middleware] UserId: maik deviceId: RM110-411-35112 newSync: true"
mai 02 15:26:36 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:36+02:00" level=info msg="[webdav] query for: / depth: 1"
mai 02 15:26:36 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:36+02:00" level=info msg="[GIN] 2024/05/02 - 15:26:36 | 200 |  799.817816ms |   192.168.8.140 | GET      \"/integrations/v1/fLAME8YBm5uFJ89GKRAFkGjk7hJw0heow045kfhc/folders/root?folderDepth=1\""
mai 02 15:26:36 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:36+02:00" level=info msg="[auth-middleware] UserId: maik deviceId: RM110-411-35112 newSync: true"
mai 02 15:26:36 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:36+02:00" level=info msg="[GIN] 2024/05/02 - 15:26:36 | 200 |     451.381µs |   192.168.8.140 | GET      \"/integrations/v1/fLAME8YBm5uFJ89GKRAFkGjk7hJw0heow045kfhc/files/LzAxMjQgS2VsZW1lbiBFQi5wZGY=/metadata\""
mai 02 15:30:09 Djoun rmfakecloud[46126]: time="2024-05-02T15:30:09+02:00" level=info msg="/post?token=23d95339495f0aa01b329d7aed8034c5ae199e11a546abfb593437f5f3c45b02&format=minidump&builddate=2022-10-26T10:40:59Z&osversion=2.15.1.1189&uname.version=3.1.35-2%20Linux%205.4.70-v1.2.5-rm11x%20%231%20SMP%20PREEMPT%20Sun%20Oct%2023%2020:48:32%20UTC%202022%20GNU/Linux%0A&deviceid=RM110-411-35112&crashtime=2024-05-02T09:32:14"
mai 02 15:30:09 Djoun rmfakecloud[46126]: time="2024-05-02T15:30:09+02:00" level=info msg="[GIN] 2024/05/02 - 15:30:09 | 404 |     184.056µs |   192.168.8.140 | POST     \"/post?token=23d95339495f0aa01b329d7aed8034c5ae199e11a546abfb593437f5f3c45b02&format=minidump&builddate=2022-10-26T10:40:59Z&osversion=2.15.1.1189&uname.version=3.1.35-2%20Linux%205.4.70-v1.2.5-rm11x%20%231%20SMP%20PREEMPT%20Sun%20Oct%2023%2020:48:32%20UTC%202022%20GNU/Linux%0A&deviceid=RM110-411-35112&crashtime=2024-05-02T09:32:14\""
mai 02 15:35:09 Djoun rmfakecloud[46126]: time="2024-05-02T15:35:09+02:00" level=info msg="/post?token=23d95339495f0aa01b329d7aed8034c5ae199e11a546abfb593437f5f3c45b02&format=minidump&builddate=2022-10-26T10:40:59Z&osversion=2.15.1.1189&uname.version=3.1.35-2%20Linux%205.4.70-v1.2.5-rm11x%20%231%20SMP%20PREEMPT%20Sun%20Oct%2023%2020:48:32%20UTC%202022%20GNU/Linux%0A&deviceid=RM110-411-35112&crashtime=2024-05-02T09:32:14"
mai 02 15:35:09 Djoun rmfakecloud[46126]: time="2024-05-02T15:35:09+02:00" level=info msg="[GIN] 2024/05/02 - 15:35:09 | 404 |     180.097µs |   192.168.8.140 | POST     \"/post?token=23d95339495f0aa01b329d7aed8034c5ae199e11a546abfb593437f5f3c45b02&format=minidump&builddate=2022-10-26T10:40:59Z&osversion=2.15.1.1189&uname.version=3.1.35-2%20Linux%205.4.70-v1.2.5-rm11x%20%231%20SMP%20PREEMPT%20Sun%20Oct%2023%2020:48:32%20UTC%202022%20GNU/Linux%0A&deviceid=RM110-411-35112&crashtime=2024-05-02T09:32:14\""
mai 02 15:40:08 Djoun rmfakecloud[46126]: time="2024-05-02T15:40:08+02:00" level=info msg="/post?token=23d95339495f0aa01b329d7aed8034c5ae199e11a546abfb593437f5f3c45b02&format=minidump&builddate=2022-10-26T10:40:59Z&osversion=2.15.1.1189&uname.version=3.1.35-2%20Linux%205.4.70-v1.2.5-rm11x%20%231%20SMP%20PREEMPT%20Sun%20Oct%2023%2020:48:32%20UTC%202022%20GNU/Linux%0A&deviceid=RM110-411-35112&crashtime=2024-05-02T09:32:14"
mai 02 15:40:08 Djoun rmfakecloud[46126]: time="2024-05-02T15:40:08+02:00" level=info msg="[GIN] 2024/05/02 - 15:40:08 | 404 |     225.893µs |   192.168.8.140 | POST     \"/post?token=23d95339495f0aa01b329d7aed8034c5ae199e11a546abfb593437f5f3c45b02&format=minidump&builddate=2022-10-26T10:40:59Z&osversion=2.15.1.1189&uname.version=3.1.35-2%20Linux%205.4.70-v1.2.5-rm11x%20%231%20SMP%20PREEMPT%20Sun%20Oct%2023%2020:48:32%20UTC%202022%20GNU/Linux%0A&deviceid=RM110-411-35112&crashtime=2024-05-02T09:32:14\

and from the tablet:

May 02 13:26:32 reMarkable xochitl[10064]: 13:26:32.492 rm.docworker              -> worker on 30e98534-976e-4620-a252-555553cd0637 now running
May 02 13:26:32 reMarkable xochitl[10064]: 13:26:32.843 rm.docworker              -> worker on 30e98534-976e-4620-a252-555553cd0637 now exiting

No error on the nextcloud server side
On .userfile, I entered a random UUID as I don't know where to get it, should I do differently?

Thanks to all of contributors for that awsome work!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants