← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 518193] [NEW] mythburn crashes only when called from within myth

 

Public bug reported:

Here we have a very weird issue with mytharchive.

Basically if go through the onscreen (mythtv menus) process for creating
a DVD I get to the log viewer and the process stalls after detecting the
number of cpus my box has.  This will leave an xml file in the config
folder thats created in my temp folder - which is handy - see further
down for why.  After running mytharchive in this manner there are errors
in the logs/mythburn.log file.  These are appended to the end of this
bug report.

The strange twist came when I tried running mythburn.py manually.  I ran the following commands:
cd /path/to/tempdir/config
python /path/to/mythburn.py

This caused the script to run as expected with no issues and about 45
minutes later a dvd popped out which is perfectly functional, no issues
what so ever.

-- below is paste of mythburn.log with traceback
Using simple_fix_rtl
mythburn.py (0.1.20090139-1) starting up...
script path:/usr/share/mythtv/mytharchive/scripts
myth share path:/usr/share/mythtv
passed job file: /var/lib/mytharchive/temp/config/mydata.xml
passed progress log file: /var/lib/mytharchive/temp/logs/progress.log
mythburn.py (0.1.20090139-1) starting up...
QSqlDatabasePrivate::removeDatabase: connection 'DBManager0' is still in use, all queries will cease to work.
Found 2 CPUs
Traceback (most recent call last):
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5463, in <module>
    main()
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5332, in main
    if not os.environ['PATH'].endswith(':'):
  File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
    raise KeyError(key)
KeyError: 'PATH'
--end of paste

** Affects: mythbuntu
     Importance: Undecided
         Status: New

-- 
mythburn crashes only when called from within myth
https://bugs.launchpad.net/bugs/518193
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: New

Bug description:
Here we have a very weird issue with mytharchive.

Basically if go through the onscreen (mythtv menus) process for creating a DVD I get to the log viewer and the process stalls after detecting the number of cpus my box has.  This will leave an xml file in the config folder thats created in my temp folder - which is handy - see further down for why.  After running mytharchive in this manner there are errors in the logs/mythburn.log file.  These are appended to the end of this bug report.

The strange twist came when I tried running mythburn.py manually.  I ran the following commands:
cd /path/to/tempdir/config
python /path/to/mythburn.py

This caused the script to run as expected with no issues and about 45 minutes later a dvd popped out which is perfectly functional, no issues what so ever.

-- below is paste of mythburn.log with traceback
Using simple_fix_rtl
mythburn.py (0.1.20090139-1) starting up...
script path:/usr/share/mythtv/mytharchive/scripts
myth share path:/usr/share/mythtv
passed job file: /var/lib/mytharchive/temp/config/mydata.xml
passed progress log file: /var/lib/mytharchive/temp/logs/progress.log
mythburn.py (0.1.20090139-1) starting up...
QSqlDatabasePrivate::removeDatabase: connection 'DBManager0' is still in use, all queries will cease to work.
Found 2 CPUs
Traceback (most recent call last):
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5463, in <module>
    main()
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5332, in main
    if not os.environ['PATH'].endswith(':'):
  File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
    raise KeyError(key)
KeyError: 'PATH'
--end of paste





Follow ups

References