support for more architecture in kaa

John Molohan <[email protected]>
Newsgroups gmane.comp.video.freevo.devel
Organization Griffith College Dublin
Message-ID <[email protected]>
Hi Dischi, Jason,

There's a bugtracker entry for kaa just in case it was missed. 
https://sourceforge.net/tracker/?func=detail&aid=2976967&group_id=46652&atid=446895

John


'hi,

With this patch, kaa.base uses the ctypes.util.find_library call to find 
libc. This way
many different architectures are supported (where libc is not always 
/lib/lib.so.6 )

Note this important fact.

When kaa is imported, ctypes.util.find_library is called, and it uses 
os.popen which emits a SIGCHLD; so the handler must be connected *after* 
the call to ctypes.util.find_library . Otherwise os.popen triggers the 
handler that forces the kaa notifier initialization; so when we try to 
select a notifier after the import,
an exception is raised because kaa notifier is already initialized; this 
breaks twisted integration.

See http://bugs.debian.org/566902 and http://bugs.debian.org/575293

I attach a patch against current SVN

a.

ps: this patch is due to work by Alexandre Rossi, Mickael Royer, KiBi, 
and me'

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.