mythtv-status failing with Mythtv v0.22

Bug #512175 reported by Mike Loeffler
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mythtv-status (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

Binary package hint: mythtv-status

After upgrade to Mythbuntu 9.10 which includes Mythtv v0.22, mythtv-backend stopped updating the motd. Running /etc/init.d/mythtv-status refresh manually as root gave this message:

Unable to find any value for drive_total_total while looking at Total Disk Space
Unable to find any value for drive_total_used while looking at Total Disk Space
Something is wrong calculating the disk space percentage.

These same messages are mailed by cron every 10 minutes.

Running mythtv-status as root gave the expected output except for the total space area, where this text was inserted:

Total Disk Space: Total space is __drive_total_total__ MB, with __drive_total_used__ MB used (unknown)

The problem seems to be at line 246, this test is succeeding and the total space calculation is trying to run expecting the older XML file format.:

    'protocol_version' => [ ">= 32" ],

I have changed the line to this and it appears to be fixed:

    'protocol_version' => [ ">= 32 && < 39" ],

Revision history for this message
Dave Pusey (davepusey) wrote :

I also had the exact same problem.

The fix posted above worked for me too.

Revision history for this message
MarcRandolph (mrand) wrote :

Howdy, and thank you for helping to make Mythbuntu better. What version of mythtv-status is installed on your system? I suspect that this problem is likely addressed by https://bugs.launchpad.net/ubuntu/+source/mythexport/+bug/500396, so I'm going to mark it as a duplicate of that. If you don't believe this to be the case, please feel free to comment here.

Per Bug 500396, resolving this before 10.04 involves enabling the -testing repo and issuing a dist-upgrade command [which does NOT upgrade you to 10.04 at this time].

Here is the latest version:

$ apt-cache policy mythtv-status
mythtv-status:
  Installed: 0.9.2-3~mythbuntu1
  Version table:
 *** 0.9.2-3~mythbuntu1 0
        500 http://ppa.launchpad.net karmic/main Packages
        100 /var/lib/dpkg/status

Changed in mythtv-status (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Dave Pusey (davepusey) wrote :

I don't beleive this is a duplicate.

Bug 500396 is about dependency issues during installation.

This bug is about code that doesnt work correctly, after MythTV is upgraded to 0.22

Revision history for this message
MarcRandolph (mrand) wrote :

I was actually referring to that bug to point to the steps to work-around the problem you are having. I believe the bug was actually resolved per https://bugs.launchpad.net/ubuntu/+source/mythtv-status/+bug/455542

Sorry for the confusion!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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