[PyPy-issue] [issue680] Transtale.py filed with KeyError

Stepan Bakshaev pypy-dev-issue at codespeak.net
Fri Apr 8 06:17:22 CEST 2011


New submission from Stepan Bakshaev <step2back+pypy at gmail.com>:

stepan at imac-ubuntu:~/develop$ echo 'print "ioioioiooo"' > test.py
stepan at imac-ubuntu:~/develop$ python pypy/pypy/translator/goal/translate.py test.py 
[translation:info] Translating target as defined by test
ioioioiooo
[platform:msg] Setting platform to 'host' cc=None
[translation:ERROR] Error:
[translation:ERROR]  Traceback (most recent call last):
[translation:ERROR]    File "pypy/pypy/translator/goal/translate.py", line 268,
in main
[translation:ERROR]     default_goal='compile')
[translation:ERROR]    File
"/home/stepan/develop/pypy/pypy/translator/driver.py", line 827, in from_targetspec
[translation:ERROR]     target = targetspec_dic['target']
[translation:ERROR]  KeyError: 'target'
[translation] start debugger...
> /home/stepan/develop/pypy/pypy/translator/driver.py(827)from_targetspec()
-> target = targetspec_dic['target']
(Pdb+)

----------
effort: ???
messages: 2352
nosy: pypy-issue, step2back
priority: bug
release: ???
status: unread
title: Transtale.py filed with KeyError

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue680>
_______________________________________________________



More information about the Pypy-issue mailing list