← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 118700] Re: mytharchive fails with python error

 

Thank you for helping to improve Mythbuntu by opening this ticket.
Unfortunately the Mythbuntu team does not foresee a time when they will
be able to tackle this issue, so I am closing this ticket.  With that
being said, if someone else wants to write a patch for this, we will be
happy to help push it upstream. Please do not let that action deter you
from opening tickets on other issues that you find!


** Changed in: mythbuntu
       Status: Confirmed => Won't Fix

** Changed in: mythplugins (Ubuntu)
       Status: Triaged => Won't Fix

-- 
mytharchive fails with python error
https://bugs.launchpad.net/bugs/118700
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.

Status in Mythbuntu, Ubuntu derivative focused upon MythTV: Won't Fix
Status in MythTV: Invalid
Status in “mythplugins” package in Ubuntu: Won't Fix

Bug description:
Binary package hint: mytharchive



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.attributesfilename?.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