Re: [Freevo-users] Bug in XMLTV Listings?
Jim Duda wrote: Duncan, 1) My local_config.py is attached. 2) No background freevo processes on the machine which crashes, however, on another server machine I have web_server, rss_server, record_server, and encoding_server running. 3) no freevo crontabs 4) the machine is up all day, but the problem doesn't happen until I view TV guide. 5) I ran top and watched memory usage. When I select TV Guide, freevo takes 15-20 seconds for Preparing TV Guide. As this was happening, top shows python increasingly taking 62% of the memory. After I exit TV Guide, the memory is still consumed. If I then go to Watch a Movie-Videos and select an mpg to watch, I get the crash. I do use a cron job to grab the XMLTV listings. The cron job runs on the server machine. The machine which crashes is NFS mounted to the server machine. 0 2 * * * /usr/bin/tv_grab_na_dd --output /media/xmltv/TV.xml Jim Duncan Webb wrote: Jim Duda wrote: I think there is a bug/memory leak in maybe XMLTV listings or Scheduled Records. I'm having trouble pinning it down, as it's not consistent. Sometimes, when I view the XMLTV TV Listings under Watch-TV/TV Guide, in conjunction with viewing Scheduled Recordings, a subsequent attempt to watch a recorded video results in a freevo crash. If I use the top program, I see that Python has consumed 65% of my RAM (512M bytes). I have to reboot freevo to get things working again. I'm using the most recent released 1.7.2 version. How can I help track down this crash? I think that we need more information to help you. 1) It helps to post your local_config.py 2) Are you running any freevo processes in the background 3) Any freevo crontabs 4) How log is the machine up before it crashes Can you watch what is happening with top when you do certain activities with freevo, such as going into the tv guide, does the memory usage increase each time? How did you install python, built it yourself or installed from a package? # # Keep metadata in memory # Setting this variable will keep all cache files in memory. Startup will be # slower, but for large directories, this will speed up the display. # 0 = Only keep current dir in memory. Use this if you have too much data # and not enough RAM # 1 = Once loaded, keep cachefile for directory in memory # 2 = Load all cachefiles on startup # # WARNING: you should not run 'freevo cache' when freevo is running. # MEDIAINFO_USE_MEMORY = 1 I've never tried this but this may help, if it still works. Duncan --- Freevo (1.7.2) start at Tue Jun 12 08:31:02 2007 --- Error: VIDEO_SHOW_DATA_DIR not found ROM_DRIVES: Auto-detected and added ('/mnt/dvd', '/dev/dvd', 'DVD-1') PyLirc resumed! Traceback (most recent call last): File /usr/lib/python2.4/site-packages/freevo/main.py, line 290, in eventhandler app.eventhandler(event) File /usr/lib/python2.4/site-packages/freevo/menu.py, line 673, in eventhandler action( arg=arg, menuw=self ) File /usr/lib/python2.4/site-packages/freevo/video/videoitem.py, line 550, in play error = self.player.play(mplayer_options, self) File /usr/lib/python2.4/site-packages/freevo/video/plugins/xine.py, line 179, in play self.app = childapp.ChildApp2(command) File /usr/lib/python2.4/site-packages/freevo/childapp.py, line 369, in __init__ ChildApp.__init__(self, app, debugname, doeslogging) File /usr/lib/python2.4/site-packages/freevo/childapp.py, line 114, in __init__ self.child = util.popen3.Popen3(start_str) File /usr/lib/python2.4/site-packages/freevo/util/popen3.py, line 84, in Popen3 return Popen4(cmd, cwd=cwd) File /usr/lib/python2.4/site-packages/freevo/util/popen3.py, line 56, in __init__ popen2.Popen3.__init__(self, cmd, 1, 100) File /usr/lib/python2.4/popen2.py, line 46, in __init__ self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net
[Freevo-users] Dual tuner setup with analogue and dvb channels - recording and watching - experiences?
Hi all, I've just added a USB DVB-T card in addition to my pvr-150. I can get a number of channels from the DVB-T but a number of others are still only available through my pvr analogue card. I'm just wondering if anyone has experiences of both watching and recording from two different devices one being dvb the other analogue? John - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Bug in XMLTV Listings?
Jim Duda wrote: Duncan, Unfortunately, I cannot run without mounted NFS partitions. The client machine in question runs as a diskless machine which uses NFS for its root file system. Other tests I can run? Would it be possible to use a smb mount instead of nfs? The reason I ask is because I read somewhere that nfs had memory problems. So the intention is just to eliminate this from the possible causes and this is one thing that is a bit special about your set-up. It doesn't seem to be a general problem as nobody else has reported this type of problem. I used to have my freevo box running for weeks and would have expected to see a problem over this time. Duncan Duncan Webb wrote: Duncan, 1) My local_config.py is attached. 2) No background freevo processes on the machine which crashes, however, on another server machine I have web_server, rss_server, record_server, and encoding_server running. 3) no freevo crontabs 4) the machine is up all day, but the problem doesn't happen until I view TV guide. 5) I ran top and watched memory usage. When I select TV Guide, freevo takes 15-20 seconds for Preparing TV Guide. As this was happening, top shows python increasingly taking 62% of the memory. After I exit TV Guide, the memory is still consumed. If I then go to Watch a Movie-Videos and select an mpg to watch, I get the crash. I do use a cron job to grab the XMLTV listings. The cron job runs on the server machine. The machine which crashes is NFS mounted to the server machine. Is it possible to run without NFS mounted partitions? If so, can you try this and see if the memory usage still causes a crash? It will increase as the TV guide is loaded and I wouldn't expect it to go up further next time you go into the TV guide. 0 2 * * * /usr/bin/tv_grab_na_dd --output /media/xmltv/TV.xml Duncan Duncan Webb wrote: Jim Duda wrote: I think there is a bug/memory leak in maybe XMLTV listings or Scheduled Records. I'm having trouble pinning it down, as it's not consistent. Sometimes, when I view the XMLTV TV Listings under Watch-TV/TV Guide, in conjunction with viewing Scheduled Recordings, a subsequent attempt to watch a recorded video results in a freevo crash. If I use the top program, I see that Python has consumed 65% of my RAM (512M bytes). I have to reboot freevo to get things working again. I'm using the most recent released 1.7.2 version. How can I help track down this crash? I think that we need more information to help you. 1) It helps to post your local_config.py 2) Are you running any freevo processes in the background 3) Any freevo crontabs 4) How log is the machine up before it crashes Can you watch what is happening with top when you do certain activities with freevo, such as going into the tv guide, does the memory usage increase each time? How did you install python, built it yourself or installed from a package? Duncan - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Album Art
Sorry for the late reply... I just applied the patch against a running 1.7.2 version, and it seems to work. Haven't found a cover yet that won't show anymore :-) Thanks! Michel 2007/6/13, Ryan Roth [EMAIL PROTECTED]: Hmmsomething seems to have broken the SVN version. Freevo runs and then quits immediately, including daemon mode. Duncan Webb wrote: Wonder if sourceforge's mailing lists are broken at the moment? Try again. Michel Hoogervorst wrote: I tried removing /var/cache/freevo/* and indeed there were the album covers again... for once After returning to a previous played album, the covers are not shown anymore. Before I upgraded kaa, I had completely removed the directory /usr/lib/python2.4/site-packages/kaa. Is there another directory which should be removed? Michel It should but there is an overlay directory which can be relocated by configuring it in local_conf.py. The overlay directory has raw format images, including thumbnails of tv shows. Personally I split the two up the real cache is in /var/cache/freevo and the overlay is in /var/lib/freevo. I've found the bug and am surprised that this worked before. The attached album-art patch should fix the problem. The cover patch is contains my debugging messages that were used to track down the problem. You may not want to update you svn version at the moment, until Adam has fixed the buttonbar code. The buttonbar plug-in is really quite a nice feature for people with the coloured button on their remote controls. Duncan - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Problem with Freevo on Mandriva 2007.1
OK I got the log file ... It is ending by: Error: TV_RECORD_DIR not found Error: VIDEO_SHOW_DATA_DIR not found WARNING: Could not initialize PyLirc! 2007/6/13, Tommy Doucet [EMAIL PROTECTED]: I'll take a look at those files tonight ... 2007/6/13, Elizabeth Dodd [EMAIL PROTECTED]: On Wednesday 13 June 2007 09:24, Tommy Doucet wrote: I installed Freevo with urpmi packages on Mandriva 2007.1, after the installation was completed, I run freevo setup and freevo cache in a console. When I try to start freevo in a console, it changes resolution to what supposed to, it freezes my mouse and the GUI is not appearing at all, I must log off and log back in to get my mouse back working. In the logs I got 3 errors, 2 about directory location ... (DIR_TV_RECORD and another one) and pylirc problems I run freevo on this hardware: ECS 741gx-m motherboard XP 2800+ 512mb DDR FX 5200 TV-Out ATI TV Wonder PRO pci + Remote Wonder USB Maxtor 40gb hard drive My TV provider is StarChoice Thanks a lot Tom Tom, I don't have the answer but the guys here who can help will want to know exactly what the errors say and see local_conf.py and freevo.conf from /home/user/.freevo/ -- There once was a man who went to a computer trade show. Each day as he entered, the man told the guard at the door: I am a great thief, renowned for my feats of shoplifting. Be forewarned, for this trade show shall not escape unplundered. This speech disturbed the guard greatly, because there were millions of dollars of computer equipment inside, so he watched the man carefully. But the man merely wandered from booth to booth, humming quietly to himself. When the man left, the guard took him aside and searched his clothes, but nothing was to be found. On the next day of the trade show, the man returned and chided the guard saying: I escaped with a vast booty yesterday, but today will be even better. So the guard watched him ever more closely, but to no avail. On the final day of the trade show, the guard could restrain his curiosity no longer. Sir Thief, he said, I am so perplexed, I cannot live in peace. Please enlighten me. What is it that you are stealing? The man smiled. I am stealing ideas, he said. -- Geoffrey James, The Tao of Programming - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Problem with Freevo on Mandriva 2007.1
Tommy Doucet wrote: OK I got the log file ... It is ending by: Error: TV_RECORD_DIR not found This is the directory where the tv recordings are saved Error: VIDEO_SHOW_DATA_DIR not found This is the directory where the tv thumbnails are saved, doesn't have to be set. WARNING: Could not initialize PyLirc! Only means that your remote won't work. As you have one you need to install lirc and pylirc. When the lirc daemon is running you can test lirc with: irw press some buttons and it should show you what button is being pressed ircat --config=/etc/freevo/lircrc freevo will show you how the buttons map to freevo. For the problems below we need some more info, local_conf.py, freevo.conf what your xorg default size is. Duncan 2007/6/13, Tommy Doucet [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: I'll take a look at those files tonight ... 2007/6/13, Elizabeth Dodd [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: On Wednesday 13 June 2007 09:24, Tommy Doucet wrote: I installed Freevo with urpmi packages on Mandriva 2007.1, after the installation was completed, I run freevo setup and freevo cache in a console. When I try to start freevo in a console, it changes resolution to what supposed to, it freezes my mouse and the GUI is not appearing at all, I must log off and log back in to get my mouse back working. In the logs I got 3 errors, 2 about directory location ... (DIR_TV_RECORD and another one) and pylirc problems I run freevo on this hardware: ECS 741gx-m motherboard XP 2800+ 512mb DDR FX 5200 TV-Out ATI TV Wonder PRO pci + Remote Wonder USB Maxtor 40gb hard drive My TV provider is StarChoice Thanks a lot Tom Tom, I don't have the answer but the guys here who can help will want to know exactly what the errors say and see local_conf.py and freevo.conf from /home/user/.freevo/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Problem with Freevo on Mandriva 2007.1
2007/6/15, Duncan Webb [EMAIL PROTECTED]: Tommy Doucet wrote: OK I got the log file ... It is ending by: Error: TV_RECORD_DIR not found This is the directory where the tv recordings are saved Error: VIDEO_SHOW_DATA_DIR not found This is the directory where the tv thumbnails are saved, doesn't have to be set. WARNING: Could not initialize PyLirc! Only means that your remote won't work. As you have one you need to install lirc and pylirc. When the lirc daemon is running you can test lirc with: irw press some buttons and it should show you what button is being pressed ircat --config=/etc/freevo/lircrc freevo will show you how the buttons map to freevo. For the problems below we need some more info, local_conf.py, freevo.conf what your xorg default size is. Duncan 2007/6/13, Tommy Doucet [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: I'll take a look at those files tonight ... 2007/6/13, Elizabeth Dodd [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: On Wednesday 13 June 2007 09:24, Tommy Doucet wrote: I installed Freevo with urpmi packages on Mandriva 2007.1, after the installation was completed, I run freevo setup and freevo cache in a console. When I try to start freevo in a console, it changes resolution to what supposed to, it freezes my mouse and the GUI is not appearing at all, I must log off and log back in to get my mouse back working. In the logs I got 3 errors, 2 about directory location ... (DIR_TV_RECORD and another one) and pylirc problems I run freevo on this hardware: ECS 741gx-m motherboard XP 2800+ 512mb DDR FX 5200 TV-Out ATI TV Wonder PRO pci + Remote Wonder USB Maxtor 40gb hard drive My TV provider is StarChoice Thanks a lot Tom Tom, I don't have the answer but the guys here who can help will want to know exactly what the errors say and see local_conf.py and freevo.conf from /home/user/.freevo/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users