Skip to content

Instantly share code, notes, and snippets.

@squeaky-pl
Created May 2, 2014 15:30
Show Gist options
  • Save squeaky-pl/42a3c570936457689ea8 to your computer and use it in GitHub Desktop.
Save squeaky-pl/42a3c570936457689ea8 to your computer and use it in GitHub Desktop.
[Timer] Timings:
[Timer] annotate --- 663.8 s
[Timer] ==========================================
[Timer] Total: --- 663.8 s
[translation:info] Error:
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/translator/goal/translate.py", line 316, in main
[translation:info] drv.proceed(goals)
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/translator/driver.py", line 531, in proceed
[translation:info] return self._execute(goals, task_skip = self._maybe_skip())
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/translator/tool/taskengine.py", line 114, in _execute
[translation:info] res = self._do(goal, taskcallable, *args, **kwds)
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/translator/driver.py", line 276, in _do
[translation:info] res = func()
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/translator/driver.py", line 313, in task_annotate
[translation:info] s = annotator.build_types(self.entry_point, self.inputtypes)
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/annotator/annrpython.py", line 90, in build_types
[translation:info] return self.build_graph_types(flowgraph, inputcells, complete_now=complete_now)
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/annotator/annrpython.py", line 144, in build_graph_types
[translation:info] self.complete()
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/annotator/annrpython.py", line 198, in complete
[translation:info] self.complete_pending_blocks()
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/annotator/annrpython.py", line 193, in complete_pending_blocks
[translation:info] self.processblock(graph, block)
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/annotator/annrpython.py", line 341, in processblock
[translation:info] self.flowin(graph, block)
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/annotator/annrpython.py", line 405, in flowin
[translation:info] self.consider_op(block, i)
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/annotator/annrpython.py", line 595, in consider_op
[translation:info] resultcell = op.consider(self, *argcells)
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/flowspace/operation.py", line 152, in consider
[translation:info] return impl(*other_args)
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/rtyper/llannotation.py", line 208, in setitem
[translation:info] example[0] = v_lltype._defl()
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/rtyper/lltypesystem/lltype.py", line 1210, in __setitem__
[translation:info] " got %r" % (self._T, T1, T2))
[translation:ERROR] TypeError: <Array of UCHAR > items:
[translation:ERROR] expect <UCHAR>
[translation:ERROR] got <Signed>
[translation:ERROR] Processing block:
[translation:ERROR] block@12 is a <class 'rpython.flowspace.flowcontext.SpamBlock'>
[translation:ERROR] in (pypy.module.cppyy.executor:108)BasicRefExecutor._wrap_reference
[translation:ERROR] containing the following operations:
[translation:ERROR] v974 = getattr(self_121, ('item'))
[translation:ERROR] v975 = setitem(rffiptr_0, (0), v974)
[translation:ERROR] --end--
[translation] start debugger...
> /home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/rtyper/lltypesystem/lltype.py(1210)__setitem__()
-> " got %r" % (self._T, T1, T2))
(Pdb+)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment