This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pynche does not start
Type: Stage:
Components: Demos and Tools Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: barry Nosy List: barry, misa
Priority: normal Keywords:

Created on 2003-07-31 17:47 by misa, last changed 2022-04-10 16:10 by admin. This issue is now closed.

Messages (2)
msg17551 - (view) Author: Mihai Ibanescu (misa) Date: 2003-07-31 17:47
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.
msg17552 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2003-09-03 03:16
Logged In: YES 
user_id=12800

Fixed in Main.py 2.23 (and backported)
History
Date User Action Args
2022-04-10 16:10:25adminsetgithub: 38988
2003-07-31 17:47:22misacreate