[mythtv] mytharchive PATH error

Peter Nobels pnobels at gmx.net
Tue Aug 15 19:56:00 UTC 2006


Hi,
 
when executing a mytharchive job using the frontend the following is
viewed from the logs :
 
mythburn.py (0.1.20060815-1) starting up...
Process priority 8
script path:/usr/share/mythtv/mytharchive/scripts
myth share path:/usr/share/mythtv
passed job file: /mnt/data/archive/config/mydata.xml
passed progress log file: /mnt/data/archive/logs/progress.log
mythburn.py (0.1.20060815-1) starting up...
Traceback (most recent call last):
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3160,
in ?
    if not os.environ['PATH'].endswith(':'):
  File "/usr/lib/python2.3/UserDict.py", line 19, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: 'PATH'

When commenting out the lines as following in mythburn.py :
 
#if not os.environ['PATH'].endswith(':'):
#    os.environ['PATH'] +#os.environ['PATH'] +installPrefix +"/bin:"

the script continues nicely.
 
Anyone having an idea?  Thx!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20060815/fbfd740d/attachment.htm 


More information about the mythtv-dev mailing list