-
Notifications
You must be signed in to change notification settings - Fork 107
Documents tree build fails every time #296
Comments
@fe-dox Running rmapi with I'm not familiar with the reMarkable interface (I just stumbled upon this project today), but I'm assuming the blank line is a bug on reMarkable's side, so I would expect something like the following to be a fix (albeit hacky). I'll let one of the maintainers comment on that assumption though.
|
seems that the index file is empty or the format changed. what version of the sw are you running |
To me it does look like there could be a bug in the file sent by ReMarkable. Here's the end of a trace with Filenames and URLs edited for privacy. Metadata left untouched
Looks like it can get notebooks, but at some point it fails to parse one. Either RM is sending nonsensical data sometimes, or there's an unhandled case here. |
without the acutal index file, can't really say, either there is an empty line at the end, which would be ok and can be handled, or an empty line somewhere between which would be strange. |
What exact file do you mean by the
Edited away details again
Do note, the last line is empty, if that's what you mean. |
the index file is something like 3 one of the other requests |
I'm also seeing this, running on Ubuntu 22.04.2, having downloaded v0.0.25. Some of the last errors I see with the RMAPI_TRACE=1 are :
If there's any other info that would be helpful to debug this issue, please let me know -- happy to recreate. |
Fresh install of ubuntu, internet connectivity present.
./rmapi
Enter one-time code (go to https://my.remarkable.com/device/desktop/connect): <code>
ERROR: 2023/03/07 16:33:28 main.go:77: failed to build documents tree, last error: cant parse line '', wrong number of fields 0
It happens every time I try, on different devices too
The text was updated successfully, but these errors were encountered: