Opened 12 years ago
Closed 12 years ago
Last modified 12 years ago
#10986 closed Bug Report - General (fixed)
Submit hardware profile crash
Reported by: | 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)
Change History (10)
Changed 12 years ago by
Attachment: | mythtv.txt added |
---|
comment:1 Changed 12 years ago by
Owner: | set to Raymond Wagner |
---|---|
Status: | new → accepted |
Changed 12 years ago by
Attachment: | mythtv-log.txt added |
---|
Command output after re-initialising config file
comment:2 follow-up: 3 Changed 12 years ago by
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.
Changed 12 years ago by
Attachment: | mythtv-log.2.txt added |
---|
I made a mistake, here is the correct file.
comment:3 Changed 12 years ago by
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 Changed 12 years ago by
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 Changed 12 years ago by
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 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:7 Changed 12 years ago by
Milestone: | → 0.26 |
---|---|
Version: | → 0.25-fixes |
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?