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.

Author sherpa
Recipients sherpa
Date 2016-02-11.15:02:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455202921.22.0.411034223357.issue26339@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,
we use python 2.7.3 on Linux SuSe Enterprise 11 x86 64 bits.
After installing the python module rk0.3b1, we have this error when rk parse the configuration file: KeyError: 'config_argparse_rel_path' after this function dict.__getitem__(self, key)

You will find below the debugger trace:

# python -m pdb /opt/python-2.7.3/bin/rk

> /opt/python-2.7.3/bin/rk(3)<module>()

-> __requires__ = 'rk==0.3b1'

(Pdb) cont

Traceback (most recent call last):

  File "/opt/python-2.7.3/lib/python2.7/pdb.py", line 1314, in main

    pdb._runscript(mainpyfile)

  File "/opt/python-2.7.3/lib/python2.7/pdb.py", line 1233, in _runscript

    self.run(statement)

  File "/opt/python-2.7.3/lib/python2.7/bdb.py", line 387, in run

    exec cmd in globals, locals

  File "<string>", line 1, in <module>

  File "/opt/python-2.7.3/bin/rk", line 3, in <module>

    __requires__ = 'rk==0.3b1'

  File "build/bdist.linux-x86_64/egg/rk/rk.py", line 253, in main

    create_dictionaries()

  File "build/bdist.linux-x86_64/egg/rk/rk.py", line 25, in create_dictionaries

    config_argparse_rel_path = config["config_argparse_rel_path"]

  File "/opt/python-2.7.3/lib/python2.7/site-packages/configobj.py", line 554, in __getitem__

    val = dict.__getitem__(self, key)

KeyError: 'config_argparse_rel_path'

Uncaught exception. Entering post mortem debugging

Running 'cont' or 'step' will restart the program

> /opt/python-2.7.3/lib/python2.7/site-packages/configobj.py(554)__getitem__()

-> val = dict.__getitem__(self, key)

(Pdb)
History
Date User Action Args
2016-02-11 15:02:01sherpasetrecipients: + sherpa
2016-02-11 15:02:01sherpasetmessageid: <1455202921.22.0.411034223357.issue26339@psf.upfronthosting.co.za>
2016-02-11 15:02:01sherpalinkissue26339 messages
2016-02-11 15:02:01sherpacreate