Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10986 closed Bug Report - General (fixed)

Submit hardware profile crash

Reported by: pmb@… Owned by: Raymond Wagner
Priority: trivial Milestone: 0.26
Component: MythTV - General Version: 0.25-fixes
Severity: low Keywords:
Cc: Ticket locked: no

Description

When I try to submit a hardware profile, I get a crash. I am using Fedora 17. In the user interface, I get "Encountered a problem while submitting your profile." In the frontend stdout I just get: 2012-08-10 13:03:23.204730 I Locking input devices 2012-08-10 13:03:29.673206 I Unlocking input devices

The Fedora crash report is attached, and I think it could be useful. For example:

MythDBError: Could not find database login credentials

I am using "mythfrontend version: fixes/0.25 [0.25.1-2.fc17 (c2c276d)] www.mythtv.org"

Attachments (3)

mythtv.txt (5.1 KB ) - added by anonymous 13 years ago.
mythtv-log.txt (23 bytes ) - added by pmb@… 13 years ago.
Command output after re-initialising config file
mythtv-log.2.txt (1.7 KB ) - added by pmb@… 13 years ago.
I made a mistake, here is the correct file.

Download all attachments as: .zip

Change History (10)

by anonymous, 13 years ago

Attachment: mythtv.txt added

comment:1 by Raymond Wagner, 13 years ago

Owner: set to Raymond Wagner
Status: newaccepted

The Python bindings should be searching for your database credentials in all the same places as mythfrontend. What mysql.txt/config.xml does your frontend report it is reading on startup in its logs?

by pmb@…, 13 years ago

Attachment: mythtv-log.txt added

Command output after re-initialising config file

comment:2 by pmb@…, 13 years ago

OK I may have found the problem: /home/fa2k/.mythtv/config.xml is completely empty. When I deleted it, it was re-generated, and that error went away.

The next error was: "MythTV.exceptions.MythBEError: Failed to connect to backend at blackhole.lan.fa2k.net:6543". Mythtv only listens on IPv6, but for some reason that address resolves to my IPv4 address as well, and that was used in the submission script. This is arguably a configuration issue on my part, and I set up a proxy to fix this.

With all that in place, I get the attached error.

by pmb@…, 13 years ago

Attachment: mythtv-log.2.txt added

I made a mistake, here is the correct file.

in reply to:  2 comment:3 by Raymond Wagner, 13 years ago

Replying to pmb@…:

The next error was: "MythTV.exceptions.MythBEError: Failed to connect to backend at blackhole.lan.fa2k.net:6543".

When not given a specific address to connect to, the Python bindings will connect to the master backend at the IP address defined for the master backend in the database. The fact that it is complaining about being unable to connect to a hostname means you have incorrectly specified a hostname in mythtv-setup where it asks for an IP.

comment:4 by Raymond Wagner, 13 years ago

The error listed in the attached log merely shows the hardware profiler is not robust against an invalid display profile. I'm not sure how you would have gotten a display profile with no preferred decoder.

comment:5 by pmb@…, 13 years ago

Good that it's understood. I have messed with the profiles a lot, but I don't have an empty profile in the UI.

comment:6 by Raymond Wagner <rwagner@…>, 13 years ago

Resolution: fixed
Status: acceptedclosed

In b5e154fe816742b18adcc73e409044f06a4b723e/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:7 by Raymond Wagner, 13 years ago

Milestone: 0.26
Version: 0.25-fixes
Note: See TracTickets for help on using tickets.