[mythtv-commits] Ticket #10209: Mythfrontend fails to find mysql.txt when the home directory path contains non-ASCII
MythTV
noreply at mythtv.org
Sat Dec 17 17:06:11 UTC 2011
#10209: Mythfrontend fails to find mysql.txt when the home directory path contains
non-ASCII
-------------------------------------+-------------------------------------
Reporter: Göran Uddeborg | Type: Bug Report -
<goeran@…> | General
Status: new | Priority: minor
Milestone: unknown | Component: MythTV - General
Version: 0.24.1 | Severity: medium
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------
I have a standalone box running both frontend and backend. That works
fine.
Now I'm trying to run mythfrontend from my regular user account on another
machine. The path to my home directory is /home/göran, where the
o-diaeresis is UTF-8 encoded.
I have to enter settings like language and country, database server etc.
each time I start up mythfrontend. In the log it also complains that it
is unable to connect to the database, trying to connect to localhost
rather than the box running the mythbackend and database servers (named
pluto). Using "strace" I found that mythfrontend tries to open a file
under a path as if my home directory would have been encoded using
ISO-8859-1 (or maybe ISO-8859-15):
{{{
5036 open("/home/g\366ran/.mythtv/mysql.txt", O_RDONLY) = -1 ENOENT (No
such file or directory)
}}}
It does not have the same problem finding other files, like config.xml:
{{{
5036 open("/home/g\303\266ran/.mythtv/config.xml", O_RDONLY|O_CLOEXEC) =
12
}}}
Dong a soft link from "g\366ran" to "g\303\266ran" seems to be a
workaround. I haven't tried too much, but the more basic things seem to
work fine after having created it.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10209>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list