Skip to content

Instantly share code, notes, and snippets.

@devinus
Created March 12, 2010 22:46
Show Gist options
  • Save devinus/330888 to your computer and use it in GitHub Desktop.
Save devinus/330888 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 277, in main
[translation:ERROR] drv.proceed(goals)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/translator/driver.py", line 744, in proceed
[translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip())
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/translator/tool/taskengine.py", line 116, in _execute
[translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/translator/driver.py", line 279, in _do
[translation:ERROR] res = func()
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/translator/driver.py", line 306, in task_annotate
[translation:ERROR] s = annotator.build_types(self.entry_point, self.inputtypes)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/annotation/annrpython.py", line 99, in build_types
[translation:ERROR] return self.build_graph_types(flowgraph, inputcells, complete_now=complete_now)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/annotation/annrpython.py", line 190, in build_graph_types
[translation:ERROR] self.complete()
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/annotation/annrpython.py", line 246, in complete
[translation:ERROR] self.processblock(graph, block)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/annotation/annrpython.py", line 471, in processblock
[translation:ERROR] self.flowin(graph, block)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/annotation/annrpython.py", line 531, in flowin
[translation:ERROR] self.consider_op(block.operations[i])
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/annotation/annrpython.py", line 735, in consider_op
[translation:ERROR] raise_nicer_exception(op, str(graph))
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/annotation/annrpython.py", line 732, in consider_op
[translation:ERROR] resultcell = consider_meth(*argcells)
[translation:ERROR] File "<codegen /Users/devin/Projects/pypy/pypy/annotation/annrpython.py:770>", line 3, in consider_op_getattr
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/annotation/unaryop.py", line 658, in getattr
[translation:ERROR] return bookkeeper.pbc_getattr(pbc, s_attr)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/annotation/bookkeeper.py", line 601, in pbc_getattr
[translation:ERROR] return first.s_read_attribute(attr)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/annotation/description.py", line 834, in s_read_attribute
[translation:ERROR] return self.bookkeeper.immutablevalue(value)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/annotation/bookkeeper.py", line 467, in immutablevalue
[translation:ERROR] elif hasattr(x, '_freeze_') and x._freeze_():
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/interpreter/mixedmodule.py", line 98, in _freeze_
[translation:ERROR] self.getdict()
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/interpreter/mixedmodule.py", line 91, in getdict
[translation:ERROR] w_value = self.get(name)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/interpreter/mixedmodule.py", line 43, in get
[translation:ERROR] w_value = self.getdictvalue(space, name)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/module/sys/__init__.py", line 105, in getdictvalue
[translation:ERROR] value = MixedModule.getdictvalue(self, space, attr)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/interpreter/mixedmodule.py", line 55, in getdictvalue
[translation:ERROR] return self._load_lazily(space, name)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/interpreter/mixedmodule.py", line 65, in _load_lazily
[translation:ERROR] w_value = loader(space)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/interpreter/mixedmodule.py", line 166, in ifileloader
[translation:ERROR] value = eval(spec, d)
[translation:ERROR] File "<string>", line 1, in <module>
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/module/sys/version.py", line 67, in get_subversion_info
[translation:ERROR] space.wrap(str(svn_revision()))])
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/module/sys/version.py", line 88, in svn_revision
[translation:ERROR] rev = int(REV)
[translation:ERROR] ValueError': invalid literal for int() with base 10: ''
[translation:ERROR] .. v0 = getattr(self_0, ('sys'))
[translation:ERROR] .. '(pypy.interpreter.baseobjspace:269)startup'
[translation:ERROR] Processing block:
[translation:ERROR] block@19 is a <class 'pypy.objspace.flow.flowcontext.SpamBlock'>
[translation:ERROR] in (pypy.interpreter.baseobjspace:269)startup
[translation:ERROR] containing the following operations:
[translation:ERROR] v0 = getattr(self_0, ('sys'))
[translation:ERROR] v1 = getattr(v0, ('get'))
[translation:ERROR] v2 = simple_call(v1, ('modules'))
[translation:ERROR] v3 = getattr(self_0, ('unpackiterable'))
[translation:ERROR] v4 = getattr(self_0, ('sys'))
[translation:ERROR] v5 = getattr(v4, ('get'))
[translation:ERROR] v6 = simple_call(v5, ('builtin_module_names'))
[translation:ERROR] v7 = simple_call(v3, v6)
[translation:ERROR] v8 = iter(v7)
[translation:ERROR] --end--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment