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

Getting stuck on reading files from MENDELEY_FOLDER_IN_REMARKABLE #6

Open
oberrauch opened this issue Sep 12, 2023 · 0 comments
Open

Comments

@oberrauch
Copy link

Somehow, the script gets stuck when reading the files from the reMarkable cloud. More precisely on following line executing the wait() function of the subprocess

ret = popen.wait()

This happens when there are too many files in the directory (not sure whether this relates to the number or size of files).
I "fixed" it by out-commenting the wait() call and the subsequent error check since the stdout.read() call returns the file list without issues. Also, the ls command executed in the rmapi console works without any issue.
I'm not sure what to do about it since I found a quick and dirty hack that works for my purposes. However, I thought I'd share it...

P.S.: I work with Python 3.8 on Windows 11 (yes, I know 🥸), and running Version 3.6 on the reMarkable

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

1 participant