Update of /cvsroot/freevo/freevo/src/tv In directory sc8-pr-cvs1:/tmp/cvs-serv19032
Modified Files: epg_xmltv.py Log Message: A couple try/excepy blocks that actually end up fixing a problem when scheduling a recording, record_server tried to init the display. This was tested on two people's systems. Index: epg_xmltv.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/tv/epg_xmltv.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** epg_xmltv.py 5 May 2003 01:33:24 -0000 1.17 --- epg_xmltv.py 2 Jun 2003 20:58:21 -0000 1.18 *************** *** 10,13 **** --- 10,16 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.18 2003/06/02 20:58:21 rshortt + # A couple try/excepy blocks that actually end up fixing a problem when scheduling a recording, record_server tried to init the display. This was tested on two people's systems. + # # Revision 1.17 2003/05/05 01:33:24 outlyer # Show a popup when reading the cached guide too, for visual feedback on slower *************** *** 149,155 **** os.path.getmtime(config.XMLTV_FILE))): if DEBUG: print 'XMLTV, reading cached file (%s)' % pname if popup: popup.show() ! cached_guide = pickle.load(open(pname, 'r')) if popup: popup.destroy() --- 152,170 ---- os.path.getmtime(config.XMLTV_FILE))): if DEBUG: print 'XMLTV, reading cached file (%s)' % pname + if popup: popup.show() ! ! try: ! fd = open(pname, 'r') ! except: ! print 'DEBUG: failed open of %s' % pname ! traceback.print_exc() ! try: ! cached_guide = pickle.load(fd) ! except: ! print 'DEBUG: failed load of the pickle' ! traceback.print_exc() ! if popup: popup.destroy() ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog