You are not logged in.
Hi everybody!
I've just found out I could browse reddit via terminal with rtv.
Installed it and copied the config
$ rtv --copy-config
/usr/lib/python3.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
Copying default config to /home/vb/.config/rtv/rtv.cfgWhen started it gave the same message but I was able to browse and read the threads on the front page and on the subreddit /r/archlinux
$ rtv
/usr/lib/python3.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)But when I tried to login with the u key I got this
rtv version: rtv 1.26.0
rtv module path: /usr/lib/python3.7/site-packages/rtv/__main__.py
python version: 3.7.3 (default, Mar 26 2019, 21:43:19) [GCC 8.2.1 20181127]
python executable: /usr/bin/python
praw version: packaged, commit 1656ec224e57
locale, encoding: LC_CTYPE=en_US.UTF-8;LC_NUMERIC=en_US.UTF-8;LC_TIME=en_US.UTF-8;LC_COLLATE=C;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=en_US.UTF-8;LC_ADDRESS=en_US.UTF-8;LC_TELEPHONE=en_US.UTF-8;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=en_US.UTF-8, UTF-8
Environment Variables
BROWSER :
DISPLAY : :0.0
EDITOR : nano
LANG : en_US.UTF-8
PAGER :
RTV_BROWSER :
RTV_EDITOR :
RTV_PAGER :
RTV_URLVIEWER :
TERM : xterm-256color
VISUAL : nano
XDG_CONFIG_HOME :
XDG_DATA_HOME :
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/rtv/__main__.py", line 255, in main
page = page.loop()
File "/usr/lib/python3.7/site-packages/rtv/page.py", line 94, in loop
self.controller.trigger(ch)
File "/usr/lib/python3.7/site-packages/rtv/objects.py", line 604, in trigger
return func(self.instance, *args, **kwargs)
File "/usr/lib/python3.7/site-packages/rtv/page.py", line 319, in login
self.oauth.authorize()
File "/usr/lib/python3.7/site-packages/rtv/oauth.py", line 182, in authorize
self.server = OAuthHTTPServer(address, OAuthHandler)
File "/usr/lib/python3.7/socketserver.py", line 452, in __init__
self.server_bind()
File "/usr/lib/python3.7/http/server.py", line 137, in server_bind
socketserver.TCPServer.server_bind(self)
File "/usr/lib/python3.7/socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use
rtv has crashed. Please report this traceback at:
https://github.com/michael-lazar/rtv/issuesAny suggestions are welcomed!
Thank you!
Offline