James Fiore wrote:
On Tue, 22 Nov 2005, Duncan Webb wrote:
the time seems to vary. And it is related to the having background
music, if this is removed the slide show plays correctly.
I believe it varies with the length of the song playing in the
background. As the song ends, freevo tries to remove the entry from
the callback stack but the items are being removed from the stack out
of order from which they were placed on the stack...causing the ab-end.
Anybody got any ideas?
Crash!
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/freevo/main.py", line 492, in ?
MainTread().run()
File "/usr/lib/python2.3/site-packages/freevo/main.py", line 352, in run
self.eventhandler(rc.get_event(True))
File "/usr/lib/python2.3/site-packages/freevo/rc.py", line 149, in
get_event
return get_singleton().get_event(blocking)
File "/usr/lib/python2.3/site-packages/freevo/rc.py", line 488, in
get_event
self.poll()
File "/usr/lib/python2.3/site-packages/freevo/rc.py", line 466, in poll
self.callbacks.remove(c)
ValueError: list.remove(x): x not in list
I worked around the problem by applying the following patch to rc.py
line 466 but I suspect it's causing a memory leak in python because
items are not actually being removed from the callback stack:
[EMAIL PROTECTED] freevo]$ diff rc.py rc.py_ORIGINAL_20051023
466c466
< if c in self.callbacks : self.callbacks.remove(c)
---
self.callbacks.remove(c)
Thanks, good to know I'm not alone with this problem.
Duncan
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel