Re: [Freevo-users] DVD/CD with pictures
Duncan Webb wrote: Christian Lyra wrote: Hi there, I have a few cds/DVDs with pictures. Freevo is able to identify it and build the thumbnails, but when I select one of the pictures freevo gives a error saying that it couldnt find the given image. If I manually mount the CD everything works like expected. should I fill a bug report? I will investigate exactly what is going on with freevo mounting CD/DVDs. My guess is that you are using autofs to mount the drive? If you are then use another device name for freevo and change your ROM_DRIVES to point to this one. The reason is that freevo automatically mounts CD/DVD drives and the auto-mounter is un-mounting it. BTW USB sticks and cameras are a different story, as freevo does not automatically mount these. Duncan - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Traceback on shutdown with rel-1
John Molohan wrote: Duncan Webb wrote: John Molohan wrote: 2007-11-08 21:24:28,198 DEBUGautoshutdown.py (773): Executing syscall: ps -eo cmd | egrep -v grep | egrep (/|[[:space:]]|^)(urpm|urpmi|transcode|cdrecord|mplayer|xine|mencoder)($|[[:space:]]) 2007-11-08 21:24:28,241 DEBUGautoshutdown.py (756): no external process(es) running 2007-11-08 21:24:28,243 DEBUGautoshutdown.py (385): Shutdown issued by autoshutdown timer! 2007-11-08 21:24:28,244 DEBUGautoshutdown.py (492): shutdown wakeup 2007-11-08 21:24:31,801 DEBUGautoshutdown.py (454): No more recordings available 2007-11-08 21:24:31,802 DEBUGautoshutdown.py (732): Default wakeup at Fri Nov 9 13:00:00 2007 2007-11-08 21:24:31,803 DEBUGautoshutdown.py (478): Picked wakeup at Fri Nov 9 13:00:00 2007 2007-11-08 21:24:31,804 DEBUGautoshutdown.py (549): Wakeup-command /usr/local/bin/set_acpi.sh 2007-11-09 12:57 2007-11-08 21:24:31,805 DEBUGautoshutdown.py (773): Executing syscall: /usr/local/bin/set_acpi.sh 2007-11-09 12:57 2007-11-08 21:24:32,856 DEBUGautoshutdown.py (502): shutdown system 2007-11-08 21:24:33,895 ERRORremoved timer 1 Traceback (most recent call last): File /usr/lib/python2.5/site-packages/kaa/notifier/pynotifier/nf_generic.py, line 153, in step if not timer[ CALLBACK ](): File /usr/lib/python2.5/site-packages/kaa/notifier/timer.py, line 90, in __call__ return super(Timer, self).__call__(*args, **kwargs) File /usr/lib/python2.5/site-packages/kaa/notifier/nf_wrapper.py, line 96, in __call__ ret = super(NotifierCallback, self).__call__(*args, **kwargs) File /usr/lib/python2.5/site-packages/kaa/notifier/callback.py, line 168, in __call__ result = cb(*cb_args, **cb_kwargs) File /usr/lib/python2.5/site-packages/freevo/rc.py, line 624, in poll c[0](*c[4]) File /usr/lib/python2.5/site-packages/freevo/plugin.py, line 155, in poll_wrapper self.real_poll() File /usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py, line 386, in poll shutdown_action(action=Shutdown.SHUTDOWN_WAKEUP) File /usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py, line 503, in shutdown_action __cleanup_freevo() File /usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py, line 619, in __cleanup_freevo plugin.shutdown() File /usr/lib/python2.5/site-packages/freevo/plugin.py, line 352, in shutdown p.shutdown() File /usr/lib/python2.5/site-packages/freevo/www/__init__.py, line 57, in shutdown print 'Stopping webserver plugin.' File /usr/lib/python2.5/site-packages/freevo/config.py, line 129, in write sys.__stdout__.flush() IOError: [Errno 5] Input/output error This is a bit strange, looks as if stdout is already closed. What happens when the webserver is not started as a plug-in but as a daemon. This could, but I suspect doesn't, have anything to do with the kaa.notifier changes. Duncan I've been testing quite a bit recently so this could make sense as I was starting freevo from ssh sessions and from within screen sessions. Normally it would have been started as a daemon, I'll see if I can reproduce it. I don't think that screen would close the stdout, unless there is an option to do this in screen. Duncan - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Help !!!
Rahul Gosavi wrote: Hi, Still I am suffering from same problem I am not able to watch live tv on my freevo..I configured local.conf.py and freq.py file(please find the attachment) I tried to run same command which is coming in freevo log file but after that I am getting this .. I'm not really surprised that this is not working as mplayer does not support the ivtv driver with the tv:// url. You *need* to use the ivtv plugins and video groups VIDEO_GROUPS = [ VideoGroup(vdev = '/dev/video0', vvbi = '/dev/vbi0', adev = '/dev/adsp', input_type = 'Tuner 0', input_num = 4, #0 or 4, tuner_norm = CONF.tv, tuner_chanlist = CONF.chanlist, desc = 'PVR-350 Video Group', group_type = 'ivtv', record_group = None), ] plugin.remove('tv.generic_record') plugin_record = plugin.activate('tv.ivtv_record') You can find out more by searching for ivtv in the wiki. HTH Duncan *** [EMAIL PROTECTED] freevo]$ /usr/local/bin/mplayer -vo xv,sdl,x11, -fs -autosync 100 -nolirc -autoq 100 -screenw 800 -screenh 600 -fs -slave -nocache tv:// -tv driv er=v4l:freq=215.250:device=/dev/video0:input=0:norm=PAL:width=640:height=480 :out fmt=yuy2 , poll=0 MPlayer 1.0pre8-4.0.0 (C) 2000-2006 MPlayer Team CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Step ping: 9) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied Try adding echo 1024 /proc/sys/dev/rtc/max-user-freq to your system startup scripts. Playing tv://. Selected driver: v4l name: Video 4 Linux input author: Alex Beregszaszi comment: under development = WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!! As the V4L1 compatibility layer is broken, this may not work. If you encounter any problems, use driver=v4l2 instead. Bugreports on driver=v4l with v4l2 drivers will be ignored. = Selected device: WinTV PVR 350 Capabilites: capture tuner teletext Device type: 7 Supported sizes: 48x32 = 0x0 Inputs: 10 0: Composite 0: (tuner:0, norm:pal) 1: Composite 1: (tuner:0, norm:pal) 2: Composite 2: (tuner:0, norm:pal) 3: Composite 3: (tuner:0, norm:pal) 4: Tuner 0: tuner tv (tuner:1, norm:pal) 5: Composite 4: (tuner:0, norm:pal) 6: S-Video 0: (tuner:0, norm:pal) 7: S-Video 1: (tuner:0, norm:pal) 8: S-Video 2: (tuner:0, norm:pal) 9: S-Video 3: (tuner:0, norm:pal) ioctl get mbuf failed: Invalid argument Playing ,. File not found: ',' Failed to open ,. Playing poll=0. File not found: 'poll=0' Failed to open poll=0. Exiting... (End of file) * This Is My Freevo Log * [EMAIL PROTECTED] freevo]$ freevo Warning: freevo_config.py was changed, please check local_config.py You are using version 5.17, changes since then: The changelist has not been updated, please notify the developers! config.py (518): Logging to /var/log/freevo/main-505.log Error: TV_RECORD_DIR not set Please set TV_RECORD_DIR to the directory, where recordings should be stored or remove the tv plugin. Autoset variable to /home/rahul. Error: VIDEO_SHOW_DATA_DIR not found ROM_DRIVES: Auto-detected and added ('/media/cdrom', '/dev/hdc', 'CD-1') config.py (903): Using 'UTF-8' encoding WARNING: PyLirc not found, lirc remote control disabled! main.py (221): load basic skin settings: blurr osd.py (233): Couldnt load font arial_bold.ttf osd.py (239): trying alternate: verabd.ttf osd.py (233): Couldnt load font arial_bold.ttf osd.py (239): trying alternate: verabd.ttf osd.py (233): Couldnt load font arial_bold.ttf osd.py (239): trying alternate: verabd.ttf osd.py (233): Couldnt load font arial_bold.ttf osd.py (239): trying alternate: verabd.ttf osd.py (233): Couldnt load font arial_bold.ttf osd.py (239): trying alternate: verabd.ttf osd.py (233): Couldnt load font arial_bold.ttf osd.py (239): trying alternate: verabd.ttf osd.py (233): Couldnt load font arial_bold.ttf osd.py (239): trying alternate: verabd.ttf __init__.py (239): Building the xml hash database... __init__.py (271): done mplayer.py (102): MPlayer version is: 1.0pre8-4.0.0 mplayer.py (112): MPlayer version set to: 1.0 epg_xmltv.py (139): XMLTV, trying to read raw file (/tmp/TV.xml)
Re: [Freevo-users] dvdbackup.py typeerror in rel-1 current svn
John Molohan wrote: Hi, When choosing to backup a dvd title with divx 1400mb high quality I got this: 2007-11-13 21:07:43,544 DEBUGmplayer.py (101): u'dvd://17' good 2007-11-13 21:07:43,545 DEBUGxine.py (123): u'dvd://17' good Traceback (most recent call last): File /usr/lib/python2.5/site-packages/freevo/main.py, line 290, in eventhandler app.eventhandler(event) File /usr/lib/python2.5/site-packages/freevo/menu.py, line 789, in eventhandler action( arg=arg, menuw=self ) File /usr/lib/python2.5/site-packages/freevo/menu.py, line 92, in select self.function(arg=self.arg, menuw=menuw) File /usr/lib/python2.5/site-packages/freevo/video/plugins/dvdbackup.py, line 102, in create_job _debug_('arg=%r' % (arg)) TypeError: not all arguments converted during string formatting Thanks for the report John, Should be now fixed Duncan - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Traceback on shutdown with rel-1
John Molohan wrote: Duncan Webb wrote: John Molohan wrote: 2007-11-08 21:24:28,198 DEBUGautoshutdown.py (773): Executing syscall: ps -eo cmd | egrep -v grep | egrep (/|[[:space:]]|^)(urpm|urpmi|transcode|cdrecord|mplayer|xine|mencoder)($|[[:space:]]) 2007-11-08 21:24:28,241 DEBUGautoshutdown.py (756): no external process(es) running 2007-11-08 21:24:28,243 DEBUGautoshutdown.py (385): Shutdown issued by autoshutdown timer! 2007-11-08 21:24:28,244 DEBUGautoshutdown.py (492): shutdown wakeup 2007-11-08 21:24:31,801 DEBUGautoshutdown.py (454): No more recordings available 2007-11-08 21:24:31,802 DEBUGautoshutdown.py (732): Default wakeup at Fri Nov 9 13:00:00 2007 2007-11-08 21:24:31,803 DEBUGautoshutdown.py (478): Picked wakeup at Fri Nov 9 13:00:00 2007 2007-11-08 21:24:31,804 DEBUGautoshutdown.py (549): Wakeup-command /usr/local/bin/set_acpi.sh 2007-11-09 12:57 2007-11-08 21:24:31,805 DEBUGautoshutdown.py (773): Executing syscall: /usr/local/bin/set_acpi.sh 2007-11-09 12:57 2007-11-08 21:24:32,856 DEBUGautoshutdown.py (502): shutdown system 2007-11-08 21:24:33,895 ERRORremoved timer 1 Traceback (most recent call last): File /usr/lib/python2.5/site-packages/kaa/notifier/pynotifier/nf_generic.py, line 153, in step if not timer[ CALLBACK ](): File /usr/lib/python2.5/site-packages/kaa/notifier/timer.py, line 90, in __call__ return super(Timer, self).__call__(*args, **kwargs) File /usr/lib/python2.5/site-packages/kaa/notifier/nf_wrapper.py, line 96, in __call__ ret = super(NotifierCallback, self).__call__(*args, **kwargs) File /usr/lib/python2.5/site-packages/kaa/notifier/callback.py, line 168, in __call__ result = cb(*cb_args, **cb_kwargs) File /usr/lib/python2.5/site-packages/freevo/rc.py, line 624, in poll c[0](*c[4]) File /usr/lib/python2.5/site-packages/freevo/plugin.py, line 155, in poll_wrapper self.real_poll() File /usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py, line 386, in poll shutdown_action(action=Shutdown.SHUTDOWN_WAKEUP) File /usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py, line 503, in shutdown_action __cleanup_freevo() File /usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py, line 619, in __cleanup_freevo plugin.shutdown() File /usr/lib/python2.5/site-packages/freevo/plugin.py, line 352, in shutdown p.shutdown() File /usr/lib/python2.5/site-packages/freevo/www/__init__.py, line 57, in shutdown print 'Stopping webserver plugin.' File /usr/lib/python2.5/site-packages/freevo/config.py, line 129, in write sys.__stdout__.flush() IOError: [Errno 5] Input/output error This is a bit strange, looks as if stdout is already closed. What happens when the webserver is not started as a plug-in but as a daemon. This could, but I suspect doesn't, have anything to do with the kaa.notifier changes. Duncan Hi Duncan, I haven't been able to reproduce that error yet but got a different one on shutdown tonight. Freevo had been started by freevo -fs from a ssh session and this was on the console: Unhandled exception in thread started by bound method Identify_Thread.__bootstrap of Identify_Thread(Thread-2, stopped daemon) Traceback (most recent call last): File /usr/lib/python2.5/threading.py, line 482, in __bootstrap (most likely raised during interpreter shutdown):) File /usr/lib/python2.5/site-packages/freevo/config.py, line 124, in write lock.acquire() AttributeError: 'NoneType' object has no attribute 'acquire' This is a strange error from config as lock is a global object that is set at the beginning, the idea is to ensure that debug messages don't overlap from the main thread and other threads. Just in case I've added a test for lock. Duncan Freevo shut down but the PC didn't power off as it should. As mentioned in the feature request I think this could be due to the audioscrobbler plugin, I had disabled it over the last few days and had no problem. I re-enabled it today. /var/log/freevo/main-0.log shows: 2007-11-14 21:04:08,500 DEBUGchildapp.py (171): sending SeekRelative+15 to pid 19250 2007-11-14 21:56:13,105 DEBUGchildapp.py (442): stderr: no data, closing log 2007-11-14 21:56:13,600 DEBUGxine.py (135): '' possible 2007-11-14 21:56:13,604 DEBUGmplayer.py (98): u'dvd://' possible 2007-11-14 21:56:13,605 DEBUGxine.py (123): u'dvd://' good 2007-11-14 22:31:32,914 DEBUGautoshutdown.py (673): Scheduled recording 0 at Thu Nov 15 03:45:00 2007 is Thu 2007-11-15 03:45-04:45 (03:45) south-east.bbc1.bbc.co.uk Sign Zone:Michael Palin's New Europe 2007-11-14 22:31:32,915 DEBUGautoshutdown.py (773): Executing syscall: ps -eo cmd | egrep -v grep | egrep (/|[[:space:]]|^)(urpm|urpmi|transcode|cdrecord|mplayer|xine|mencoder)($|[[:space:]]) 2007-11-14
[Freevo-users] Help !!!
Hi, Still I am suffering from same problem I am not able to watch live tv on my freevo..I configured local.conf.py and freq.py file(please find the attachment) I tried to run same command which is coming in freevo log file but after that I am getting this .. *** [EMAIL PROTECTED] freevo]$ /usr/local/bin/mplayer -vo xv,sdl,x11, -fs -autosync 100 -nolirc -autoq 100 -screenw 800 -screenh 600 -fs -slave -nocache tv:// -tv driv er=v4l:freq=215.250:device=/dev/video0:input=0:norm=PAL:width=640:height=480 :out fmt=yuy2 , poll=0 MPlayer 1.0pre8-4.0.0 (C) 2000-2006 MPlayer Team CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Step ping: 9) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied Try adding echo 1024 /proc/sys/dev/rtc/max-user-freq to your system startup scripts. Playing tv://. Selected driver: v4l name: Video 4 Linux input author: Alex Beregszaszi comment: under development = WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!! As the V4L1 compatibility layer is broken, this may not work. If you encounter any problems, use driver=v4l2 instead. Bugreports on driver=v4l with v4l2 drivers will be ignored. = Selected device: WinTV PVR 350 Capabilites: capture tuner teletext Device type: 7 Supported sizes: 48x32 = 0x0 Inputs: 10 0: Composite 0: (tuner:0, norm:pal) 1: Composite 1: (tuner:0, norm:pal) 2: Composite 2: (tuner:0, norm:pal) 3: Composite 3: (tuner:0, norm:pal) 4: Tuner 0: tuner tv (tuner:1, norm:pal) 5: Composite 4: (tuner:0, norm:pal) 6: S-Video 0: (tuner:0, norm:pal) 7: S-Video 1: (tuner:0, norm:pal) 8: S-Video 2: (tuner:0, norm:pal) 9: S-Video 3: (tuner:0, norm:pal) ioctl get mbuf failed: Invalid argument Playing ,. File not found: ',' Failed to open ,. Playing poll=0. File not found: 'poll=0' Failed to open poll=0. Exiting... (End of file) * This Is My Freevo Log * [EMAIL PROTECTED] freevo]$ freevo Warning: freevo_config.py was changed, please check local_config.py You are using version 5.17, changes since then: The changelist has not been updated, please notify the developers! config.py (518): Logging to /var/log/freevo/main-505.log Error: TV_RECORD_DIR not set Please set TV_RECORD_DIR to the directory, where recordings should be stored or remove the tv plugin. Autoset variable to /home/rahul. Error: VIDEO_SHOW_DATA_DIR not found ROM_DRIVES: Auto-detected and added ('/media/cdrom', '/dev/hdc', 'CD-1') config.py (903): Using 'UTF-8' encoding WARNING: PyLirc not found, lirc remote control disabled! main.py (221): load basic skin settings: blurr osd.py (233): Couldnt load font arial_bold.ttf osd.py (239): trying alternate: verabd.ttf osd.py (233): Couldnt load font arial_bold.ttf osd.py (239): trying alternate: verabd.ttf osd.py (233): Couldnt load font arial_bold.ttf osd.py (239): trying alternate: verabd.ttf osd.py (233): Couldnt load font arial_bold.ttf osd.py (239): trying alternate: verabd.ttf osd.py (233): Couldnt load font arial_bold.ttf osd.py (239): trying alternate: verabd.ttf osd.py (233): Couldnt load font arial_bold.ttf osd.py (239): trying alternate: verabd.ttf osd.py (233): Couldnt load font arial_bold.ttf osd.py (239): trying alternate: verabd.ttf __init__.py (239): Building the xml hash database... __init__.py (271): done mplayer.py (102): MPlayer version is: 1.0pre8-4.0.0 mplayer.py (112): MPlayer version set to: 1.0 epg_xmltv.py (139): XMLTV, trying to read raw file (/tmp/TV.xml) epg_xmltv.py (186): XMLTV file (/tmp/TV.xml) missing! epg_xmltv.py (193): epg_xmltv.py: Only adding channels in list tvguide.py (128): update schedule USING CUSTOM FREQUENCY: chan=A16, freq=215250 logging child to /var/log/freevo/mplayer-stdout.log logging child to /var/log/freevo/mplayer-stderr.log self.t1.isAlive()=True, self.t2.isAlive()=True ChildApp.__init__(), pid=8820, app= /usr/local/bin/mplayer -vo xv,sdl,x11, -fs -autosync 100 -nolirc -autoq 100 -screenw 800 -screenh 600 -fs -slave -nocache tv:// -tv driver=v4l:freq=215.250:device=/dev/video0:input=0:norm=PAL:width=640:height =480:outfmt=yuy2 , poll=0 1195134554.39: started tv app tvguide.py (128): update schedule osd.py (233): Couldnt load font arial_bold.ttf osd.py (239): trying alternate: verabd.ttf
Re: [Freevo-users] DVD/CD with pictures
Christian Lyra wrote: Hi Duncan, My guess is that you are using autofs to mount the drive? No... no automount! just a /etc/fstab with: /dev/hdd/dvd iso9660 ro,user,noauto 0 0 ROM_DRIVES is empty as sugested by comments, so freevo can just find the drive. Comment is misleading it should be something like: ROM_DRIVES = [ ('/misc/dvd', '/dev/hdc', 'DVD'), ('/misc/dvdram', '/dev/hdd', 'DVD-RAM') ] in udev/rules.d/10-local.rules you need something like: KERNEL==hdc, SYMLINK+=cdrom dvd KERNEL==hdd, SYMLINK+=dvdram HTH Duncan If you are then use another device name for freevo and change your ROM_DRIVES to point to this one. The reason is that freevo automatically mounts CD/DVD drives and the auto-mounter is un-mounting it. BTW USB sticks and cameras are a different story, as freevo does not automatically mount these. Duncan - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] DVD/CD with pictures
Hi Duncan, My guess is that you are using autofs to mount the drive? No... no automount! just a /etc/fstab with: /dev/hdd/dvd iso9660 ro,user,noauto 0 0 ROM_DRIVES is empty as sugested by comments, so freevo can just find the drive. If you are then use another device name for freevo and change your ROM_DRIVES to point to this one. The reason is that freevo automatically mounts CD/DVD drives and the auto-mounter is un-mounting it. BTW USB sticks and cameras are a different story, as freevo does not automatically mount these. Duncan - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users -- Christian Lyra PoP-PR/RNP - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Traceback on shutdown with rel-1
Duncan Webb wrote: John Molohan wrote: Duncan Webb wrote: John Molohan wrote: 2007-11-08 21:24:28,198 DEBUGautoshutdown.py (773): Executing syscall: ps -eo cmd | egrep -v grep | egrep (/|[[:space:]]|^)(urpm|urpmi|transcode|cdrecord|mplayer|xine|mencoder)($|[[:space:]]) 2007-11-08 21:24:28,241 DEBUGautoshutdown.py (756): no external process(es) running 2007-11-08 21:24:28,243 DEBUGautoshutdown.py (385): Shutdown issued by autoshutdown timer! 2007-11-08 21:24:28,244 DEBUGautoshutdown.py (492): shutdown wakeup 2007-11-08 21:24:31,801 DEBUGautoshutdown.py (454): No more recordings available 2007-11-08 21:24:31,802 DEBUGautoshutdown.py (732): Default wakeup at Fri Nov 9 13:00:00 2007 2007-11-08 21:24:31,803 DEBUGautoshutdown.py (478): Picked wakeup at Fri Nov 9 13:00:00 2007 2007-11-08 21:24:31,804 DEBUGautoshutdown.py (549): Wakeup-command /usr/local/bin/set_acpi.sh 2007-11-09 12:57 2007-11-08 21:24:31,805 DEBUGautoshutdown.py (773): Executing syscall: /usr/local/bin/set_acpi.sh 2007-11-09 12:57 2007-11-08 21:24:32,856 DEBUGautoshutdown.py (502): shutdown system 2007-11-08 21:24:33,895 ERRORremoved timer 1 Traceback (most recent call last): File /usr/lib/python2.5/site-packages/kaa/notifier/pynotifier/nf_generic.py, line 153, in step if not timer[ CALLBACK ](): File /usr/lib/python2.5/site-packages/kaa/notifier/timer.py, line 90, in __call__ return super(Timer, self).__call__(*args, **kwargs) File /usr/lib/python2.5/site-packages/kaa/notifier/nf_wrapper.py, line 96, in __call__ ret = super(NotifierCallback, self).__call__(*args, **kwargs) File /usr/lib/python2.5/site-packages/kaa/notifier/callback.py, line 168, in __call__ result = cb(*cb_args, **cb_kwargs) File /usr/lib/python2.5/site-packages/freevo/rc.py, line 624, in poll c[0](*c[4]) File /usr/lib/python2.5/site-packages/freevo/plugin.py, line 155, in poll_wrapper self.real_poll() File /usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py, line 386, in poll shutdown_action(action=Shutdown.SHUTDOWN_WAKEUP) File /usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py, line 503, in shutdown_action __cleanup_freevo() File /usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py, line 619, in __cleanup_freevo plugin.shutdown() File /usr/lib/python2.5/site-packages/freevo/plugin.py, line 352, in shutdown p.shutdown() File /usr/lib/python2.5/site-packages/freevo/www/__init__.py, line 57, in shutdown print 'Stopping webserver plugin.' File /usr/lib/python2.5/site-packages/freevo/config.py, line 129, in write sys.__stdout__.flush() IOError: [Errno 5] Input/output error This is a bit strange, looks as if stdout is already closed. What happens when the webserver is not started as a plug-in but as a daemon. This could, but I suspect doesn't, have anything to do with the kaa.notifier changes. Duncan Hi Duncan, I haven't been able to reproduce that error yet but got a different one on shutdown tonight. Freevo had been started by freevo -fs from a ssh session and this was on the console: Unhandled exception in thread started by bound method Identify_Thread.__bootstrap of Identify_Thread(Thread-2, stopped daemon) Traceback (most recent call last): File /usr/lib/python2.5/threading.py, line 482, in __bootstrap (most likely raised during interpreter shutdown):) File /usr/lib/python2.5/site-packages/freevo/config.py, line 124, in write lock.acquire() AttributeError: 'NoneType' object has no attribute 'acquire' This is a strange error from config as lock is a global object that is set at the beginning, the idea is to ensure that debug messages don't overlap from the main thread and other threads. Just in case I've added a test for lock. Duncan Freevo shut down but the PC didn't power off as it should. As mentioned in the feature request I think this could be due to the audioscrobbler plugin, I had disabled it over the last few days and had no problem. I re-enabled it today. /var/log/freevo/main-0.log shows: 2007-11-14 21:04:08,500 DEBUGchildapp.py (171): sending SeekRelative+15 to pid 19250 2007-11-14 21:56:13,105 DEBUGchildapp.py (442): stderr: no data, closing log 2007-11-14 21:56:13,600 DEBUGxine.py (135): '' possible 2007-11-14 21:56:13,604 DEBUGmplayer.py (98): u'dvd://' possible 2007-11-14 21:56:13,605 DEBUGxine.py (123): u'dvd://' good 2007-11-14 22:31:32,914 DEBUGautoshutdown.py (673): Scheduled recording 0 at Thu Nov 15 03:45:00 2007 is Thu 2007-11-15 03:45-04:45 (03:45) south-east.bbc1.bbc.co.uk Sign Zone:Michael Palin's New Europe 2007-11-14 22:31:32,915 DEBUGautoshutdown.py (773): Executing syscall: ps -eo cmd | egrep -v grep | egrep
[Freevo-users] Rel-1 svn webserver - problem with in filenames
Hi, Files with an in the filename show up in the library view with thumbnails no problem but when you click on them. So this file: /mnt/removable/photos/gregs\ photos/greg\ and\ sarah/sarah\ \\ greg\ 001.jpg Gives this in the logs: convert_dir(self, dir_str='/mnt/removable/photos/gregs%20photos/greg%20and%20sarah/sarah%20%26%20greg%20050.jpg') convert_dir(self, dir_str='/var/cache/freevo/image_cache/mnt/removable/photos/gregs photos/greg and sarah/sarah greg 050.jpg.jpg') tableCell(self, data=div class=imagea href=javascript:openfoto('_mnt_removable_photos/gregs%20photos/greg%20and%20sarah/sarah%20%26%20greg%20050.jpg',1280,960)img src=_var_cache_freevo/image_cache/mnt/removable/photos/gregs photos/greg and sarah/sarah greg 050.jpg.jpg /br /sarah greg 050.jpg/a/div, opts=class=basic colspan=1) tableCell(self, data=nbsp;, opts=class=basic colspan=1) tableRowClose(self) tableClose(self) printSearchForm(self) printLinks(self, prefix=0) printFooter(self) __init__(self) auth_user(self, username=freevo, password=**) _render(self, GET /fileinfo.rpy?img=_mnt_removable_photos/gregs%20photos/greg%20and%20sarah/sarah%20%20greg%20001.jpgw=893h=670 HTTP/1.1) formValue(self, form={'h': ['670'], 'w': ['893'], 'img': ['_mnt_removable_photos/gregs photos/greg and sarah/sarah ']}, key=dir) formValue(self, form={'h': ['670'], 'w': ['893'], 'img': ['_mnt_removable_photos/gregs photos/greg and sarah/sarah ']}, key=img) formValue(self, form={'h': ['670'], 'w': ['893'], 'img': ['_mnt_removable_photos/gregs photos/greg and sarah/sarah ']}, key=h) formValue(self, form={'h': ['670'], 'w': ['893'], 'img': ['_mnt_removable_photos/gregs photos/greg and sarah/sarah ']}, key=w) But it displays as a broken image in the popup window. John - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Traceback on shutdown with rel-1
Duncan Webb wrote: John Molohan wrote: Duncan Webb wrote: John Molohan wrote: 2007-11-08 21:24:28,198 DEBUGautoshutdown.py (773): Executing syscall: ps -eo cmd | egrep -v grep | egrep (/|[[:space:]]|^)(urpm|urpmi|transcode|cdrecord|mplayer|xine|mencoder)($|[[:space:]]) 2007-11-08 21:24:28,241 DEBUGautoshutdown.py (756): no external process(es) running 2007-11-08 21:24:28,243 DEBUGautoshutdown.py (385): Shutdown issued by autoshutdown timer! 2007-11-08 21:24:28,244 DEBUGautoshutdown.py (492): shutdown wakeup 2007-11-08 21:24:31,801 DEBUGautoshutdown.py (454): No more recordings available 2007-11-08 21:24:31,802 DEBUGautoshutdown.py (732): Default wakeup at Fri Nov 9 13:00:00 2007 2007-11-08 21:24:31,803 DEBUGautoshutdown.py (478): Picked wakeup at Fri Nov 9 13:00:00 2007 2007-11-08 21:24:31,804 DEBUGautoshutdown.py (549): Wakeup-command /usr/local/bin/set_acpi.sh 2007-11-09 12:57 2007-11-08 21:24:31,805 DEBUGautoshutdown.py (773): Executing syscall: /usr/local/bin/set_acpi.sh 2007-11-09 12:57 2007-11-08 21:24:32,856 DEBUGautoshutdown.py (502): shutdown system 2007-11-08 21:24:33,895 ERRORremoved timer 1 Traceback (most recent call last): File /usr/lib/python2.5/site-packages/kaa/notifier/pynotifier/nf_generic.py, line 153, in step if not timer[ CALLBACK ](): File /usr/lib/python2.5/site-packages/kaa/notifier/timer.py, line 90, in __call__ return super(Timer, self).__call__(*args, **kwargs) File /usr/lib/python2.5/site-packages/kaa/notifier/nf_wrapper.py, line 96, in __call__ ret = super(NotifierCallback, self).__call__(*args, **kwargs) File /usr/lib/python2.5/site-packages/kaa/notifier/callback.py, line 168, in __call__ result = cb(*cb_args, **cb_kwargs) File /usr/lib/python2.5/site-packages/freevo/rc.py, line 624, in poll c[0](*c[4]) File /usr/lib/python2.5/site-packages/freevo/plugin.py, line 155, in poll_wrapper self.real_poll() File /usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py, line 386, in poll shutdown_action(action=Shutdown.SHUTDOWN_WAKEUP) File /usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py, line 503, in shutdown_action __cleanup_freevo() File /usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py, line 619, in __cleanup_freevo plugin.shutdown() File /usr/lib/python2.5/site-packages/freevo/plugin.py, line 352, in shutdown p.shutdown() File /usr/lib/python2.5/site-packages/freevo/www/__init__.py, line 57, in shutdown print 'Stopping webserver plugin.' File /usr/lib/python2.5/site-packages/freevo/config.py, line 129, in write sys.__stdout__.flush() IOError: [Errno 5] Input/output error This is a bit strange, looks as if stdout is already closed. What happens when the webserver is not started as a plug-in but as a daemon. This could, but I suspect doesn't, have anything to do with the kaa.notifier changes. Duncan I've been testing quite a bit recently so this could make sense as I was starting freevo from ssh sessions and from within screen sessions. Normally it would have been started as a daemon, I'll see if I can reproduce it. I don't think that screen would close the stdout, unless there is an option to do this in screen. Duncan If it was just a ssh session that had launched freevo -fs and then died? I'd hazard a guess that was probably it. John - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] Encodingserver traceback rel-1 svn
Hi, I choose h264 as the only modification then started the job and got this: Traceback (most recent call last): File /usr/lib/python2.5/site-packages/twisted/web/http.py, line 601, in requestReceived self.process() File /usr/lib/python2.5/site-packages/twisted/web/server.py, line 160, in process self.render(resrc) File /usr/lib/python2.5/site-packages/twisted/web/server.py, line 167, in render body = resrc.render(self) File /usr/lib/python2.5/site-packages/twisted/web/xmlrpc.py, line 117, in render defer.maybeDeferred(function, *args).addErrback( --- exception caught here --- File /usr/lib/python2.5/site-packages/twisted/internet/defer.py, line 107, in maybeDeferred result = f(*args, **kw) File /usr/lib/python2.5/site-packages/freevo/helpers/encodingserver.py, line 193, in xmlrpc_queueIt self.queue.startQueue() File /usr/lib/python2.5/site-packages/freevo/encodingcore.py, line 682, in startQueue if hasattr(self, 'currentjob'): File /usr/lib/python2.5/site-packages/freevo/encodingcore.py, line 751, in _runQueue File /usr/lib/python2.5/site-packages/freevo/encodingcore.py, line 311, in _GenerateCLMencoder MencoderMapping[self.acodec][2][0], MencoderMapping[self.acodec][2][1] % self.abrate, File /usr/lib/python2.5/site-packages/freevo/encodingcore.py, line 415, in _GCLMVideopass re_pal = re.compile('25.000 fps') type 'exceptions.KeyError': 'H.264' John - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] Freevo-1.7.4 has been released
Hi all, This is a very quick note to let you know that Freevo-1.7.4 has been released today. First I would very much like to thank everyone that has helped out with this release it is a very big release with tar ball reaching 20MB, from 12MB for 1.7.3. Special thanks to Tanja who has been busy fixing tricky bugs, Don for his work on the webserver configuration tools, Adam for his DVB streamer, Richard for his ivtv xine tv plug-in, Krasimir for the Audio and Video podcast plug-ins, John for his Geebox skin, Gorka and Frank, Pascal, Tanja, Lónyai, Razvan and Michel for their translations, hope I've not left any one out of this long list and if I have then I'm sorry that I've done so. Following the links on the ChangeLog wiki page http://doc.freevo.org/ChangeLog gives all the information, somehow I suspect that the change log may be missing a couple of items but hopefully not too many. Thanks too to everyone helping out be testing, answering questions on the lists and updates to the wiki. Hope you all enjoy this release Duncan - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] ITV was: Freevo-1.7.4 has been released
Hi First I would very much like to thank everyone that has helped out with this release it is a very big release with tar ball reaching 20MB, from 12MB for 1.7.3. Special thanks to Tanja who has been busy fixing tricky bugs, Don for his work on the webserver configuration tools, Adam for his DVB streamer, Richard for his ivtv xine tv plug-in, Krasimir for the Audio and Video podcast plug-ins, John for his Geebox skin, Gorka and Frank, Pascal, Tanja, Lónyai, Razvan and Michel for their translations, hope I've not left any one out of this long list and if I have then I'm sorry that I've done so. First... thanks for all good work! The new plugins are very nice. But, I´m having a little trouble getting the itv plugin to work. The documentation need a few corrections, like plugin.activate('itv') not 'iTV'. I was able to load the plugin and browse the options, but when I try to play a item freevo says that No player for this item found'. What I have to do? btw, I´m using the SVN version. -- Christian Lyra PoP-PR/RNP - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users