[Sussex] MythArchive bails out with python error
David Morris
slug at greenacre.no-ip.com
Wed Feb 14 22:34:19 UTC 2007
I'm using mythTV 0.20 frontend on both Ubuntu Edgy/Feisty with my
backend running on Edgy. I'm able to record and do everything else
fine, however when I take a recording and try and create a DVD iso I get
this in the logs straight away and it stops.
2007-02-14 18:13:03 mythburn.py (0.1.20060910-1) starting up...
2007-02-14 18:13:03 Obtaining MythTV settings from MySQL database for
hostname pacifica
2007-02-14 18:13:04 Obtaining date and time settings from MySQL database
for hostname pacifica
2007-02-14 18:13:04 Processing Mythburn job number 1.
2007-02-14 18:13:04 Options - mediatype = 0, doburn = 0, createiso = 1,
erasedvdrw = 0
2007-02-14 18:13:04 savefilename = ''
2007-02-14 18:13:04 Looking for:
/usr/share/mythtv/mytharchive/themes/Compact/theme.xml
2007-02-14 18:13:04 Loading font 0, /usr/share/mythtv/FreeSans.ttf size 23
2007-02-14 18:13:04 Loading font 1, /usr/share/mythtv/FreeSans.ttf size 18
2007-02-14 18:13:04 Loading font 2, /usr/share/mythtv/FreeSans.ttf size 16
2007-02-14 18:13:04 wantIntro: 1, wantMainMenu: 1, wantChapterMenu:0,
wantDetailsPage: 0
2007-02-14 18:13:04 Final DVD Video format will be pal
2007-02-14 18:13:04 There are 1 files to process
2007-02-14 18:13:04 Pre-processing file '1035_20070213210000.mpg' of
type 'recording'
2007-02-14 18:13:04
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3393,
in <module>
processJob(job)
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3169,
in processJob
preProcessFile(node,folder)
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1045,
in preProcessFile
mediafile = os.path.join(recordingpath,
file.attributes["filename"].value)
File "posixpath.py", line 62, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
2007-02-14 18:13:04
------------------------------------------------------------
I'm guessing its because the filename = nothing, but any ideas how to
fix this problem?
Thanks for the help,
Dave
More information about the Sussex
mailing list