Skip to content

Instantly share code, notes, and snippets.

@parlarjb
Created August 19, 2011 01:34
Show Gist options
  • Save parlarjb/1155792 to your computer and use it in GitHub Desktop.
Save parlarjb/1155792 to your computer and use it in GitHub Desktop.
PyPy builder error
[translation:ERROR] Error:
[translation:ERROR] Traceback (most recent call last):
[translation:ERROR] File "translate.py", line 308, in main
[translation:ERROR] drv.proceed(goals)
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/translator/driver.py", line 810, in proceed
[translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip())
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/translator/tool/taskengine.py", line 116, in _execute
[translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/translator/driver.py", line 286, in _do
[translation:ERROR] res = func()
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/translator/driver.py", line 371, in task_rtype_lltype
[translation:ERROR] crash_on_first_typeerror=insist)
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/rpython/rtyper.py", line 211, in specialize
[translation:ERROR] self.specialize_more_blocks()
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/rpython/rtyper.py", line 254, in specialize_more_blocks
[translation:ERROR] self.specialize_block(block)
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/rpython/rtyper.py", line 408, in specialize_block
[translation:ERROR] self.gottypererror(e, block, hop.spaceop, newops)
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/rpython/rtyper.py", line 405, in specialize_block
[translation:ERROR] hop.setup() # this is called from here to catch TyperErrors...
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/rpython/rtyper.py", line 746, in setup
[translation:ERROR] rtyper.call_all_setups() # compute ForwardReferences now
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/rpython/rtyper.py", line 351, in call_all_setups
[translation:ERROR] r.setup_final()
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/rpython/rmodel.py", line 77, in setup_final
[translation:ERROR] self._setup_repr_final()
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/rpython/lltypesystem/rclass.py", line 413, in _setup_repr_final
[translation:ERROR] OBJECT, destrptr)
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/rpython/rtyper.py", line 709, in attachRuntimeTypeInfoFunc
[translation:ERROR] self.call_all_setups() # compute ForwardReferences now
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/rpython/rtyper.py", line 351, in call_all_setups
[translation:ERROR] r.setup_final()
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/rpython/rmodel.py", line 77, in setup_final
[translation:ERROR] self._setup_repr_final()
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/rpython/lltypesystem/rclass.py", line 403, in _setup_repr_final
[translation:ERROR] self.check_graph_of_del_does_not_call_too_much(graph)
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/rpython/rclass.py", line 406, in check_graph_of_del_does_not_call_too_much
[translation:ERROR] graph, '\n\t'.join(lst[::-1])))
[translation:ERROR] TyperError: the RPython-level __del__() method in <FunctionGraph of (pypy.module.oracle.interp_object:18)W_ObjectType.__del__ at 0x88e805d0> calls:
[translation:ERROR] (pypy.module.oracle.interp_object:18)W_ObjectType.__del__
[translation:ERROR] (pypy.rpython.lltypesystem.rffi:170)OCIObjectUnpin__arrayPtr_arrayPtr_arrayPtr_star_3
[translation:ERROR] (pypy.rpython.lltypesystem.rffi:2)ccall_OCIObjectUnpin__arrayPtr_arrayPtr_arrayPtr
[translation:ERROR] (pypy.module.thread.gil:94)before_external_call
[translation:ERROR] .. (pypy.interpreter.astcompiler.ast:6528)Slice_get_upper
[translation:ERROR] .. block@123 with 1 exits
[translation:ERROR] .. v1 = type(v0)
[translation] start debugger...
> /home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/rpython/rclass.py(406)check_graph_of_del_does_not_call_too_much()
-> graph, '\n\t'.join(lst[::-1])))
(Pdb+)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment