rmview
rmview copied to clipboard
Fix screenshare in Remarkable 3.11
Hello folks, my Remarkable just got updated and the Screenshare got in a failing loop with the followign error:
[INFO] received timestamp challenge 1714161646899
Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/twisted/python/log.py", line 80, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/local/lib/python3.10/dist-packages/twisted/python/context.py", line 117, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/local/lib/python3.10/dist-packages/twisted/python/context.py", line 82, in callWithContext
return func(*args, **kw)
File "/usr/local/lib/python3.10/dist-packages/twisted/internet/posixbase.py", line 482, in _doReadOrWrite
why = selectable.doRead()
--- <exception caught here> ---
File "/usr/local/lib/python3.10/dist-packages/twisted/internet/udp.py", line 254, in doRead
self.protocol.datagramReceived(data, addr)
File "/usr/local/lib/python3.10/dist-packages/rmview/screenstream/screenshare.py", line 46, in datagramReceived
if not self.callback(timestamp):
File "/usr/local/lib/python3.10/dist-packages/rmview/screenstream/screenshare.py", line 120, in runVnc
userId = self.get_userid()
File "/usr/local/lib/python3.10/dist-packages/rmview/screenstream/screenshare.py", line 101, in get_userid
with sftp.file('/etc/remarkable.conf') as f:
File "/usr/lib/python3/dist-packages/paramiko/sftp_client.py", line 372, in open
t, msg = self._request(CMD_OPEN, filename, imode, attrblock)
File "/usr/lib/python3/dist-packages/paramiko/sftp_client.py", line 822, in _request
return self._read_response(num)
File "/usr/lib/python3/dist-packages/paramiko/sftp_client.py", line 874, in _read_response
self._convert_status(msg)
File "/usr/lib/python3/dist-packages/paramiko/sftp_client.py", line 903, in _convert_status
raise IOError(errno.ENOENT, text)
builtins.FileNotFoundError: [Errno 2] No such file
Seems like the /etc/remarkable.conf file is moved to /home/root/.config/remarkable/xochitl.conf in version 3.11.