lyricat / Hotot

A Twitter Client
http://hotot.org
GNU Lesser General Public License v3.0
485 stars 130 forks source link

Exception KeyError: proxy_type at refresh of rewteets (by me/ by others) column #554

Open brouberol opened 11 years ago

brouberol commented 11 years ago

I'm building Hotot from source, from the master branch.

Both "Rewteets > by me" and "Retweets > by others" columns stay empty, while displaying a "refresh" animation.

This issue has only started today, which concords with the date of the deprecation of the Twitter API v1. Maybe these two events are linked?

Anyway, I've launched Hotot in a shell, and this exception is printed out each time I click on the "By me" and "By others" buttons:

Exception:
Traceback (most recent call last):
  File "/home/b/softs/Hotot/hotot/agent.py", line 170, in save_file_proc
    data = _get(uri)
  File "/home/b/softs/Hotot/hotot/agent.py", line 291, in _get
    urlopen = get_urlopen()
  File "/home/b/softs/Hotot/hotot/agent.py", line 257, in get_urlopen
    proxy_type = get_prefs('proxy_type')
  File "/home/b/softs/Hotot/hotot/agent.py", line 206, in get_prefs
    return config.settings[name]
KeyError: 'proxy_type'

I've printed the value of config.settings in the hotot/agent.py:get_prefs function, and it is an empty dict.

jdeniau commented 11 years ago

I've got the same error. My hotot is build on the master branch with gtk3.