[PyPy-issue] [issue564] Translation fails without ncurses with a py.test.skip exception

Leonardo Santagada pypy-dev-issue at codespeak.net
Fri Nov 26 21:38:35 CET 2010


New submission from Leonardo Santagada <santagada at gmail.com>:

Djc on irc reported this bug, while trying to translate pypy without ncurses he got the 
stack trace below:


[platform:execute] gcc /var/tmp/portage/dev-python/pypy-1.4/temp/usession-0/platcheck_0.o 
-pthread -lrt -o /var/tmp/portage/dev-python/pypy-1.4/temp/usession-0/platcheck_0
[translation:ERROR] Error:
[translation:ERROR]  Traceback (most recent call last):
[translation:ERROR]    File "translate.py", line 268, in main
[translation:ERROR]     default_goal='compile')
[translation:ERROR]    File "/var/tmp/portage/dev-python/pypy-1.4/work/pypy-
1.4/pypy/translator/driver.py", line 831, in from_targetspec
[translation:ERROR]     spec = target(driver, args)
[translation:ERROR]    File "targetpypystandalone.py", line 157, in target
[translation:ERROR]     enable_allworkingmodules(config)
[translation:ERROR]    File "/var/tmp/portage/dev-python/pypy-1.4/work/pypy-
1.4/pypy/config/pypyoption.py", line 386, in enable_allworkingmodules
[translation:ERROR]     config.objspace.usemodules.suggest(**dict.fromkeys(modules, 
True))
[translation:ERROR]    File "/var/tmp/portage/dev-python/pypy-1.4/work/pypy-
1.4/pypy/config/config.py", line 112, in suggest
[translation:ERROR]     self.suggestoption(name, value)
[translation:ERROR]    File "/var/tmp/portage/dev-python/pypy-1.4/work/pypy-
1.4/pypy/config/config.py", line 116, in suggestoption
[translation:ERROR]     self.setoption(name, value, "suggested")
[translation:ERROR]    File "/var/tmp/portage/dev-python/pypy-1.4/work/pypy-
1.4/pypy/config/config.py", line 107, in setoption
[translation:ERROR]     child.setoption(self, value, who)
[translation:ERROR]    File "/var/tmp/portage/dev-python/pypy-1.4/work/pypy-
1.4/pypy/config/config.py", line 305, in setoption
[translation:ERROR]     self._validator(toplevel)
[translation:ERROR]    File "/var/tmp/portage/dev-python/pypy-1.4/work/pypy-
1.4/pypy/config/pypyoption.py", line 101, in validator
[translation:ERROR]     __import__(name)
[translation:ERROR]    File "/var/tmp/portage/dev-python/pypy-1.4/work/pypy-
1.4/pypy/module/_minimal_curses/__init__.py", line 7, in <module>
[translation:ERROR]     import py; py.test.skip("no _curses module")    # no _curses at 
all
[translation:ERROR]    File "/var/tmp/portage/dev-python/pypy-1.4/work/pypy-
1.4/py/_plugin/pytest_runner.py", line 336, in skip
[translation:ERROR]     raise Skipped(msg=msg)
[translation:ERROR]  Skipped: 'no _curses module'
[translation] start debugger...
> /var/tmp/portage/dev-python/pypy-1.4/work/pypy-
1.4/py/_plugin/pytest_runner.py(336)skip()
-> raise Skipped(msg=msg)

----------
effort: ???
messages: 1848
nosy: pypy-issue, santagada
priority: bug
release: ???
status: unread
title: Translation fails without ncurses with a py.test.skip exception

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



More information about the Pypy-issue mailing list