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

Unable to screen share with os version 3.11.2.5 #161

Open
pretentious7 opened this issue May 3, 2024 · 3 comments
Open

Unable to screen share with os version 3.11.2.5 #161

pretentious7 opened this issue May 3, 2024 · 3 comments

Comments

@pretentious7
Copy link

I see the following error when attempting to screen share with the most recent remarkable update (v3.11.2.5)


2024-05-02 17:20:48-0400 [ChallengeReaderProtocol (UDP)] Unhandled Error
        Traceback (most recent call last):
          File "/gnu/store/sq79cvyszh7dr9v36sg1d9k8w97xck4v-profile/lib/python3.10/site-packages/twisted/python/log.py", line 86, in callWithContext
            return context.call({ILogContext: newCtx}, func, *args, **kw)
          File "/gnu/store/sq79cvyszh7dr9v36sg1d9k8w97xck4v-profile/lib/python3.10/site-packages/twisted/python/context.py", line 122, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args, **kw)
          File "/gnu/store/sq79cvyszh7dr9v36sg1d9k8w97xck4v-profile/lib/python3.10/site-packages/twisted/python/context.py", line 85, in callWithContext
            return func(*args,**kw)
          File "/gnu/store/sq79cvyszh7dr9v36sg1d9k8w97xck4v-profile/lib/python3.10/site-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
            why = selectable.doRead()
        --- <exception caught here> ---
          File "/gnu/store/sq79cvyszh7dr9v36sg1d9k8w97xck4v-profile/lib/python3.10/site-packages/twisted/internet/udp.py", line 249, in doRead
            self.protocol.datagramReceived(data, addr)
          File "/home/abhishek/workbench/rmview/src/rmview/screenstream/screenshare.py", line 46, in datagramReceived
            if not self.callback(timestamp):
          File "/home/abhishek/workbench/rmview/src/rmview/screenstream/screenshare.py", line 119, in runVnc
            userId = self.get_userid()
          File "/home/abhishek/workbench/rmview/src/rmview/screenstream/screenshare.py", line 100, in get_userid
            with sftp.file('/etc/remarkable.conf') as f:
          File "/home/abhishek/.local/lib/python3.10/site-packages/paramiko/sftp_client.py", line 372, in open
            t, msg = self._request(CMD_OPEN, filename, imode, attrblock)
          File "/home/abhishek/.local/lib/python3.10/site-packages/paramiko/sftp_client.py", line 822, in _request
            return self._read_response(num)
          File "/home/abhishek/.local/lib/python3.10/site-packages/paramiko/sftp_client.py", line 874, in _read_response
            self._convert_status(msg)
          File "/home/abhishek/.local/lib/python3.10/site-packages/paramiko/sftp_client.py", line 903, in _convert_status
            raise IOError(errno.ENOENT, text)
        builtins.FileNotFoundError: [Errno 2] No such file

Going to investigate further this weekend.

@Lavode
Copy link

Lavode commented May 3, 2024

One of the on-device config files (formerly /etc/remarkable.conf) was moved to another location, leading to rmview failing to find it. There's a PR with initial work on fixing it here: #159

@madanh
Copy link

madanh commented May 10, 2024

I just symlinked the file and it worked!

@gladysz-piotr
Copy link

You can simply change the path to the "/home/root/.config/remarkable/xochitl.conf" in line 100 in screenshare.py
It works for me.

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

4 participants