-
Notifications
You must be signed in to change notification settings - Fork 3
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
rmbackup - 408 request timeout when downloading pdf #5
Comments
How much time passes between Is this a case where the script works okay until a certain point, and then after that every PDF transfer mails? Or is it only failing for certain files, like maybe large files, but working correctly for smaller files? How big are the files it's having trouble downloading? What size does the web interface show for them? Also, it looks like the built-in web interface is having problems. That "string did not match the expected pattern" message is ... really strange. It might be worth contacting reMarkable about that part of it. I'm going to guess their response will be to upgrade to the latest version of the tablet software - and to be honest, that would also be my first suggestion as well. (Although I deliberately stopped upgrading my tablets at version 3.10, because I didn't want to lose the ability to downgrade the software later on, and because I haven't had time to figure out how the new upgrade mechanism works yet.) |
I tried again with the same files, but after having updated to 3.14. Here's what happened:
What's interesting is that when I try to download as PDF this same file from the web interface, it fails silently (no error in UI nor in the console). Then if I reload the web interface, I get an error "408 request timeout".
I did just that, following these directions: Jayy001/codexctl#95 (comment). |
I sync'd the file that was "cloud-only" to the device, via the tablet. I ran the script again, and it worked perfectly for that file. The script then failed with another file which is also cloud-only. Seems like an issue of the web interface with cloud-only files. |
It sounds like the problem is that, because the documents are "archived in the cloud", their content isn't actually IN your tablet. Other guesses, based on this (and please tell me if I'm right about thse) ...
The script works by using If a document is "archived in the cloud", I'm guessing it means that some metadata is on the tablet, but not the files which contain its contents. The I'd like to figure out how to recognize when a document is "cloud-only", so I can make the script (1) not create Part of the problem with this is, I have no way to duplicate what you're seeing. I've never used the reMarkable cloud, mostly for privacy reasons. However, because the script writes Is there a way you can send me some of these files, so I can figure out what they contain (and therefore what the tablet contains) for these "cloud-only" documents? I'll be able to use this information, not only to fix this script, but possibly to also fix rmweb (a Golang program which downloads PDF and My preference would be to use Keybase - if you're also using Keybase, just save the files in in Thanks again for telling me about this, the truth is that because I don't use the cloud service, it has never been a factor in writing my programs - and that needs to change. |
The presence of the Is it safe to assume that there's also a Also, you said you stored some files in Keybase - where specifically? I don't see any new Finally, I want to thank you for working with me to troubleshoot this. It's rare to see an end-user who's both willing and able to actively help me troubleshoot an issue. (I wish the users at |
Okay, so the As for Keybase ... once I knew the name of the directory to In the directory I see |
That's because there's no file: the download failed for both formats, cf. previous comment. |
I just pushed a new version of the script. It checks for the This means that if a file was backed up with this script and later "archived to the cloud", the last good local files will still exist in your backup directory. I did a quick test by manually creating a |
This script doesn't download It should have created an You may want to check your (Also, I didn't realize that Github allows the owner of a normal repo to edit other peoples' comments. I'm used to editing my own comments for |
The alternate colour is a good idea, however I'm already using yellow for debug messages. I went with cyan instead. The "wide character" message is probably because you have a non-ASCII character in a document's visible name. It took some trickery, but I was able to manually rename a document to have Korean characters in the name by editing the
Luckily, the macOS "character picker" makes it easy to find the right code points. I just pushed an |
It's great, thank you! |
I set up rmbackup to create
.rmdoc
and download.pdf
files.When doing a backup (total of about 290 notebooks), all of them are available as
.rmdoc
, but only ~120 of them have been downloaded as pdf.The log shows:
Tablet is on 3.11.2.5, plugged in via USB, SSH key installed, web interface enabled and accessible via http://10.11.99.1 (even though it sometimes shows an error "Unable to list documents: The string did not match the expected pattern", but refreshing the page works).
The text was updated successfully, but these errors were encountered: