[firebird-python] Broken firebird events? [1 Attachment]

2014-11-06 Thread Dominik Psenner dominik.psen...@topcontrol.it [firebird-python]
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

[firebird-python] Memory leak when using events

2014-11-06 Thread Dominik Psenner dominik.psen...@topcontrol.it [firebird-python]
Good morning, as written yesterday we have recently implemented a way to react on database events in our python based program. But we are facing several outages with that implementation. First we encountered at least three errors when invoking event_conduit(events), namely: * Error

AW: [firebird-python] Memory leak when using events [1 Attachment]

2014-11-07 Thread Dominik Psenner dominik.psen...@topcontrol.it [firebird-python]
made it visible. So fixing the circular reference with weakref.proxy will probably not fix the problem. I'm working on proper fix, but it's hard to test. Can you help me with testing if I'll create a patch? best regards Pavel Cisar IBPhoenix Dne 7.11.2014 v 08:56 Dominik Psenner dominik.psen

AW: AW: [firebird-python] Memory leak when using events

2014-11-07 Thread Dominik Psenner dominik.psen...@topcontrol.it [firebird-python]
@yahoogroups.com Betreff: Re: AW: [firebird-python] Memory leak when using events Hi, Well, the script is nice but I can't use it without the database it uses :) best regards Pavel Cisar IBPhoenix Dne 7.11.2014 v 12:19 Dominik Psenner dominik.psen...@topcontrol.it [firebird-python] napsal(a): Hi

AW: AW: AW: [firebird-python] Memory leak when using events

2014-11-07 Thread Dominik Psenner dominik.psen...@topcontrol.it [firebird-python]
and report here. best regards Pavel Cisar IBPhoenix Dne 7.11.2014 v 12:43 Dominik Psenner dominik.psen...@topcontrol.it [firebird-python] napsal(a): Apologies, I should have explained that better. :-) The good thing (or bad?) is, that the database can be any firebird database. It must not even

AW: AW: [firebird-python] FDB v1.4.2 [1 Attachment]

2014-11-14 Thread Dominik Psenner dominik.psen...@topcontrol.it [firebird-python]
Ah, you were faster than I could write. Sorry for me being so persistent. Unfortunately I am unable to post a file in the bug tracker now that the issue is resolved, therefore I write you here. The good thing is, 1.4.3 improved the situation. One cyclic reference has gone away but there’s

AW: AW: AW: [firebird-python] FDB v1.4.2

2014-11-14 Thread Dominik Psenner dominik.psen...@topcontrol.it [firebird-python]
I refreshed the package and it looks like the memory leak is almost gone. I can observe that the number of EventBlock’s left in memory are equal to the count of errors raised with the invoke of begin() (namely one of: unknown ISC error 0, error reading from connection, error writing to

AW: AW: AW: AW: [firebird-python] FDB v1.4.2

2014-11-14 Thread Dominik Psenner dominik.psen...@topcontrol.it [firebird-python]
*hm* .. not really.. then an AttributeError pops up: 2014-11-14 15:15:08.498000 50/51 (1|50:51|3|0) event_conduit(['TC_IMPORT_QUEUE_UPDATED'])Exception in thread Thread-6: Traceback (most recent call last): File C:\Python27\lib\threading.py, line 810, in __bootstrap_inner self.run() File

AW: AW: AW: AW: [firebird-python] FDB v1.4.2 [1 Attachment]

2014-11-17 Thread Dominik Psenner dominik.psen...@topcontrol.it [firebird-python]
waiting for events:) best regards Pavel Dne 14.11.2014 v 14:08 Dominik Psenner dominik.psen...@topcontrol.it [firebird-python] napsal(a): I refreshed the package and it looks like the memory leak is almost gone. I can observe that the number of EventBlock’s left in memory are equal to the count