[Pkg-freevo-maint] Bug#575293: python-kaa-base: integration with twisted does not work anymore
Alexandre Rossi
alexandre.rossi at gmail.com
Wed Mar 24 19:01:17 UTC 2010
Package: python-kaa-base
Version: 0.6.0-4
Severity: normal
Hi,
Using the following snippet, from the documentation[1], integration with
twisted does not work anymore. Maybe this is related to the new twisted
version 10.
--
# get reactor
from twisted.internet import reactor
import kaa
kaa.main.select_notifier('twisted')
# add callbacks to Twisted or kaa
# see test/kaa_in_twisted.py in the kaa.base package
# run Twisted mainloop
reactor.run()
--
The following exception is raised :
$ python kaa_twisted.py
Traceback (most recent call last):
File "kaa_twisted.py", line 5, in <module>
kaa.main.select_notifier('twisted')
File "/usr/lib/python2.5/site-packages/kaa/main.py", line 89, in select_notifier
return nf_thread.init(module, **options)
File "/usr/lib/python2.5/site-packages/kaa/nf_thread.py", line 147, in init
notifier.init( 'generic', force_internal=True, **options )
File "/usr/lib/python2.5/site-packages/kaa/nf_wrapper.py", line 164, in init
raise RuntimeError('notifier already initialized')
RuntimeError: notifier already initialized
Please note that the test supplied in kaa-base (test/kaa_in_twisted.py )
also fails.
Feel free to ask for more info.
Thanks,
Alex
[1] http://doc.freevo.org/api/kaa/base/core/mainloop.html#integration-with-other-frameworks
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-kaa-base depends on:
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libglib2.0-0 2.22.4-1 The GLib library of C routines
ii python 2.5.4-9 An interactive high-level object-o
ii python-central 0.6.14+nmu2 register and build utility for Pyt
ii python-sqlite 1.0.1-7+b1 python interface to SQLite 2
python-kaa-base recommends no packages.
python-kaa-base suggests no packages.
-- no debconf information
More information about the Pkg-freevo-maint
mailing list