Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-12 Thread Dirk Meyer
Duncan Webb wrote: Dirk Meyer wrote: Duncan Webb wrote: There is also an install problem in kaa, after the last update r3180. byte-compiling /usr/lib/python2.4/site-packages/kaa/net/tls.py to tls.pyc File /usr/lib/python2.4/site-packages/kaa/net/tls.py, line 187 yield

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-12 Thread Jason Tackaberry
On Wed, 2008-03-12 at 09:26 +0100, Dirk Meyer wrote: In that case I would loose the traceback. I wonder if that will work: | try: | ... | self._handshake = False | except: | self._handshake = False | type, value, tb = sys.exc_info() | raise type, value, tb Jason:

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-11 Thread Duncan Webb
Jason Tackaberry said the following, on 10.03.2008 23:58: On Mon, 2008-03-10 at 18:52 -0400, Jason Tackaberry wrote: kaa.rpc should allow something like 'localhost:' though. Or ':' which would correspond to ('', ) (which binds to all IPs). I'll update the code to allow this.

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-11 Thread Duncan Webb
Jason Tackaberry said the following, on 11.03.2008 04:10: On Mon, 2008-03-10 at 22:52 -0400, Justin Wetherell wrote: [...] File /usr/lib/python2.4/site-packages/kaa/rpc.py, line 693, in __init__ sock.connect(address).wait() File

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-11 Thread Justin Wetherell
I'm not sure if you guys think this is fixed but I am still getting the same (I think errors) on my remote Freevo box. I Updated Kaa and Freevo this morning. Freevo 1.8.0 r10501 ready File /usr/local/src/freevo/src/main.py, line 493, in ? kaa.main.run() File

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-11 Thread Jason Tackaberry
On Tue, 2008-03-11 at 09:31 -0400, Justin Wetherell wrote: File ../base/build/lib.linux-i686-2.4/kaa/notifier/main.py, line 140, in run skin.set_base_fxd(self.skin) File ../base/build/lib.linux-i686-2.4/kaa/notifier/main.py, line 110, in loop import skin# The skin class

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-11 Thread Justin Wetherell
I just did a python setup.py clean/build/install in both kaa and freevo and I'm still getting the same problem but I think the traceback is slightly different here. Freevo 1.8.0 r10501 ready File /usr/local/src/freevo/src/main.py, line 493, in ? kaa.main.run() File

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-11 Thread Duncan Webb
Justin Wetherell said the following, on 11.03.2008 14:56: I just did a python setup.py clean/build/install in both kaa and freevo and I'm still getting the same problem but I think the traceback is slightly different here. File ../base/build/lib.linux-i686-2.4/kaa/notifier/main.py, line

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-11 Thread Justin Wetherell
Everything looks decent doing a find. /usr/lib/python2.4/site-packages/kaa/notifier/main.py /usr/lib/python2.4/site-packages/kaa/notifier/main.pyc /usr/lib/python2.4/site-packages/kaa/notifier/main.pyo /usr/lib/python2.4/site-packages/kaa/popcorn/backends/xine/main.py

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-11 Thread Duncan Webb
Justin Wetherell wrote: Everything looks decent doing a find. /usr/lib/python2.4/site-packages/kaa/notifier/main.py /usr/lib/python2.4/site-packages/kaa/notifier/main.pyc /usr/lib/python2.4/site-packages/kaa/notifier/main.pyo

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-11 Thread Jason Tackaberry
On Tue, 2008-03-11 at 19:10 +0100, Duncan Webb wrote: File ../base/build/lib.linux-i686-2.4/kaa/notifier/main.py, line 110, in loop import skin# The skin class This is you problem file: ../base/build/lib.linux-i686-2.4/kaa/notifier/main.py The thing is, look

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-11 Thread Justin Wetherell
Here is the header of main.py, it looks like the notifier main.py # main.py - Main loop functions # - # $Id: main.py 3122 2008-02-21 10:21:38Z dmeyer $ # #

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-11 Thread Duncan Webb
Jason Tackaberry wrote: On Tue, 2008-03-11 at 19:10 +0100, Duncan Webb wrote: File ../base/build/lib.linux-i686-2.4/kaa/notifier/main.py, line 110, in loop import skin# The skin class This is you problem file: ../base/build/lib.linux-i686-2.4/kaa/notifier/main.py The

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-11 Thread Duncan Webb
Dirk Meyer wrote: Duncan Webb wrote: There is also an install problem in kaa, after the last update r3180. byte-compiling /usr/lib/python2.4/site-packages/kaa/net/tls.py to tls.pyc File /usr/lib/python2.4/site-packages/kaa/net/tls.py, line 187 yield

[Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-10 Thread Duncan Webb
I think that kaa.rpc is not working when the host is another machine address. It is fine when the IP adress is localhost or 127.0.0.1 but when using another IP address there does not seem to be any response. Any ideas what could be wrong? Duncan

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-10 Thread Jason Tackaberry
On Mon, 2008-03-10 at 22:59 +0100, Duncan Webb wrote: I think that kaa.rpc is not working when the host is another machine address. It is fine when the IP adress is localhost or 127.0.0.1 but when using another IP address there does not seem to be any response. Any ideas what could be

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-10 Thread Jason Tackaberry
On Mon, 2008-03-10 at 18:52 -0400, Jason Tackaberry wrote: kaa.rpc should allow something like 'localhost:' though. Or ':' which would correspond to ('', ) (which binds to all IPs). I'll update the code to allow this. Oh, of course if you are specifying ('localhost', ) on the

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-10 Thread Jason Tackaberry
On Mon, 2008-03-10 at 18:52 -0400, Jason Tackaberry wrote: kaa.rpc should allow something like 'localhost:' though. Or ':' which would correspond to ('', ) (which binds to all IPs). I'll update the code to allow this. I updated the code to use kaa.Socket, which allows addresses

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-10 Thread Justin Wetherell
I believe this is a result of the new rpc code... File /usr/local/src/freevo/src/main.py, line 493, in ? kaa.main.run() File ../base/build/lib.linux-i686-2.4/kaa/notifier/main.py, line 140, in run skin.set_base_fxd(self.skin) File ../base/build/lib.linux-i686-2.4/kaa/notifier/main.py,

Re: [Freevo-devel] kaa.rpc not working with a non-localhost

2008-03-10 Thread Jason Tackaberry
On Mon, 2008-03-10 at 22:52 -0400, Justin Wetherell wrote: [...] File /usr/lib/python2.4/site-packages/kaa/rpc.py, line 693, in __init__ sock.connect(address).wait() File /usr/lib/python2.4/site-packages/kaa/notifier/async.py, line 374, in wait main.loop(lambda: not