rtv icon indicating copy to clipboard operation
rtv copied to clipboard

When pressing < o > key on a reddit post rtv crashes, "Can't pickle local object"

Open lilyvM8 opened this issue 4 years ago • 1 comments

Describe the bug open rtv, scroll down a few posts, press the key to open a post (not sure if that's the actual key to open a post). rtv closes, I get a stack trace and your github account. AttributeError: Can't pickle local object 'Terminal.open_browser.<locals>.open_url_silent'

Describe your environment `Traceback (most recent call last): File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/rtv/main.py", line 223, in main url = requests.head( File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/requests/api.py", line 101, in head return request('head', url, **kwargs) File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/requests/sessions.py", line 519, in request prep = self.prepare_request(req) File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/requests/sessions.py", line 452, in prepare_request p.prepare( File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/requests/models.py", line 313, in prepare self.prepare_url(url, params) File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/requests/models.py", line 387, in prepare_url raise MissingSchema(error) requests.exceptions.MissingSchema: Invalid URL 'update': No schema supplied. Perhaps you meant http://update?

rtv has crashed. Please report this traceback at:`

  • Mojave 10.14.6 installed through homebrew, rtv had just been installed before I opened the program.)

lilyvM8 avatar Feb 08 '20 18:02 lilyvM8

https://github.com/michael-lazar/rtv/issues/710

michael-lazar avatar Feb 09 '20 01:02 michael-lazar