Issue 780996: pynche does not start (original) (raw)
On a Red Hat 9 box with python 2.3 compiled:
-bash-2.05b# python /usr/lib/python2.3/site-packages/pynche/pynche Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/pynche/pynche", line 7, in ? Main.main() File "/usr/lib/python2.3/site-packages/pynche/Main.py", line 220, in main dbfile=dbfile) File "/usr/lib/python2.3/site-packages/pynche/Main.py", line 130, in build dbfile = s.optiondb()['DBFILE'] KeyError: 'DBFILE'
By looking at the constructor for Switchboard, if ~/.pynche is missing, then self.__optiondb is the empty hash.
Copying a .pynche file from an older python makes pynche happy again.