Opened 8 years ago
Closed 7 years ago
Last modified 7 years ago
#12804 closed Bug Report - General (fixed)
MythTV.pm problem with blank <LocalHostName> in config.xml
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | Bindings - Perl | Version: | 0.28.0 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
When did a fresh install of Mythbuntu and it created a config.xml file for me with a blank <LocalHostName?> setting. Because of this, MythTV.pm was sending an ANN Monitor message with a blank hostname which then causes a Malformed ANN Monitor message from the backend which then disconnects. MythTV.pm thinks this means the backend is not there and generates an error that is not helpful.
I would suggest checking mysql_conf{hostname} to see if it is blank, and if so, set it to localhost or error out with a message to fix config.xml
This was found when trying to run /usr/share/doc/mythtv-backend/contrib/user-jobs/mythlink.pl on MythtV 0.28 on Mythbuntu 16.04.
Change History (2)
comment:1 Changed 7 years ago by
Owner: | set to David Hampton <mythtv@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
In 36f2724cfacee03d8677c76432d87ad8845a33cb/mythtv: