Nic0 / tyrs

Twitter and Identica client using curses
http://tyrs.nicosphere.net
61 stars 10 forks source link

Version 0.6.1: cannot create default config #110

Closed laanwj closed 12 years ago

laanwj commented 12 years ago

When I try to create a new default configuration file using -g, I get the following error:

Traceback (most recent call last):
  File "/usr/bin/tyrs", line 5, in <module>
    pkg_resources.run_script('tyrs==0.6.1', 'tyrs')
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 467, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1200, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/local/lib/python2.7/dist-packages/tyrs-0.6.1-py2.7.egg/EGG-INFO/scripts/tyrs", line 18, in <module>
    main()
  File "/usr/local/lib/python2.7/dist-packages/tyrs-0.6.1-py2.7.egg/tyrs/tyrs.py", line 60, in main
    init_conf()
  File "/usr/local/lib/python2.7/dist-packages/tyrs-0.6.1-py2.7.egg/tyrs/tyrs.py", line 69, in init_conf
    conf = config.Config(arguments())
  File "/usr/local/lib/python2.7/dist-packages/tyrs-0.6.1-py2.7.egg/tyrs/config.py", line 44, in __init__
    self.check_for_default_config()
  File "/usr/local/lib/python2.7/dist-packages/tyrs-0.6.1-py2.7.egg/tyrs/config.py", line 82, in check_for_default_config
    self.generate_config_file(self.xdg_config + default_file)
  File "/usr/local/lib/python2.7/dist-packages/tyrs-0.6.1-py2.7.egg/tyrs/config.py", line 91, in generate_config_file
    for c in self.colors:
AttributeError: 'Config' object has no attribute 'colors'
Nic0 commented 12 years ago

Fixed in latest commit. Thanks to notice it. :-)

laanwj commented 12 years ago

Yep, confirmed fixed. Thanks.