[mythtv-users] MythArchive problem

Matt Taylor matt at lindenelevator.com
Sat May 5 16:28:09 UTC 2007


On Thu, 2007-05-03 at 19:29 -0400, Steve Harrington wrote:
> Hello all,
> 
> This is my second install of MythTV Frontend on a particular PC in my
> house.  When I try
> to burn something from MythArchive, I get this error:
> 
> mythburn.py (0.1.20061201-1) starting up...
> Process priority 8
> script path:/usr/share/mythtv/mytharchive/scripts
> myth share path:/usr/share/mythtv
> passed job file: /home/steve/mythwork/config/mydata.xml
> passed progress log file: /home/steve/mythwork/logs/progress.log
> mythburn.py (0.1.20061201-1) starting up...
> Found 1 CPUs
> Obtaining MythTV settings from MySQL database for hostname alien
> Processing Mythburn job number 1.
> Options - mediatype = 0, doburn = 1, createiso = 0, erasedvdrw = 0
>          savefilename = ''
> Looking for: /usr/share/mythtv/mytharchive/themes/Compact/theme.xml
> Loading font 0, /usr/share/mythtv/FreeSans.ttf size 19
> Loading font 1, /usr/share/mythtv/FreeSans.ttf size 15
> Loading font 2, /usr/share/mythtv/FreeSans.ttf size 13
> wantIntro: 1, wantMainMenu: 1, wantChapterMenu:0, wantDetailsPage: 0
> Final DVD Video format will be ntsc
> There are 1 files to process
> Pre-processing file '1501_20070503173000.mpg' of type 'recording'
> ------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3600, in
> <module>
>    processJob(job)
> File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3378, in
> processJob
>    preProcessFile(node,folder)
> File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1076, 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'
> ------------------------------------------------------------
> 
> Has anyone seen this before?  I tried googling this error but couldn't
> figure it out.
> I'm using Ubuntu Feisty if that helps.  I would guess that one of my
> paths is missing the
> '/' character by the error, but I can't find which one.
> 
> Thanks!

I get this same error when I run as a normal user.  Try starting
mythfrontend as root.  It seems to be an effective work around, but I
would like to have a fix.

Matt




More information about the mythtv-users mailing list