Stafford Goodsell wrote:
Duncan Webb wrote:
Stafford Goodsell wrote:
Evan Hisey wrote:
Greetings,
Can someone enlighten me on this? (most versions should be obvious from
the text) This is the 1st time I've seriously played with anything using
python, so its probably something dumb.
I have managed to get 1.7.6.1 (from debian packages at
http://debian.geole.info/) working through alot of hacks and horrible
things, so I'm trying to get 1.8.2 to run cleanly from the unpacked
tarball, or at the very least, installed its own directory.
I eventually got to:
[EMAIL PROTECTED] freevo-1.8.2]$ \
PYTHONPATH=/usr/share/python-support/beautifulsoup/:/usr/share/python-support/python-elementtree/:/usr/lib/python-support/python-lirc/python2.4
./freevo
trying "/var/lib/freevo"...
[EMAIL PROTECTED] freevo-1.8.2]$
Here's the last bits of an strace -f if it helps:
28424 munmap(0xb73ef000, 8192) = 0
28424 stat64("/opt/freevo/freevo-1.8.2/src/event", 0xbfe1fbdc) = -1
ENOENT (No such file or directory)
28424 open("/opt/freevo/freevo-1.8.2/src/event.so",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
28424 open("/opt/freevo/freevo-1.8.2/src/eventmodule.so",
O_RDONLY|O_LARGEFILE)
= -1 ENOENT (No such file or directory)
28424 open("/opt/freevo/freevo-1.8.2/src/event.py",
O_RDONLY|O_LARGEFILE) = 8
28424 fstat64(8, {st_mode=S_IFREG|0644, st_size=19930, ...}) = 0
28424 open("/opt/freevo/freevo-1.8.2/src/event.pyc",
O_RDONLY|O_LARGEFILE) = 9
28424 fstat64(9, {st_mode=S_IFREG|0664, st_size=12602, ...}) = 0
28424 mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0)
= 0xb73ef000
28424 read(9,
"[EMAIL PROTECTED]"..., 8192) = 8192
28424 fstat64(9, {st_mode=S_IFREG|0664, st_size=12602, ...}) = 0
28424 read(9, "_GRID3t\20\0\0\0IMAGE_ZOOM_GRID4t\20\0\0\0"..., 8192) = 4410
28424 read(9, "", 8192) = 0
28424 close(9) = 0
...
lots of KILL and INT etc. signals being sent after here, so it looks
like its already decided to shutdown.
How did you install freevo? Have you got all the deps installed for
it? It looks like a broken install or several missing critical parts.
I am running it straight from a unpacked tarball.
Hmm, well the wiki has suddenly changed - it used to say you could do
this in the install instructions (and was the reason I chose freevo over
mythtv)...
Anyway, I did take a shot at installing it once (via `python2.4
./setup.py --prefix /opt/freevo`). I think it did pretty much the same
thing though - the python/zope crash thing, not the buggy silent exit thing.
strace output is rarely helpful; much better is the log with debug
enabled. This is done by adding to local_conf.py:
DEBUG = 1
LOGGING = logging.DEBUG
More than likely there is a configuration problem and the easiest way to
determine this is:
# freevo prompt
Python 2.4.4 (#1, Feb 11 2007, 17:31:10)
[GCC 3.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import config
>>> config.FREEVO_LOGDIR
'/var/log/freevo'
>>>
If there is an error it will show during the import. There will be a log
file created called /var/log/freevo/prompt-0.log (actually the name will
vary depending on your set-up.
Will you report back what you see?
Ah hah! Good thinking...
[EMAIL PROTECTED] freevo]$
PYTHONPATH=/usr/share/python-support/beautifulsoup/:/usr/share/python-support/python-elementtree/:/usr/lib/python-support/python-lirc/python2.4
freevo-1.8.2/freevo prompt
Python 2.4.4 (#2, Apr 15 2008, 23:43:20)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import config
trying "/var/lib/freevo"...
>>> config.FREEVO_LOGDIR
>>>
[EMAIL PROTECTED] freevo]$
Ok, so you were right, Duncan, and it hasnt loaded the local_conf.py I
was editing (/etc/freevo/local_conf.py).
I noticed the version number was wrong in
/var/log/freevo/prompt-<myuid>.log, so I guess it was loading parts of
the old systemwide installation. I removed that, and tried again. This
means I'm now stuck with using the newer kaa libraries that crash it,
although the prompt command still works ok. It did the exact same thing,
and here's what was in it the log the 2nd time:
================================================================================
Freevo 1.8.2 r10954 started at Fri Sep 12 13:29:20 2008
--------------------------------------------------------------------------------
2008-09-12 13:29:20,552 INFO config.py (522): LOGDIR: /var/log
/var/log/freevo
2008-09-12 13:29:20,552 INFO config.py (523): STATICDIR: /var/lib
/home/surge/.freevo/static
2008-09-12 13:29:20,553 INFO config.py (524): CACHEDIR: /var/cache
/var/cache/freevo
2008-09-12 13:29:20,556 INFO config.py (543): Loading freevo
configuration file "/home/surge/.freevo/freevo.conf"
2008-09-12 13:29:20,964 INFO new process watcher instance
Not amazingly helpful. Any more clues?
That looks like a known bug in a version of kaa-base. I think this may
have been fixed recently, can you update to the latest svn and try it
again? If that doesn't work you'll have to downgrade to the last
released version of kaa.
Make sure you do the following to clear out the old installation files
(adjust as your paths may require)
rm -rf /kaa/base/build
rm -rf /usr/lib/python2.5/site-packages/kaa*
python setup.py clean
python setup.py isntall
John
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users