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

rmapy error when reading the .rmapi directory #5

Open
adaptiman opened this issue Sep 20, 2024 · 0 comments
Open

rmapy error when reading the .rmapi directory #5

adaptiman opened this issue Sep 20, 2024 · 0 comments

Comments

@adaptiman
Copy link
Contributor

When executing the program with both Docker and Python methods, I get the following stack-trace and error. It appears that rmapy is trying to read '/home/appuser/.rmapi as a file rather than the directory that it is. Here's the stack trace:

`Traceback (most recent call last):
File "/home/appuser/main.py", line 242, in
main(args)
File "/home/appuser/main.py", line 47, in main
raise e
File "/home/appuser/main.py", line 42, in main
rm = Remarkable()
File "/home/appuser/remarkable.py", line 13, in init
self.shim = Client()
File "/base/.venv/lib/python3.10/site-packages/rmapy/api.py", line 39, in init
config = load()
File "/base/.venv/lib/python3.10/site-packages/rmapy/config.py", line 14, in load
with open(config_file_path, 'r') as config_file:

IsADirectoryError: [Errno 21] Is a directory: '/home/appuser/.rmapi'
`

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