Mythbuntu Control Centre restore fails

Bug #761189 reported by Paul Wright
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mythbuntu
Fix Released
Critical
Thomas Mashos
mythbuntu-common (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

On fresh Mythbuntu 10.10 (and Ubuntu 10.10 with Mythbuntu control centre installed on top)
After doing a backup, immediately attempting a restore fails with a script error:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.6/dist-packages/MythbuntuControlCentre/backend.py", line 252, in scriptedchanges
    for item in plugin_dictionary:
RuntimeError: dictionary changed size during iteration

Revision history for this message
Mario Limonciello (superm1) wrote :

Are you running 0.24 by chance? I think this might be cause because the jamu and mirobridge plugins aren't up to date.

Revision history for this message
Paul Wright (wrightpc-xtra) wrote :

Thanks for the reply.

This was a fresh install, so I think that is 0.23.1.

I do remember seeing a microbridge error when I ran the Control Centre.

Should I wait for the Mythbuntu 11.04 to come out? Any idea when? I would be happy to test on my systems.

Revision history for this message
Mario Limonciello (superm1) wrote :

Well that's a peculiar error if it's 0.23.1 and happening. Are there any other errors from the console?

Will double check if it happens on 0.24 / 11.04 too on my end.

Revision history for this message
Paul Wright (wrightpc-xtra) wrote :

I installed 11.04 and this still fails, still with the same error. This is from the 11.04beta2 ISO file, run from CD, no internet. Tried on two machines; HP dx2200 (P4-2.8 with 1G RAM) and also HP dc7600 (P4-2.8 with 2G RAM).

I note that 11.04 does not decode DVB-S streams correctly but 10.10 did (possibly a MythTV 0.24 issue).

Hopefully this helps. Thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mythbuntu-common - 0.59-0ubuntu1

---------------
mythbuntu-common (0.59-0ubuntu1) natty; urgency=low

  * Fix some spacing problems in bare.
  * Fix bare restore (LP: #761189)
  * Store bare configuration in /etc/default not /etc/mythbuntu-bare.
 -- Mario Limonciello <email address hidden> Sun, 17 Apr 2011 16:24:58 -0500

Changed in mythbuntu-common (Ubuntu):
status: New → Fix Released
Revision history for this message
Paul Wright (wrightpc-xtra) wrote :

Great! Thanks for your efforts Mario - much appreciated. :-)

Thomas Mashos (tgm4883)
Changed in mythbuntu:
status: New → Fix Committed
status: Fix Committed → Fix Released
Revision history for this message
Thomas Mashos (tgm4883) wrote :

Marking as Triaged. I've reproduced this with a users backup. It also appears to be an issue with mcc-backend, not mythbuntu-repos as I can reproduce the issue when launching MCC normally, but not when mcc-backend is started in a terminal (which is why I was never able to reproduce this previously)

Changed in mythbuntu:
importance: Undecided → Critical
status: Fix Released → Triaged
Revision history for this message
Thomas Mashos (tgm4883) wrote :

err, comment #7 should read mythbuntu-bare, not mythbuntu-repos

Revision history for this message
Thomas Mashos (tgm4883) wrote :

Not sure if we should consider the bug is in mythbuntu-bare or in MythbuntuControlCentre, but if I comment out line 259 of http://bazaar.launchpad.net/~mythbuntu/mythbuntu/mythbuntu-control-centre/view/head:/MythbuntuControlCentre/backend.py then it works. Not sure why it's failing the import, or why it's trying to import plugins at that point.

Reading the error message and assuming that the basis behind the error message is correct, I'm assuming that we shouldn't be deleting the item from the dictionary while iterating the dictionary. Subscribing superm1 (mythbuntu-control-centre developer) for comment.

Changed in mythbuntu:
assignee: nobody → Thomas Mashos (tgm4883)
Thomas Mashos (tgm4883)
Changed in mythbuntu:
status: Triaged → Fix Committed
Thomas Mashos (tgm4883)
Changed in mythbuntu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.