I've managed to get Kamelia running under Jython 2.5 on Windows XP.
I only got two patches so far, although I've only tested the parts of
Kamaelia relevant to my JsonRPC server.
For Axon.ThreadedComponent:
--- ../../../Kamaelia-0.6.0/Axon/ThreadedComponent.py 2009-05-12
16:40:15.000000000 +1000
+++ Axon/ThreadedComponent.py 2009-05-12 16:40:48.000000000 +1000
@@ -423,7 +423,7 @@
self._threadId = numId()
self._localThreadId = threading.currentThread().getName()
self._threadmainmethod = self.__getattribute__(mainmethod)
- self._thethread = threading.Thread(name=self._threadId,
target=self._threadmain)
+ self._thethread = threading.Thread(name=str(self._threadId),
target=self._threadmain)
self._thethread.setDaemon(True) # means the thread is stopped
if the main thread stops.
It seems that Jython is not as good at coercing unknown types to a
string. Of course, this might really be a bug in Jython. I'm not
completely sure, as I've only been using Jython for a couple of
weeks. I might post there too and see what the response is.
Also, the setup.py file has:
data_files=[ ('/usr/local/share/kamaelia', ['App/
kamaelia_logo.png']) ]
This makes Kamaelia impossible to install without errors on Windows
using the normal
python setup.py install, or
jython setup.py install.
I just set the data_files to an empty list to get it to install, but a
cross-platform solution would be desirable.
Cheers,
Rasjid.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"kamaelia" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/kamaelia?hl=en
-~----------~----~----~----~------~----~------~--~---