Hi all, and in particular Adam I hope This is for freevo version 1.9.0. When watching dvb tv with livepause, if I press the "REC" button on the remote I get an error saying global name 'current_buffer_time' is not defined in tv/plugins/livepause/record.py, line 66, in start_recording - see the traceback below.
Having done a search through the code, current_buffer_time only seems to appear in this file and I can't see where its value would be set, but maybe I'm not understanding something. However, on line 66, is current_buffer_time not rather meant to be start_time, set on line 65 or line 60? Also there seems to be the same problem on line 69, the other occurrence of current_buffer_time. Yes I should test this myself, but I am currently running my distribution's packages and it will take me little time and effort to set up my own copy of the source and build it. Hmmm, since I am crashing on line 66 of record.py, that means the call to _get_program on line 56 didn't work, which looks like another problem as my guide is working. Oh well, one thing at a time. Thanks Philip 009-11-30 02:01:07,198 ERROR event callback Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/kaa/event.py", line 190, in handle handler(event) File "/usr/lib/python2.6/dist-packages/kaa/event.py", line 144, in __call__ super(EventHandler, self).__call__(event) File "/usr/lib/python2.6/dist-packages/kaa/nf_wrapper.py", line 86, in __call__ ret = super(NotifierCallback, self).__call__(*args, **kwargs) File "/usr/lib/python2.6/dist-packages/kaa/callback.py", line 212, in __call__ result = cb(*cb_args, **cb_kwargs) File "/usr/lib/python2.6/dist-packages/freevo/main.py", line 293, in eventhandler if not rc.app()(event): File "/usr/share/pyshared/freevo/tv/plugins/livepause/__init__.py", line 361, in eventhandler event_consumed = handler(event, menuw) File "/usr/share/pyshared/freevo/tv/plugins/livepause/__init__.py", line 442, in __playing_tv_record record.start_recording(self.backend, self.last_channel) File "/usr/share/pyshared/freevo/tv/plugins/livepause/record.py", line 66, in start_recording end_time = current_buffer_time + config.LIVE_PAUSE2_INSTANT_RECORD_LENGTH NameError: global name 'current_buffer_time' is not defined ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users