LinHES Forums
http://forums.linhes.org/

SOLVED mythburn.py failing
http://forums.linhes.org/viewtopic.php?f=21&t=23672
Page 1 of 1

Author:  welner [ Fri Jan 04, 2013 6:06 am ]
Post subject:  SOLVED mythburn.py failing

i am running linhes 7.4 and have an issue when burning dvds. i havent tried burning a dvd in a while, so i dont know when this problem started exactly. i have tried several different files and get the same error:

Code:
[mythtv@mythtv logs]$ cat mythburn.log
/usr/lib/python2.6/site-packages/MythTV/dataheap.py:57: DeprecationWarning: object.__new__() takes no parameters
  return super(Artwork, cls).__new__(cls, attr, parent, imagetype)
Using simple_fix_rtl
mythburn.py (0.1.20120304-1) starting up...
script path:/usr/share/mythtv/mytharchive/scripts
myth share path:/usr/share/mythtv
passed job file: /myth/tmp/config/mydata.xml
passed progress log file: /myth/tmp/logs/progress.log
mythburn.py (0.1.20120304-1) starting up...
Found 2 CPUs
Obtaining MythTV settings from MySQL database for hostname mythtv
temppath: /myth/tmp/work
logpath:  /myth/tmp/logs
Setting process priority to 17
Processing Mythburn job number 1.
Options - mediatype = 0, doburn = 1, createiso = 0, erasedvdrw = 0
          savefilename = ''
Looking for: /usr/share/mythtv/mytharchive/themes/Black/theme.xml
Loading font 0, /usr/share/mythtv/fonts/FreeSans.ttf size 18
Loading font 1, /usr/share/mythtv/fonts/FreeSans.ttf size 13
wantIntro: 1, wantMainMenu: 1, wantChapterMenu: 0, wantDetailsPage: 0
Final DVD Video format will be ntsc
There are 2 file(s) to process
Pre-processing video 1: '/myth-extra2/video/file.mp4'
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/myth-extra2/video/file.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2012-12-07 03:38:10
  Duration: 00:42:19.69, start: 0.000000, bitrate: 932 kb/s
    Stream #0.0(und): Video: h264 (High), yuv420p, 720x404, 800 kb/s, 23.98 fps, 23.98 tbr, 96k tbn, 47.95 tbc
    Metadata:
      creation_time   : 2012-12-07 03:38:10
    Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16, 127 kb/s
    Metadata:
      creation_time   : 2012-12-07 03:38:12
/myth/tmp/work/1/streaminfo.xml:-
<?xml version="1.0" ?><!DOCTYPE FILEINFO><file cutduration="2539" duration="2539" filename="/myth-extra2/video/file.mp4" type="mov,mp4,m4a,3gp,3g2,mj2">   
        <streams count="2">       
                <video aspectratio="N/A" bitrate="800532" codec="h264 (High)" ffmpegindex="0" fps="23.976" height="404" id="1" start_time="0.8008" streamindex="0" width="720"/>       
                <audio bitrate="127991" channels="2" codec="aac" ffmpegindex="1" id="2" language="und" samplerate="48000" start_time="0" streamindex="1"/>       
        </streams>   
</file>
------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5182, in main
    processJob(job)
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 4874, in processJob
    preProcessFile(node,folder,filecount)
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1519, in preProcessFile
    getFileInformation(file, folder)
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1435, in getFileInformation
    if doesFileExist(vid.coverfile):
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 348, in doesFileExist
    return os.path.exists( file )
  File "/usr/lib/python2.6/genericpath.py", line 18, in exists
    st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, Artwork found
------------------------------------------------------------


it seems as though some arguments are getting passed into mythburn.py in an incorrect order or an argument is missing

has anyone else encountered this issue?

Author:  brfransen [ Fri Jan 04, 2013 9:46 am ]
Post subject:  Re: mythburn.py failing

I think this has been fixed in the latest builds.
Code:
sudo pacman -Syu

Author:  welner [ Fri Jan 04, 2013 10:46 am ]
Post subject:  Re: mythburn.py failing

thanks, that fixed it. i hadnt checked in a few days, looks like they just came out

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/