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

File not found error #6

Open
jwittke opened this issue Dec 4, 2018 · 2 comments
Open

File not found error #6

jwittke opened this issue Dec 4, 2018 · 2 comments

Comments

@jwittke
Copy link

jwittke commented Dec 4, 2018

Hi,
Trying your script generates some errors:

Password:
Traceback (most recent call last):
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/remarkable_fs/documents.py", line 291, in load_node_without_linking
node = cls(self, id, metadata)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/remarkable_fs/documents.py", line 356, in init
self._size = self.root.sftp.stat(self.id + "." + self.file_type("lines")).st_size
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 493, in stat
t, msg = self._request(CMD_STAT, path)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 813, in _request
return self._read_response(num)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 865, in _read_response
self._convert_status(msg)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 894, in _convert_status
raise IOError(errno.ENOENT, text)
FileNotFoundError: [Errno 2] No such file
Reading document information |######## | 3/11Traceback (most recent call last):
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/remarkable_fs/documents.py", line 291, in load_node_without_linking
node = cls(self, id, metadata)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/remarkable_fs/documents.py", line 356, in init
self._size = self.root.sftp.stat(self.id + "." + self.file_type("lines")).st_size
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 493, in stat
t, msg = self._request(CMD_STAT, path)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 813, in _request
return self._read_response(num)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 865, in _read_response
self._convert_status(msg)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 894, in _convert_status
raise IOError(errno.ENOENT, text)
FileNotFoundError: [Errno 2] No such file
Reading document information |########### | 4/11Traceback (most recent call last):
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/remarkable_fs/documents.py", line 291, in load_node_without_linking
node = cls(self, id, metadata)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/remarkable_fs/documents.py", line 356, in init
self._size = self.root.sftp.stat(self.id + "." + self.file_type("lines")).st_size
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 493, in stat
t, msg = self._request(CMD_STAT, path)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 813, in _request
return self._read_response(num)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 865, in _read_response
self._convert_status(msg)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 894, in _convert_status
raise IOError(errno.ENOENT, text)
FileNotFoundError: [Errno 2] No such file
Reading document information |################# | 6/11Traceback (most recent call last):
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/remarkable_fs/documents.py", line 291, in load_node_without_linking
node = cls(self, id, metadata)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/remarkable_fs/documents.py", line 356, in init
self._size = self.root.sftp.stat(self.id + "." + self.file_type("lines")).st_size
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 493, in stat
t, msg = self._request(CMD_STAT, path)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 813, in _request
return self._read_response(num)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 865, in _read_response
self._convert_status(msg)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 894, in _convert_status
raise IOError(errno.ENOENT, text)
FileNotFoundError: [Errno 2] No such file
Reading document information |############################# | 10/11Traceback (most recent call last):
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/remarkable_fs/documents.py", line 291, in load_node_without_linking
node = cls(self, id, metadata)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/remarkable_fs/documents.py", line 356, in init
self._size = self.root.sftp.stat(self.id + "." + self.file_type("lines")).st_size
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 493, in stat
t, msg = self._request(CMD_STAT, path)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 813, in _request
return self._read_response(num)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 865, in _read_response
self._convert_status(msg)
File "/home/jwittke/anaconda3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 894, in _convert_status
raise IOError(errno.ENOENT, text)
FileNotFoundError: [Errno 2] No such file
Reading document information |################################| 11/11
Now serving documents at /home/jwittke/Desktop/ReMarkable

When he starts to serve the documents nothings happens and I need to Ctrl-C the script to quit.

I use the new Remakable OS: 1.6.0.6

@gregeh552
Copy link

gregeh552 commented Dec 28, 2018

Same for me on Mac OSX, however the RM is still mounted as a volume and it works except for big documents
bildschirmfoto 2018-12-28 um 14 59 00

lonetwin added a commit to lonetwin/remarkable-fs that referenced this issue Mar 18, 2020
This works around the problem reported issue nick8325#6

The problem exists because reMarkable changed the way the format of their
notebook format. This patchset simply ignores the notebooks for now.

I'll try to submit a newer patchset to correctly handle the notebook files
soon.
@bhirsch42
Copy link

I'm having this issue with an M1 Macbook and the Remarkable 2.

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

3 participants