[Python-bugs-list] [ python-Bugs-780996 ] pynche does not start

SourceForge.net noreply at sourceforge.net
Fri Aug 29 11:55:14 EDT 2003


Bugs item #780996, was opened at 2003-07-31 13:47
Message generated for change (Settings changed) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=780996&group_id=5470

Category: Demos and Tools
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Mihai Ibanescu (misa)
>Assigned to: Barry A. Warsaw (bwarsaw)
Summary: pynche does not start

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=780996&group_id=5470



More information about the Python-bugs-list mailing list