Guest User

Untitled

a guest
Jan 12th, 2012
19
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ################################
  2. Erster Versuch:
  3. ################################
  4.  
  5. Traceback (most recent call last):
  6. File "/trytond/protocols/netrpc.py", line 51, in run
  7. res = dispatch(host, port, 'NetRPC', *msg)
  8. File "/trytond/protocols/dispatcher.py", line 148, in dispatch
  9. res = getattr(obj, method)(*args, **kargs)
  10. File "/trytond/model/modelworkflow.py", line 112, in workflow_trigger_validate
  11. instance_obj.validate(instance, signal=signal)
  12. File "/trytond/workflow/workflow.py", line 211, in validate
  13. force_running=force_running)
  14. File "/trytond/workflow/workflow.py", line 323, in process
  15. res = self._split_test(workitem, activity.split_mode, signal)
  16. File "/trytond/workflow/workflow.py", line 441, in _split_test
  17. self._join_test(transition, instance)
  18. File "/trytond/workflow/workflow.py", line 452, in _join_test
  19. 'state': 'active',
  20. File "/trytond/workflow/workflow.py", line 301, in create
  21. self.process(workitem)
  22. File "/trytond/workflow/workflow.py", line 323, in process
  23. res = self._split_test(workitem, activity.split_mode, signal)
  24. File "/trytond/workflow/workflow.py", line 441, in _split_test
  25. self._join_test(transition, instance)
  26. File "/trytond/workflow/workflow.py", line 452, in _join_test
  27. 'state': 'active',
  28. File "/trytond/workflow/workflow.py", line 301, in create
  29. self.process(workitem)
  30. File "/trytond/workflow/workflow.py", line 323, in process
  31. res = self._split_test(workitem, activity.split_mode, signal)
  32. File "/trytond/workflow/workflow.py", line 441, in _split_test
  33. self._join_test(transition, instance)
  34. File "/trytond/workflow/workflow.py", line 452, in _join_test
  35. 'state': 'active',
  36. File "/trytond/workflow/workflow.py", line 301, in create
  37. self.process(workitem)
  38. File "/trytond/workflow/workflow.py", line 317, in process
  39. if not self._execute(workitem, activity):
  40. File "/trytond/workflow/workflow.py", line 364, in _execute
  41. workitem.instance.res_id, activity)
  42. File "/trytond/workflow/expr.py", line 61, in execute
  43. return eval_expr(model, obj_id, activity.action)
  44. File "/trytond/workflow/expr.py", line 50, in eval_expr
  45. res = safe_eval(line, env)
  46. File "/trytond/tools/misc.py", line 445, in safe_eval
  47. }}, data)
  48. File "", line 1, in <module>
  49. File "/trytond/workflow/expr.py", line 16, in __call__
  50. return getattr(self.obj, self.method)(self.obj_id, *args, **kargs)
  51. File "/trytond/modules/sale/sale.py", line 794, in create_shipment
  52. shipment_obj.workflow_trigger_validate(shipment_id, 'waiting')
  53. File "/trytond/model/modelworkflow.py", line 112, in workflow_trigger_validate
  54. instance_obj.validate(instance, signal=signal)
  55. File "/trytond/workflow/workflow.py", line 211, in validate
  56. force_running=force_running)
  57. File "/trytond/workflow/workflow.py", line 323, in process
  58. res = self._split_test(workitem, activity.split_mode, signal)
  59. File "/trytond/workflow/workflow.py", line 441, in _split_test
  60. self._join_test(transition, instance)
  61. File "/trytond/workflow/workflow.py", line 452, in _join_test
  62. 'state': 'active',
  63. File "/trytond/workflow/workflow.py", line 301, in create
  64. self.process(workitem)
  65. File "/trytond/workflow/workflow.py", line 317, in process
  66. if not self._execute(workitem, activity):
  67. File "/trytond/workflow/workflow.py", line 364, in _execute
  68. workitem.instance.res_id, activity)
  69. File "/trytond/workflow/expr.py", line 61, in execute
  70. return eval_expr(model, obj_id, activity.action)
  71. File "/trytond/workflow/expr.py", line 50, in eval_expr
  72. res = safe_eval(line, env)
  73. File "/trytond/tools/misc.py", line 445, in safe_eval
  74. }}, data)
  75. File "", line 1, in <module>
  76. File "/trytond/workflow/expr.py", line 16, in __call__
  77. return getattr(self.obj, self.method)(self.obj_id, *args, **kargs)
  78. File "/trytond/modules/stock/shipment.py", line 925, in set_state_waiting
  79. 'unit_price': move.unit_price,
  80. File "/trytond/modules/stock/move.py", line 516, in create
  81. uom, product)
  82. File "/trytond/modules/stock/move.py", line 477, in _get_internal_quantity
  83. product.default_uom, round=True)
  84. File "/trytond/model/browse.py", line 187, in __getattr__
  85. return self[name]
  86. File "/trytond/model/browse.py", line 137, in __getitem__
  87. datas = self._model.read(ids, ffields.keys())
  88. File "/trytond/model/modelsql.py", line 518, in read
  89. table_args + red_ids + history_args)
  90. File "/trytond/backend/postgresql/database.py", line 298, in execute
  91. res = self.cursor.execute(sql, params)
  92. InternalError: FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis zum Ende der Transaktion ignoriert
  93.  
  94.  
  95.  
  96.  
  97. ################################
  98. Zweiter Versuch:
  99. ################################
  100.  
  101. Traceback (most recent call last):
  102. File "/trytond/protocols/netrpc.py", line 51, in run
  103. res = dispatch(host, port, 'NetRPC', *msg)
  104. File "/trytond/protocols/dispatcher.py", line 148, in dispatch
  105. res = getattr(obj, method)(*args, **kargs)
  106. File "/trytond/model/modelworkflow.py", line 112, in workflow_trigger_validate
  107. instance_obj.validate(instance, signal=signal)
  108. File "/trytond/workflow/workflow.py", line 211, in validate
  109. force_running=force_running)
  110. File "/trytond/workflow/workflow.py", line 323, in process
  111. res = self._split_test(workitem, activity.split_mode, signal)
  112. File "/trytond/workflow/workflow.py", line 441, in _split_test
  113. self._join_test(transition, instance)
  114. File "/trytond/workflow/workflow.py", line 452, in _join_test
  115. 'state': 'active',
  116. File "/trytond/workflow/workflow.py", line 301, in create
  117. self.process(workitem)
  118. File "/trytond/workflow/workflow.py", line 323, in process
  119. res = self._split_test(workitem, activity.split_mode, signal)
  120. File "/trytond/workflow/workflow.py", line 441, in _split_test
  121. self._join_test(transition, instance)
  122. File "/trytond/workflow/workflow.py", line 452, in _join_test
  123. 'state': 'active',
  124. File "/trytond/workflow/workflow.py", line 301, in create
  125. self.process(workitem)
  126. File "/trytond/workflow/workflow.py", line 323, in process
  127. res = self._split_test(workitem, activity.split_mode, signal)
  128. File "/trytond/workflow/workflow.py", line 441, in _split_test
  129. self._join_test(transition, instance)
  130. File "/trytond/workflow/workflow.py", line 452, in _join_test
  131. 'state': 'active',
  132. File "/trytond/workflow/workflow.py", line 301, in create
  133. self.process(workitem)
  134. File "/trytond/workflow/workflow.py", line 317, in process
  135. if not self._execute(workitem, activity):
  136. File "/trytond/workflow/workflow.py", line 364, in _execute
  137. workitem.instance.res_id, activity)
  138. File "/trytond/workflow/expr.py", line 61, in execute
  139. return eval_expr(model, obj_id, activity.action)
  140. File "/trytond/workflow/expr.py", line 50, in eval_expr
  141. res = safe_eval(line, env)
  142. File "/trytond/tools/misc.py", line 445, in safe_eval
  143. }}, data)
  144. File "", line 1, in <module>
  145. File "/trytond/workflow/expr.py", line 16, in __call__
  146. return getattr(self.obj, self.method)(self.obj_id, *args, **kargs)
  147. File "/trytond/modules/sale/sale.py", line 794, in create_shipment
  148. shipment_obj.workflow_trigger_validate(shipment_id, 'waiting')
  149. File "/trytond/model/modelworkflow.py", line 112, in workflow_trigger_validate
  150. instance_obj.validate(instance, signal=signal)
  151. File "/trytond/workflow/workflow.py", line 211, in validate
  152. force_running=force_running)
  153. File "/trytond/workflow/workflow.py", line 323, in process
  154. res = self._split_test(workitem, activity.split_mode, signal)
  155. File "/trytond/workflow/workflow.py", line 441, in _split_test
  156. self._join_test(transition, instance)
  157. File "/trytond/workflow/workflow.py", line 456, in _join_test
  158. 'transitions': [('unlink', transition.id)],
  159. File "/trytond/model/modelsql.py", line 903, in write
  160. self._columns[field].set(ids, self, field, values[field])
  161. File "/trytond/model/fields/many2many.py", line 127, in set
  162. relation_obj.delete(relation_ids)
  163. File "/trytond/model/modelsql.py", line 1099, in delete
  164. 'WHERE ' + red_sql, red_ids)
  165. File "/trytond/backend/postgresql/database.py", line 298, in execute
  166. res = self.cursor.execute(sql, params)
  167.  
  168. Fehler3:
  169. Traceback (most recent call last):
  170. File "/trytond/protocols/netrpc.py", line 51, in run
  171. res = dispatch(host, port, 'NetRPC', *msg)
  172. File "/trytond/protocols/dispatcher.py", line 148, in dispatch
  173. res = getattr(obj, method)(*args, **kargs)
  174. File "/trytond/model/modelworkflow.py", line 112, in workflow_trigger_validate
  175. instance_obj.validate(instance, signal=signal)
  176. File "/trytond/workflow/workflow.py", line 211, in validate
  177. force_running=force_running)
  178. File "/trytond/workflow/workflow.py", line 323, in process
  179. res = self._split_test(workitem, activity.split_mode, signal)
  180. File "/trytond/workflow/workflow.py", line 441, in _split_test
  181. self._join_test(transition, instance)
  182. File "/trytond/workflow/workflow.py", line 452, in _join_test
  183. 'state': 'active',
  184. File "/trytond/workflow/workflow.py", line 301, in create
  185. self.process(workitem)
  186. File "/trytond/workflow/workflow.py", line 323, in process
  187. res = self._split_test(workitem, activity.split_mode, signal)
  188. File "/trytond/workflow/workflow.py", line 441, in _split_test
  189. self._join_test(transition, instance)
  190. File "/trytond/workflow/workflow.py", line 452, in _join_test
  191. 'state': 'active',
  192. File "/trytond/workflow/workflow.py", line 301, in create
  193. self.process(workitem)
  194. File "/trytond/workflow/workflow.py", line 323, in process
  195. res = self._split_test(workitem, activity.split_mode, signal)
  196. File "/trytond/workflow/workflow.py", line 441, in _split_test
  197. self._join_test(transition, instance)
  198. File "/trytond/workflow/workflow.py", line 452, in _join_test
  199. 'state': 'active',
  200. File "/trytond/workflow/workflow.py", line 301, in create
  201. self.process(workitem)
  202. File "/trytond/workflow/workflow.py", line 317, in process
  203. if not self._execute(workitem, activity):
  204. File "/trytond/workflow/workflow.py", line 364, in _execute
  205. workitem.instance.res_id, activity)
  206. File "/trytond/workflow/expr.py", line 61, in execute
  207. return eval_expr(model, obj_id, activity.action)
  208. File "/trytond/workflow/expr.py", line 50, in eval_expr
  209. res = safe_eval(line, env)
  210. File "/trytond/tools/misc.py", line 445, in safe_eval
  211. }}, data)
  212. File "", line 1, in <module>
  213. File "/trytond/workflow/expr.py", line 16, in __call__
  214. return getattr(self.obj, self.method)(self.obj_id, *args, **kargs)
  215. File "/trytond/modules/sale/sale.py", line 794, in create_shipment
  216. shipment_obj.workflow_trigger_validate(shipment_id, 'waiting')
  217. File "/trytond/model/modelworkflow.py", line 112, in workflow_trigger_validate
  218. instance_obj.validate(instance, signal=signal)
  219. File "/trytond/workflow/workflow.py", line 211, in validate
  220. force_running=force_running)
  221. File "/trytond/workflow/workflow.py", line 323, in process
  222. res = self._split_test(workitem, activity.split_mode, signal)
  223. File "/trytond/workflow/workflow.py", line 441, in _split_test
  224. self._join_test(transition, instance)
  225. File "/trytond/workflow/workflow.py", line 452, in _join_test
  226. 'state': 'active',
  227. File "/trytond/workflow/workflow.py", line 301, in create
  228. self.process(workitem)
  229. File "/trytond/workflow/workflow.py", line 317, in process
  230. if not self._execute(workitem, activity):
  231. File "/trytond/workflow/workflow.py", line 364, in _execute
  232. workitem.instance.res_id, activity)
  233. File "/trytond/workflow/expr.py", line 61, in execute
  234. return eval_expr(model, obj_id, activity.action)
  235. File "/trytond/workflow/expr.py", line 50, in eval_expr
  236. res = safe_eval(line, env)
  237. File "/trytond/tools/misc.py", line 445, in safe_eval
  238. }}, data)
  239. File "", line 1, in <module>
  240. File "/trytond/workflow/expr.py", line 16, in __call__
  241. return getattr(self.obj, self.method)(self.obj_id, *args, **kargs)
  242. File "/trytond/modules/stock/shipment.py", line 925, in set_state_waiting
  243. 'unit_price': move.unit_price,
  244. File "/trytond/modules/stock/move.py", line 518, in create
  245. return super(Move, self).create(vals)
  246. File "/trytond/model/modelsql.py", line 407, in create
  247. self._validate([id_new])
  248. File "/trytond/model/modelsql.py", line 2160, in _validate
  249. super(ModelSQL, self)._validate(ids)
  250. File "/trytond/model/modelstorage.py", line 962, in _validate
  251. return self._validate(ids)
  252. File "/trytond/model/modelsql.py", line 2160, in _validate
  253. super(ModelSQL, self)._validate(ids)
  254. File "/trytond/model/modelstorage.py", line 1013, in _validate
  255. if record[field_name]:
  256. File "/trytond/model/browse.py", line 137, in __getitem__
  257. datas = self._model.read(ids, ffields.keys())
  258. File "/trytond/model/modelsql.py", line 510, in read
  259. table_args + red_ids + history_args + domain2)
  260. File "/trytond/backend/postgresql/database.py", line 298, in execute
  261. res = self.cursor.execute(sql, params)
  262. InternalError: FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis zum Ende der Transaktion ignoriert
RAW Paste Data