Update of /cvsroot/freevo/freevo/src/video/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv2419

Modified Files:
        mplayer.py 
Log Message:
Fix for this crash:

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/freevo/main.py", line 435, in ?
    child.poll()
  File "/usr/lib/python2.3/site-packages/freevo/childapp.py", line 610, in poll
    rc.post_event(self.stop_event())
  File "/usr/lib/python2.3/site-packages/freevo/video/plugins/mplayer.py", line 505, 
in stop_event
    print _( 'ERROR' ) + ': ' + self.exit_type + \
TypeError: cannot concatenate 'str' and 'NoneType' objects



Index: mplayer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/plugins/mplayer.py,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** mplayer.py  2 Jan 2004 11:17:35 -0000       1.56
--- mplayer.py  11 Jan 2004 23:21:58 -0000      1.57
***************
*** 10,13 ****
--- 10,25 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.57  2004/01/11 23:21:58  outlyer
+ # Fix for this crash:
+ #
+ # Traceback (most recent call last):
+ #   File "/usr/lib/python2.3/site-packages/freevo/main.py", line 435, in ?
+ #     child.poll()
+ #   File "/usr/lib/python2.3/site-packages/freevo/childapp.py", line 610, in poll
+ #     rc.post_event(self.stop_event())
+ #   File "/usr/lib/python2.3/site-packages/freevo/video/plugins/mplayer.py", line 
505, in stop_event
+ #     print _( 'ERROR' ) + ': ' + self.exit_type + \
+ # TypeError: cannot concatenate 'str' and 'NoneType' objects
+ #
  # Revision 1.56  2004/01/02 11:17:35  dischi
  # cleanup
***************
*** 503,507 ****
              return USER_END
          else:
!             print _( 'ERROR' ) + ': ' + self.exit_type + \
                    _( 'unknow error while playing file' )
              return PLAY_END
--- 515,519 ----
              return USER_END
          else:
!             print _( 'ERROR' ) + ': ' + str(self.exit_type) + \
                    _( 'unknow error while playing file' )
              return PLAY_END




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to