Skip to content

Instantly share code, notes, and snippets.

@llimllib
Created May 7, 2011 13:15
Show Gist options
  • Save llimllib/960488 to your computer and use it in GitHub Desktop.
Save llimllib/960488 to your computer and use it in GitHub Desktop.
[translation:ERROR] Error:
[translation:ERROR] Traceback (most recent call last):
[translation:ERROR] File "translate.py", line 306, in main
[translation:ERROR] drv.proceed(goals)
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/translator/driver.py", line 809, in proceed
[translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip())
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/translator/tool/taskengine.py", line 116, in _execute
[translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/translator/driver.py", line 286, in _do
[translation:ERROR] res = func()
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/translator/driver.py", line 323, in task_annotate
[translation:ERROR] s = annotator.build_types(self.entry_point, self.inputtypes)
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/annotation/annrpython.py", line 103, in build_types
[translation:ERROR] return self.build_graph_types(flowgraph, inputcells, complete_now=complete_now)
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/annotation/annrpython.py", line 194, in build_graph_types
[translation:ERROR] self.complete()
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/annotation/annrpython.py", line 250, in complete
[translation:ERROR] self.processblock(graph, block)
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/annotation/annrpython.py", line 448, in processblock
[translation:ERROR] self.flowin(graph, block)
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/annotation/annrpython.py", line 508, in flowin
[translation:ERROR] self.consider_op(block.operations[i])
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/annotation/annrpython.py", line 710, in consider_op
[translation:ERROR] raise_nicer_exception(op, str(graph))
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/annotation/annrpython.py", line 707, in consider_op
[translation:ERROR] resultcell = consider_meth(*argcells)
[translation:ERROR] File "<4198-codegen /Users/bill/code/git-pypy/pypy/annotation/annrpython.py:745>", line 3, in consider_op_getattr
[translation:ERROR] return arg.getattr(*args)
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/annotation/unaryop.py", line 606, in getattr
[translation:ERROR] attrdef = ins.classdef.find_attribute(attr)
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/annotation/classdef.py", line 217, in find_attribute
[translation:ERROR] return self.locate_attribute(attr).attrs[attr]
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/annotation/classdef.py", line 212, in locate_attribute
[translation:ERROR] self.generalize_attr(attr)
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/annotation/classdef.py", line 307, in generalize_attr
[translation:ERROR] self._generalize_attr(attr, s_value)
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/annotation/classdef.py", line 297, in _generalize_attr
[translation:ERROR] newattr.mutated(self)
[translation:ERROR] File "/Users/bill/code/git-pypy/pypy/annotation/classdef.py", line 125, in mutated
[translation:ERROR] (self.name, homedef)
[translation:ERROR] Exception': demoting method force_if_needed to settled class <ClassDef 'pypy.interpreter.baseobjspace.W_Root'> not allowed
[translation:ERROR] .. v1 = getattr(v0, ('force_if_needed'))
[translation:ERROR] .. '(pypy.module.micronumpy.numarray:165)BaseArray.invalidated'
[translation:ERROR] Processing block:
[translation:ERROR] block@19 is a <class 'pypy.objspace.flow.flowcontext.SpamBlock'>
[translation:ERROR] in (pypy.module.micronumpy.numarray:165)BaseArray.invalidated
[translation:ERROR] containing the following operations:
[translation:ERROR] v1 = getattr(v0, ('force_if_needed'))
[translation:ERROR] v2 = simple_call(v1)
[translation:ERROR] --end--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment