spacepaste

  1.  
  2. [translation:ERROR] OperationError: [<W_TypeObject 'UnicodeDecodeError' at 0x5c99090>: W_UnicodeDecodeError([W_UnicodeObject(u'utf8'), W_BytesObject('\xfe\xfe\xec\xee\xf2\xf8\xeb\xfa \xe0\xe9\xef \xe0\xf4\xf9\xf8\xe5\xfa \xec\xe0\xfa\xf8 \xe0\xfa \xe4\xf7\xe5\xe1\xf5 \xf9\xf6\xe5\xe9\xef'), W_IntObject(0), W_IntObject(1), W_UnicodeObject(u'invalid start byte')])]
  3. >>bt
  4. d:\pypy_stuff\pypy\rpython\translator\goal\translate.py(325)main()
  5. -> debug(True)
  6. d:\pypy_stuff\pypy\rpython\translator\driver.py(566)from_targetspec()
  7. -> spec = target(driver, args)
  8. d:\pypy_stuff\pypy\pypy\goal\targetpypystandalone.py(351)target()
  9. -> return self.get_entry_point(config)
  10. d:\pypy_stuff\pypy\pypy\goal\targetpypystandalone.py(386)get_entry_point()
  11. -> space = make_objspace(config)
  12. d:\pypy_stuff\pypy\pypy\tool\option.py(35)make_objspace()
  13. -> return Space(config)
  14. d:\pypy_stuff\pypy\pypy\interpreter\baseobjspace.py(414)__init__()
  15. -> self.initialize()
  16. d:\pypy_stuff\pypy\pypy\objspace\std\objspace.py(113)initialize()
  17. -> self.setup_builtin_modules()
  18. d:\pypy_stuff\pypy\pypy\interpreter\baseobjspace.py(640)setup_builtin_modules()
  19. -> mod.setup_after_space_initialization()
  20. d:\pypy_stuff\pypy\pypy\module\_collections\__init__.py(26)setup_after_space_initialization()
  21. -> space.getattr(self, space.newtext('defaultdict')) # force importing
  22. d:\pypy_stuff\pypy\pypy\objspace\std\objspace.py(620)getattr()
  23. -> return self._handle_getattribute(w_descr, w_obj, w_name)
  24. d:\pypy_stuff\pypy\pypy\objspace\descroperation.py(212)_handle_getattribute()
  25. -> raise
  26. d:\pypy_stuff\pypy\pypy\objspace\descroperation.py(160)get_and_call_function()
  27. -> return w_descr.funccall(w_obj, *args_w)
  28. d:\pypy_stuff\pypy\pypy\interpreter\function.py(104)funccall()
  29. -> return code.fastcall_2(self.space, self, args_w[0], args_w[1])
  30. d:\pypy_stuff\pypy\pypy\interpreter\gateway.py(920)fastcall_2()
  31. -> self.handle_exception(space, e)
  32. <281-codegen d:\pypy_stuff\pypy\rpython\tool\sourcetools.py:174>(3)fastfunc_descr_getattribute_2()
  33. -> return func(space.interp_w(Module, w0), space, w1)
  34. d:\pypy_stuff\pypy\pypy\interpreter\module.py(136)descr_getattribute()
  35. -> raise
  36. d:\pypy_stuff\pypy\pypy\interpreter\baseobjspace.py(1106)call_function()
  37. -> return w_func.funccall(*args_w)
  38. d:\pypy_stuff\pypy\pypy\interpreter\function.py(104)funccall()
  39. -> return code.fastcall_2(self.space, self, args_w[0], args_w[1])
  40. d:\pypy_stuff\pypy\pypy\interpreter\gateway.py(920)fastcall_2()
  41. -> self.handle_exception(space, e)
  42. d:\pypy_stuff\pypy\pypy\objspace\descroperation.py(91)descr__getattribute__()
  43. -> w_value = w_obj.getdictvalue(space, name)
  44. d:\pypy_stuff\pypy\pypy\interpreter\mixedmodule.py(95)getdictvalue()
  45. -> return self._load_lazily(space, name)
  46. d:\pypy_stuff\pypy\pypy\interpreter\mixedmodule.py(116)_load_lazily()
  47. -> w_value = loader(space)
  48. d:\pypy_stuff\pypy\pypy\interpreter\mixedmodule.py(263)afileloader()
  49. -> return app.wget(space, attrname)
  50. d:\pypy_stuff\pypy\pypy\interpreter\gateway.py(1205)wget()
  51. -> w_globals = self.getwdict(space)
  52. d:\pypy_stuff\pypy\pypy\interpreter\gateway.py(1198)getwdict()
  53. -> return space.fromcache(ApplevelCache).getorbuild(self)
  54. d:\pypy_stuff\pypy\rpython\rlib\cache.py(58)getorbuild()
  55. -> if lock: lock.release()
  56. d:\pypy_stuff\pypy\pypy\interpreter\baseobjspace.py(363)_build()
  57. -> return self.build(key)
  58. d:\pypy_stuff\pypy\pypy\interpreter\gateway.py(1249)build()
  59. -> return build_applevel_dict(app, self.space)
  60. d:\pypy_stuff\pypy\pypy\interpreter\gateway.py(1260)build_applevel_dict()
  61. -> filename=self.filename)
  62. d:\pypy_stuff\pypy\pypy\interpreter\baseobjspace.py(1273)exec_()
  63. -> return statement.exec_code(self, w_globals, w_locals)
  64. d:\pypy_stuff\pypy\pypy\interpreter\eval.py(33)exec_code()
  65. -> return frame.run()
  66. d:\pypy_stuff\pypy\pypy\interpreter\pyframe.py(277)run()
  67. -> raise
  68. d:\pypy_stuff\pypy\pypy\interpreter\pyframe.py(356)execute_frame()
  69. -> executioncontext.leave(self, w_exitvalue, got_exception)
  70. d:\pypy_stuff\pypy\pypy\module\pypyjit\interp_jit.py(100)dispatch()
  71. -> return self.popvalue()
  72. d:\pypy_stuff\pypy\pypy\interpreter\pyopcode.py(74)handle_bytecode()
  73. -> next_instr = self.handle_operation_error(ec, operr)
  74. d:\pypy_stuff\pypy\pypy\interpreter\pyopcode.py(310)dispatch_bytecode()
  75. -> self.IMPORT_NAME(oparg, next_instr)
  76. d:\pypy_stuff\pypy\pypy\interpreter\pyopcode.py(1057)IMPORT_NAME()
  77. -> w_locals, w_fromlist, w_flag)
  78. d:\pypy_stuff\pypy\pypy\interpreter\baseobjspace.py(1110)call_function()
  79. -> return self.call_args(w_func, args)
  80. d:\pypy_stuff\pypy\pypy\objspace\descroperation.py(169)call_args()
  81. -> return w_obj.call_args(args)
  82. d:\pypy_stuff\pypy\pypy\interpreter\function.py(71)call_args()
  83. -> w_res = self.getcode().funcrun(self, args)
  84. d:\pypy_stuff\pypy\pypy\interpreter\gateway.py(830)funcrun()
  85. -> self.handle_exception(space, e)
  86. d:\pypy_stuff\pypy\pypy\module\_frozen_importlib\interp_import.py(22)import_with_frames_removedArgument...ject(0)])
  87. -> raise
  88. d:\pypy_stuff\pypy\pypy\objspace\descroperation.py(169)call_args()
  89. -> return w_obj.call_args(args)
  90. d:\pypy_stuff\pypy\pypy\interpreter\function.py(71)call_args()
  91. -> w_res = self.getcode().funcrun(self, args)
  92. d:\pypy_stuff\pypy\pypy\interpreter\pycode.py(272)funcrun()
  93. -> return frame.run(func.name, func.qualname)
  94. d:\pypy_stuff\pypy\pypy\interpreter\pyframe.py(277)run()
  95. -> raise
  96. d:\pypy_stuff\pypy\pypy\interpreter\pyframe.py(356)execute_frame()
  97. -> executioncontext.leave(self, w_exitvalue, got_exception)
  98. d:\pypy_stuff\pypy\pypy\module\pypyjit\interp_jit.py(100)dispatch()
  99. -> return self.popvalue()
  100. d:\pypy_stuff\pypy\pypy\interpreter\pyopcode.py(74)handle_bytecode()
  101. -> next_instr = self.handle_operation_error(ec, operr)
  102. d:\pypy_stuff\pypy\pypy\interpreter\pyopcode.py(278)dispatch_bytecode()
  103. -> self.CALL_FUNCTION(oparg, next_instr)
  104. d:\pypy_stuff\pypy\pypy\interpreter\pyopcode.py(1297)CALL_FUNCTION()
  105. -> self.dropvalues(nargs + 1)
  106. d:\pypy_stuff\pypy\pypy\interpreter\baseobjspace.py(1132)call_valuestack()
  107. -> nargs, frame, methodcall=methodcall)
  108. d:\pypy_stuff\pypy\pypy\interpreter\function.py(170)funccall_valuestack()
  109. -> natural_arity - nargs)
  110. d:\pypy_stuff\pypy\pypy\interpreter\function.py(206)_flat_pycall_defaults()
  111. -> return new_frame.run(self.name, self.qualname)
  112. d:\pypy_stuff\pypy\pypy\interpreter\pyframe.py(277)run()
  113. -> raise
  114. d:\pypy_stuff\pypy\pypy\interpreter\pyframe.py(356)execute_frame()
  115. -> executioncontext.leave(self, w_exitvalue, got_exception)
  116. d:\pypy_stuff\pypy\pypy\module\pypyjit\interp_jit.py(100)dispatch()
  117. -> return self.popvalue()
  118. d:\pypy_stuff\pypy\pypy\interpreter\pyopcode.py(74)handle_bytecode()
  119. -> next_instr = self.handle_operation_error(ec, operr)
  120. d:\pypy_stuff\pypy\pypy\interpreter\pyopcode.py(278)dispatch_bytecode()
  121. -> self.CALL_FUNCTION(oparg, next_instr)
  122. d:\pypy_stuff\pypy\pypy\interpreter\pyopcode.py(1297)CALL_FUNCTION()
  123. -> self.dropvalues(nargs + 1)
  124. d:\pypy_stuff\pypy\pypy\interpreter\baseobjspace.py(1132)call_valuestack()
  125. -> nargs, frame, methodcall=methodcall)
  126. d:\pypy_stuff\pypy\pypy\interpreter\function.py(164)funccall_valuestack()
  127. -> return self._flat_pycall(code, nargs, frame)
  128. d:\pypy_stuff\pypy\pypy\interpreter\function.py(189)_flat_pycall()
  129. -> return new_frame.run(self.name, self.qualname)
  130. > d:\pypy_stuff\pypy\pypy\interpreter\pyframe.py(277)run()
  131. -> raise
  132. d:\pypy_stuff\pypy\pypy\interpreter\pyframe.py(356)execute_frame()
  133. -> executioncontext.leave(self, w_exitvalue, got_exception)
  134. d:\pypy_stuff\pypy\pypy\module\pypyjit\interp_jit.py(100)dispatch()
  135. -> return self.popvalue()
  136. d:\pypy_stuff\pypy\pypy\interpreter\pyopcode.py(77)handle_bytecode()
  137. -> attach_tb=False)
  138. d:\pypy_stuff\pypy\pypy\interpreter\pyopcode.py(201)dispatch_bytecode()
  139. -> w_result = unroller.nomoreblocks()
  140. d:\pypy_stuff\pypy\pypy\interpreter\pyopcode.py(1713)nomoreblocks()
  141. -> raise RaiseWithExplicitTraceback(self.operr)
  142. in the call to _flat_pycall self.name is '_find_and_load' self.qualname is u'_find_and_load'
  143.