[mythtv] mytharchive PATH error

Paul Harrison mythtv at dsl.pipex.com
Tue Aug 15 20:40:40 UTC 2006



Peter Nobels wrote:
> 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'] += "/bin:/sbin:/usr/local/bin:/usr/bin:/opt/bin:" 
> + installPrefix +"/bin:"
> the script continues nicely.
>  
> Anyone having an idea?  Thx!
>   

Does the user that is running the frontend have a PATH environment 
variable setup?

Paul H.




More information about the mythtv-dev mailing list