[mythtv-users] mythburn.py fail

Paul Harrison mythtv at dsl.pipex.com
Wed Jul 23 17:36:05 UTC 2008


Barry Quiel wrote:
> mythburn.py version: .0.1.20080628-1-fixes
>
> I'm trying to create a DVD with a few video files.  I pre-encoded them 
> to DVD format using mencoder w/ the following options:
>
> of=mpeg=1
> mpegopts=format=dvd
> srate=48000
> ofps=24000/1001
> ovc=lavc=1
> oac=lavc=1
> lavcopts=vcodec=mpeg2video:vrc_buf_size=1825:keyint=18:vrc_maxrate=9800:vbitrate=3250:aspect=16/9:acodec=ac3:abitrate=192
> vf=scale=720:480,harddup
> af=lavcresample=48000
>
>
> I then go through the myhtarchive screens add the files and use the 
> don't re-encode option.
>
> mythburn.py gives me the following output:
>
> 2008-07-21 01:09:15 mythburn.py (0.1.20080629-1-fixes) starting up...
> 2008-07-21 01:09:15 Found 4 CPUs
> 2008-07-21 01:09:15 Obtaining MythTV settings from MySQL database for 
> hostname myth-mbe.local
> 2008-07-21 01:09:15 temppath: /mythtv/temp/work
> 2008-07-21 01:09:15 logpath:  /mythtv/temp/logs
> 2008-07-21 01:09:15 Setting process priority to 10
> 2008-07-21 01:09:15 Processing Mythburn job number 1.
> 2008-07-21 01:09:15 Options - mediatype = 0, doburn = 1, createiso = 0, 
> erasedvdrw = 0
> 2008-07-21 01:09:15           savefilename = ''
> 2008-07-21 01:09:15 Looking for: 
> /usr/share/mythtv/mytharchive/themes/Compact/theme.xml
> 2008-07-21 01:09:15 Loading font 0, /usr/share/mythtv/FreeSans.ttf size 19
> 2008-07-21 01:09:15 Loading font 1, /usr/share/mythtv/FreeSans.ttf size 15
> 2008-07-21 01:09:15 Loading font 2, /usr/share/mythtv/FreeSans.ttf size 13
> 2008-07-21 01:09:15 wantIntro: 1, wantMainMenu: 1, wantChapterMenu:0, 
> wantDetailsPage: 0
> 2008-07-21 01:09:15 Final DVD Video format will be ntsc
> 2008-07-21 01:09:15 There are 5 files to process
> 2008-07-21 01:09:15 Pre-processing video 1: 
> '/mythtv/videos/TV/Battlestar Galactica/S03/BSG-S03E01.mpeg'
> 2008-07-21 01:09:15           BSG-S03E01
> 2008-07-21 01:09:15 
> ------------------------------------------------------------
> Traceback (most recent call last):
>    File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5427, 
> in main
>      processJob(job)
>    File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5129, 
> in processJob
>      preProcessFile(node,folder,filecount)
>    File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1792, 
> in preProcessFile
>      getFileInformation(file, folder)
>    File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1652, 
> in getFileInformation
>      desc = unicode(record[2], "UTF-8")
> TypeError: coercing to Unicode: need string or buffer, NoneType found
> 2008-07-21 01:09:15 
> ------------------------------------------------------------
>
>
> Any suggestions?
>
>
>
>   

Its choking on the information from the DB for that file.

Does the plot for that video contain any funny characters?

Could you run this query in MySql and report the results.

select title, director, plot, rating, inetref, year,
                        userrating, length, coverfile from videometadata
                        where filename= '/mythtv/videos/TV/Battlestar 
Galactica/S03/BSG-S03E01.mpeg';

That should all be on one line.

Paul H.




More information about the mythtv-users mailing list