← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 653958] Re: mytharchive KeyError: 'ISO639Language0'

 

was fixed in
http://code.mythtv.org/trac/changeset/caaa0c4a32ccb02d20caae8d43ec66be610ea5f4/mythtv

** Bug watch added: code.mythtv.org/trac/ #9062
   http://code.mythtv.org/trac/ticket/9062

** Also affects: mythtv via
   http://code.mythtv.org/trac/ticket/9062
   Importance: Unknown
       Status: Unknown

** Changed in: mythbuntu
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/653958

Title:
  mytharchive KeyError: 'ISO639Language0'

Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
  Fix Released
Status in MythTV:
  Unknown

Bug description:
  Using mythtv 0.24.0~trunk26610-0ubuntu from daily builds.

  When using mytharchive it reports an error like this:
  Using simple_fix_rtl
  mythburn.py (0.1.20100626-1) starting up...
  script path:/usr/share/mythtv/mytharchive/scripts
  myth share path:/usr/share/mythtv
  QSqlDatabasePrivate::removeDatabase: connection 'DBManager0' is still in use, all queries will cease to work.
  Found 2 CPUs
  Obtaining MythTV settings from MySQL database for hostname htpc
  temppath: /var/lib/mytharchive/temp/work
  logpath:  /var/lib/mytharchive/temp/logs
  Traceback (most recent call last):
    File "/usr/share/mythtv/mytharchive/scripts/mythburn.py.bak", line 5529, in <module>
      main()
    File "/usr/share/mythtv/mytharchive/scripts/mythburn.py.bak", line 5414, in main
      preferredlang1 = defaultsettings["ISO639Language0"]
  KeyError: 'ISO639Language0'

  The problem is that ISO639Language0 and 1 have a NULL hostname (at least in my database).
  Therefore the fix is to change the sql statement on line 807 in /usr/share/mythtv/mytharchive/scripts/mythburn.py

To manage notifications about this bug go to:
https://bugs.launchpad.net/mythbuntu/+bug/653958/+subscriptions


References