Good morning,

we have recently implemented a worker that listens and reacts to database 
events. It is written in python and uses the most recent python driver (1.4.1) 
together with the latest firebird server (2.5.3). However, the following three 
exceptions are catched regularily even if there are no events raised by the 
database. The next cycle after one of those exceptions in the loop executes 
just fine and even if the database raised an event there it is caught and 
handled properly:


  File "fdb\fbcore.pyo", line 1601, in event_conduit
  File "fdb\fbcore.pyo", line 1811, in __init__
  File "fdb\fbcore.pyo", line 1726, in __init__
  File "fdb\fbcore.pyo", line 1735, in __wait_for_events
DatabaseError: ('Error while waiting for events:\n- SQLCODE: -902\n- Error 
reading data from the connection.', -902, 335544726)



  File "fdb\fbcore.pyo", line 1601, in event_conduit
  File "fdb\fbcore.pyo", line 1811, in __init__
  File "fdb\fbcore.pyo", line 1726, in __init__

  File "fdb\fbcore.pyo", line 1735, in __wait_for_events
DatabaseError: ('Error while waiting for events:\n- SQLCODE: -902\n- Error 
writing data from the connection.', -902, 335544726)


  File "fdb\fbcore.pyo", line 1601, in event_conduit
  File "fdb\fbcore.pyo", line 1811, in __init__
  File "fdb\fbcore.pyo", line 1726, in __init__
  File "fdb\fbcore.pyo", line 1735, in __wait_for_events
DatabaseError: ('Error while waiting for events:\n- SQLCODE: 0\n- unknown ISC 
error 0', 0, 0)


I attached a small sample program that reproduces the issue. Any ideas what 
could cause the issue? Can we safely ignore the error?


Best regards,
Dominik


Reply via email to