Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pynche does not start #38988

Closed
misa mannequin opened this issue Jul 31, 2003 · 2 comments
Closed

pynche does not start #38988

misa mannequin opened this issue Jul 31, 2003 · 2 comments
Assignees

Comments

@misa
Copy link
Mannequin

misa mannequin commented Jul 31, 2003

BPO 780996
Nosy @warsaw

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/warsaw'
closed_at = <Date 2003-09-03.03:16:22.000>
created_at = <Date 2003-07-31.17:47:22.000>
labels = []
title = 'pynche does not start'
updated_at = <Date 2003-09-03.03:16:22.000>
user = 'https://bugs.python.org/misa'

bugs.python.org fields:

activity = <Date 2003-09-03.03:16:22.000>
actor = 'barry'
assignee = 'barry'
closed = True
closed_date = None
closer = None
components = ['Demos and Tools']
creation = <Date 2003-07-31.17:47:22.000>
creator = 'misa'
dependencies = []
files = []
hgrepos = []
issue_num = 780996
keywords = []
message_count = 2.0
messages = ['17551', '17552']
nosy_count = 2.0
nosy_names = ['barry', 'misa']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue780996'
versions = ['Python 2.3']

@misa
Copy link
Mannequin Author

misa mannequin commented Jul 31, 2003

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.

@misa misa mannequin closed this as completed Jul 31, 2003
@misa misa mannequin assigned warsaw Jul 31, 2003
@misa misa mannequin closed this as completed Jul 31, 2003
@misa misa mannequin assigned warsaw Jul 31, 2003
@warsaw
Copy link
Member

warsaw commented Sep 3, 2003

Logged In: YES
user_id=12800

Fixed in Main.py 2.23 (and backported)

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant