[mythtv-commits] Ticket #3569: mytharchive fails with python error
MythTV
mythtv at cvs.mythtv.org
Mon Jun 4 20:39:56 UTC 2007
#3569: mytharchive fails with python error
-------------------------+--------------------------------------------------
Reporter: anonymous | Owner: paulh
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mytharchive | Version: 0.20
Severity: medium |
-------------------------+--------------------------------------------------
Hi,
I'm using the 0.20svn20070122ubuntu3 package from ubuntu of mytharchive.
In my setup I've got a dedicated backend and a dedicated frontend. Since
my backend is under powered I wanted to run the archiving on the frontend.
The python error is here.
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 that either
* mytharchive looks on the localhost for the mythtv database to grab the
information about the recordings. However the database is actually on the
backend. In which case it should really connect to which ever backend is
set in the frontends config files to grab the info.
or
* the backend database hasn't got permission/a hostname entry for
mytharchive to dip into the database
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3569>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list