Guest User

Untitled

a guest
Mar 16th, 2015
216
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "2015-03-17 12:38:56,605 - root - MainThread - INFO - [<callback_daemon.database.CallBack_Spool object at 0x1f94310>]"
  2. "2015-03-17 12:38:57,025 - root - MainThread - INFO - try_originate : SIP/Voip-Innovations-out/14044905024 : 1000 : a2billing-all-callback"
  3. "2015-03-17 12:38:57,027 - root - MainThread - INFO - CallBack Status : Error"
  4. "2015-03-17 12:38:57,032 - root - MainThread - INFO - [2015/03/17 12:38:57] Placed 1 calls"
  5. "2015-03-17 12:39:02,038 - root - MainThread - INFO - waiting..."
  6. "2015-03-17 12:39:02,040 - root - MainThread - ERROR - stopping with an exception"
  7. Traceback (most recent call last):
  8. File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/daemon.py", line 200, in start
  9. self.run()
  10. File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/a2b_callback_daemon.py", line 117, in run
  11. run_action.perform()
  12. File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/a2b_callback_daemon.py", line 137, in perform
  13. request_list = self.inst_cb_db.find_callback_request('PENDING', 11124)
  14. File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/database.py", line 180, in find_callback_request
  15. ((self.cc_callback_spool.c.callback_time==None) | (self.cc_callback_spool.c.callback_time < datetime.datetime.now()))
  16. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2408, in all
  17. return list(self)
  18. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2525, in __iter__
  19. return self._execute_and_instances(context)
  20. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2538, in _execute_and_instances
  21. close_with_result=True)
  22. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2529, in _connection_from_session
  23. **kw)
  24. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 881, in connection
  25. execution_options=execution_options)
  26. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 886, in _connection_for_bind
  27. engine, execution_options)
  28. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 312, in _connection_for_bind
  29. self._assert_active()
  30. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 214, in _assert_active
  31. % self._rollback_exception
  32. InvalidRequestError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: Boolean value of this clause is not defined
  33. "2015-03-17 12:39:02,044 - root - MainThread - INFO - stopped"
  34. Traceback (most recent call last):
  35. File "./a2b_callback_daemon.py", line 9, in <module>
  36. load_entry_point('callback-daemon==1.0.prod-r1528', 'console_scripts', 'a2b_callback_daemon')()
  37. File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/a2b_callback_daemon.py", line 269, in main
  38. CallBackDaemon().main()
  39. File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/daemon.py", line 100, in main
  40. self.start()
  41. File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/daemon.py", line 200, in start
  42. self.run()
  43. File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/a2b_callback_daemon.py", line 117, in run
  44. run_action.perform()
  45. File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/a2b_callback_daemon.py", line 137, in perform
  46. request_list = self.inst_cb_db.find_callback_request('PENDING', 11124)
  47. File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/database.py", line 180, in find_callback_request
  48. ((self.cc_callback_spool.c.callback_time==None) | (self.cc_callback_spool.c.callback_time < datetime.datetime.now()))
  49. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2408, in all
  50. return list(self)
  51. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2525, in __iter__
  52. return self._execute_and_instances(context)
  53. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2538, in _execute_and_instances
  54. close_with_result=True)
  55. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2529, in _connection_from_session
  56. **kw)
  57. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 881, in connection
  58. execution_options=execution_options)
  59. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 886, in _connection_for_bind
  60. engine, execution_options)
  61. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 312, in _connection_for_bind
  62. self._assert_active()
  63. File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 214, in _assert_active
  64. % self._rollback_exception
  65. sqlalchemy.exc.InvalidRequestError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: Boolean value of this clause is not defined
RAW Paste Data