spacepaste

  1.  
  2. [translation:info] Error:
  3. File "/home/omer/Documents/Projects/pypy/rpython/translator/goal/translate.py", line 318, in main
  4. drv.proceed(goals)
  5. File "/home/omer/Documents/Projects/pypy/rpython/translator/driver.py", line 554, in proceed
  6. result = self._execute(goals, task_skip = self._maybe_skip())
  7. File "/home/omer/Documents/Projects/pypy/rpython/translator/tool/taskengine.py", line 114, in _execute
  8. res = self._do(goal, taskcallable, *args, **kwds)
  9. File "/home/omer/Documents/Projects/pypy/rpython/translator/driver.py", line 278, in _do
  10. res = func()
  11. File "/home/omer/Documents/Projects/pypy/rpython/translator/driver.py", line 315, in task_annotate
  12. s = annotator.build_types(self.entry_point, self.inputtypes)
  13. File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 92, in build_types
  14. return self.build_graph_types(flowgraph, inputs_s, complete_now=complete_now)
  15. File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 140, in build_graph_types
  16. self.complete()
  17. File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 229, in complete
  18. self.complete_pending_blocks()
  19. File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 224, in complete_pending_blocks
  20. self.processblock(graph, block)
  21. File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 398, in processblock
  22. self.flowin(graph, block)
  23. File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 501, in flowin
  24. self.consider_op(op)
  25. File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 653, in consider_op
  26. resultcell = op.consider(self)
  27. File "/home/omer/Documents/Projects/pypy/rpython/flowspace/operation.py", line 104, in consider
  28. return spec(annotator, *self.args)
  29. File "/home/omer/Documents/Projects/pypy/rpython/annotator/unaryop.py", line 118, in simple_call_SomeObject
  30. return s_func.call(argspec)
  31. File "/home/omer/Documents/Projects/pypy/rpython/annotator/unaryop.py", line 978, in call
  32. return bookkeeper.pbc_call(self, args)
  33. File "/home/omer/Documents/Projects/pypy/rpython/annotator/bookkeeper.py", line 535, in pbc_call
  34. results.append(desc.pycall(whence, args, s_previous_result, op))
  35. File "/home/omer/Documents/Projects/pypy/rpython/annotator/classdesc.py", line 732, in pycall
  36. s_init.call(args)
  37. File "/home/omer/Documents/Projects/pypy/rpython/annotator/unaryop.py", line 978, in call
  38. return bookkeeper.pbc_call(self, args)
  39. File "/home/omer/Documents/Projects/pypy/rpython/annotator/bookkeeper.py", line 535, in pbc_call
  40. results.append(desc.pycall(whence, args, s_previous_result, op))
  41. File "/home/omer/Documents/Projects/pypy/rpython/annotator/description.py", line 293, in pycall
  42. result = annotator.recursivecall(graph, whence, inputcells)
  43. File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 327, in recursivecall
  44. self.addpendingblock(graph, graph.startblock, inputcells)
  45. File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 189, in addpendingblock
  46. self.mergeinputargs(graph, block, cells)
  47. File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 435, in mergeinputargs
  48. unions = [annmodel.unionof(c1,c2) for c1, c2 in zip(oldcells,inputcells)]
  49. File "/home/omer/Documents/Projects/pypy/rpython/annotator/model.py", line 775, in unionof
  50. s1 = pair(s1, s2).union()
  51. File "/home/omer/Documents/Projects/pypy/rpython/annotator/binaryop.py", line 197, in union
  52. "integers are of the same signedness")
  53. [translation:ERROR] UnionError:
  54. RPython cannot prove that these integers are of the same signedness
  55. Offending annotations:
  56. SomeInteger(knowntype=int, nonneg=False, unsigned=False)
  57. SomeInteger(knowntype=r_uint, nonneg=True, unsigned=True)
  58. Occurred processing the following simple_call:
  59. function OpErrFmt.__init__ </home/omer/Documents/Projects/pypy/pypy/interpreter/error.py, line 366> returning
  60. v979 = simple_call(OpErrFmt_0, w_type_0, strings_0, v978)
  61. In <FunctionGraph of (pypy.interpreter.error:419)oefmt__Invalid__uXXXX_escape__char__d__star_1 at 0x2c9eead8>:
  62. Happened at file /home/omer/Documents/Projects/pypy/pypy/interpreter/error.py line 419
  63. Known variable annotations:
  64. OpErrFmt_0 = SomeConstantType(const=<class 'pypy.interpreter.error.OpErrFmt'>)
  65. w_type_0 = SomeInstance(can_be_None=False, classdef=pypy.objspace.std.typeobject.W_TypeObject, const=<W_TypeObject 'exceptions.ValueError' at 0x36dfad0>)
  66. strings_0 = SomeTuple(const=('Invalid \\uXXXX escape (char ', ')'), items=(SomeString(const='Invalid \\uXXXX escape (char ', no_nul=True), SomeChar(const=')', no_nul=True)))
  67. v978 = SomeInteger(knowntype=r_uint, nonneg=True, unsigned=True)
  68. Processing block:
  69. block@34[args_0...] is a <class 'rpython.flowspace.flowcontext.EggBlock'>
  70. in (pypy.interpreter.error:419)oefmt__Invalid__uXXXX_escape__char__d__star_1
  71. containing the following operations:
  72. OpErrFmt_0 = getitem(v980, (0))
  73. strings_0 = getitem(v980, (1))
  74. v978 = getitem(args_0, (0))
  75. v979 = simple_call(OpErrFmt_0, w_type_0, strings_0, v978)
  76. --end--
  77.