Okay, I'm officially giving up on ever getting current on the backlog of
mailing list entries on the Freevo mailing lists. It just got out of control
and I let it slide too long and now I'm making a fresh start of it all. So
having said that, I apologize in advance if this is something that was just
recently discussed and corrected. I did search through the mailing list
archives but couldn't find anything.
I've been running the SVN version of Freevo for a long time, but I hadn't
updated it in quite a while. So today I figured I'd update and see how many
things on my personal to-fix list had been done by someone else (I've seen at
least one already). Figured it would be a piece of cake, an hour's work at the
most, right?
I got the latest SVN from the server and installed it. But then it said it
needed the latest version of Kaa (I always forget that). So I got the latest
version of Kaa, but only Kaa.base would install. Finally found out that I
needed to get and install the python setup tools. Didn't realize that at first
though, so upgraded to Python 2.6 thinking that might be the problem.
Kaa.beacon wouldn't install, needed to get glib 2.4 so kaa.db would compile...
etc etc etc.
Currently, the front-end works fine, at least through all the paces I've put
it. But the recordserver won't keep running and the webserver wedges when
trying to start (CTRL-C will shut it down).
To the best of my sniffing around, it looks like the RPC setup is failing, and
it's failing because at least in the recordserver (not sure about the
webserver) the socket variable is being passed as a tuple, but the kaa.socket
module is expecting a 'string or 4tuple'. Here, I'll paste in the exception
dump:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py",
line 1489, in <module>
main()
File "/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py",
line 1458, in main
rpc = kaa.rpc.Server(socket, secret)
File "/usr/local/lib/python2.6/site-packages/kaa/base/rpc.py", line 171, in
__init__
self._socket.listen(address)
File "/usr/local/lib/python2.6/site-packages/kaa/base/sockets.py", line 450,
in listen
sock, addr = self._make_socket(bind_info, overwrite=True)
File "/usr/local/lib/python2.6/site-packages/kaa/base/sockets.py", line 380,
in _make_socket
addr = self._normalize_address(addr)
File "/usr/local/lib/python2.6/site-packages/kaa/base/sockets.py", line 355,
in _normalize_address
raise ValueError('Invalid address specification (must be str, or 4-tuple)
[%s]' % len(addr))
ValueError: Invalid address specification (must be str, or 4-tuple) [2]
WARNING: Invalid address specification (must be str, or 4-tuple) [2]
In the main of recordserver, the socket variable is being set up with ''
(blank) for the host and whatever socket is specified in the config (I swear I
read in one of the modules that blank hostname would bind to all interfaces).
That goes merrily down the list until _normalize_address performs some sanity
checks and rejects it for only having two parts when its expecting four.
On the off-chance I caught the SVN version when something was in a known broken
state, I stepped back to the hot-out-of-the-oven 1.9.0 release but alas, it
does the exact same thing. I can't imagine everyone is having this problem or
there would be a serious public outcry (and 1.9.0 wouldn't have been released
in that state). I have completely cleared out the kaa and freevo directories in
site-packages and done fresh installs a few times now, but to no avail.
Can anyone offer any help? Especially before my next show is slated to record?
^_^ Of course it goes without saying that the time and effort all of you have
put into this is deeply appriciated. Such a full-featured product for free is
quite a rarity.
And I promise to do my best to keep up with the mail flow this time!
Quick overview:
(Hardware available on request, but I omitted it since I don't think it's a
problem)
Debian 2.6.18-6
Python 2.6
Kaa SVN build 4253
Freevo 1.9.0 and Freevo SVN build 11630 (same symptoms on either one)
Problem: Front end runs fine, recordserver fails trying to start RPC listening,
webserver wedges on startup
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users