Skip to content

Instantly share code, notes, and snippets.

@kevinw
Created November 29, 2010 23:28
Show Gist options
  • Save kevinw/720832 to your computer and use it in GitHub Desktop.
Save kevinw/720832 to your computer and use it in GitHub Desktop.
python translate.py -Ojit
[translation:ERROR] Error:
[translation:ERROR] Traceback (most recent call last):
[translation:ERROR] File "translate.py", line 290, in main
[translation:ERROR] drv.proceed(goals)
[translation:ERROR] File "C:\Users\Kevin\src\pypy\fast-foward\pypy\translator\driver.py", line 812, in proceed
[translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip())
[translation:ERROR] File "C:\Users\Kevin\src\pypy\fast-foward\pypy\translator\tool\taskengine.py", line 116, in _execute
[translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR] File "C:\Users\Kevin\src\pypy\fast-foward\pypy\translator\driver.py", line 288, in _do
[translation:ERROR] res = func()
[translation:ERROR] File "C:\Users\Kevin\src\pypy\fast-foward\pypy\translator\driver.py", line 399, in task_pyjitpl_lltype
[translation:ERROR] backend_name=self.config.translation.jit_backend, inline=True)
[translation:ERROR] File "C:\Users\Kevin\src\pypy\fast-foward\pypy\jit\metainterp\warmspot.py", line 44, in apply_jit
[translation:ERROR] **kwds)
[translation:ERROR] File "C:\Users\Kevin\src\pypy\fast-foward\pypy\jit\metainterp\warmspot.py", line 157, in __init__
[translation:ERROR] graphs = self.codewriter.find_all_graphs(policy)
[translation:ERROR] File "C:\Users\Kevin\src\pypy\fast-foward\pypy\jit\codewriter\codewriter.py", line 91, in find_all_graphs
[translation:ERROR] return self.callcontrol.find_all_graphs(policy)
[translation:ERROR] File "C:\Users\Kevin\src\pypy\fast-foward\pypy\jit\codewriter\call.py", line 76, in find_all_graphs
[translation:ERROR] assert is_candidate(graph)
[translation:ERROR] AssertionError
[translation] start debugger...
> c:\users\kevin\src\pypy\fast-foward\pypy\jit\codewriter\call.py(76)find_all_graphs()
-> assert is_candidate(graph)
(Pdb+)
@kevinw
Copy link
Author

kevinw commented Nov 29, 2010

(Pdb+) graph
< FunctionGraph of instantiate_pypy_interpreter_typedef_W_IncrementalNewlineDecoderUserDictWeakrefSlots at 0x116f68c8 >

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment