Nic0/tyrs — Issue #110: Version 0.6.1: cannot create default config
Author: laanwj
Created: 2011-12-22 17:07:25+00:00
State: open

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
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
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'