Re: [Freevo-users] 1.8.2 dies at start
Stafford Goodsell wrote: An update on this problem for the mailinglist archives: After alot of headaches, I found out that when using PYTHONPATH, you need to leave off the last bit of the package directory, so it should have been PYTHONPATH=/opt/freevo/lib/python2.4/site-packages/, not PYTHONPATH=/opt/freevo/lib/python2.4/site-packages/kaa. Alot of the other wierdness has been solved when I did it properly and it now runs... sort of. I get a window with a menu anyway. Whats really wierd is that if I completely leave it out, I get this very nice error: Can't find all Python dependencies: No module named imlib2 Not really weird, the import is kaa.imlib2 where the '.' translates to a '/' in the Linux file system. Out of interest, why do you want to install kaa in a non-standard location? I would expect, using the defaults, that kaa would have been installed in /usr/lib/python2.4/site-packages/kaa and then you wouldn't have to mess around with setting PYTHONPATH and so preventing a few headaches. ;-) That completely threw me. I don't know if thats some odd behaviour of python, or what, but I would have thought giving it the wrong directory, should result in the same message. Duncan - 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=100url=/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] 1.8.2 dies at start
John Molohan wrote: 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?
Re: [Freevo-users] 1.8.2 dies at start
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? Duncan - 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=100url=/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] 1.8.2 dies at start
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. - 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=100url=/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] 1.8.2 dies at start
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. Evan - 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=100url=/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users