mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #03636
[Bug 541042] Re: locale is not set up before mythtv-backend start causing problems in mythvideo with accentuated chars
This bug was fixed in the package mythtv - 1:0.24.0+fixes27305-0ubuntu1
---------------
mythtv (1:0.24.0+fixes27305-0ubuntu1) natty; urgency=low
[ Mario Limonciello ]
* New 0.24 checkout (27305)
* Modify the upstart script to load the LANG first. (LP: #541042)
* Modify configure_mythplugins_without_mythtv_installed.patch to remove
SYSROOT from the mytharchive build process for it's additional support
files. (LP: #674626)
* Remove unused package, mythmovies from build process.
* Clean up the dependencies of a few packages, and harden them to the binary
version.
* Disable XvMC as it's causing crashes. VDPAU is better off in these
situations anyhow (LP: #660833)
* Remove sparc support.
* Make sure mysql is pingable before starting the backend (LP: #609402)
* Fixup some linitians:
- Extra license files
- Longer extended descriptions
- Duplicated synopsis
- Init.d script
* Add a new debian/rules rule called 'update-upstream-changelog'.
This finds all of the most recent svn commit messages and
creates changelog entries.
* Add a debian/README.Debian for explaining how to work with the package.
* In the update-upstream-changelog rule, search for the word mythbuntu
in the version string. If found, find the latest version on the PPA
to compare against.
* Get rid of the newest-revision rule in favor of one that will actually
update the changelog/checkout to the new version.
* Add a new helper script debian/do-new-release.sh that will run all of
these common tasks in preparation for an upload to ubuntu.
[ Thomas Mashos ]
* Set backend to not respawn if it dies 2 times in 1 hour (LP: #654846)
* Move metadata scripts and internetcontent to mythtv-common
* Fixed Replaces for mythtv-common
* Added python and perl bindings as recommends for BE/FE
* Fixes replaces in control.in for mythtv-common (LP: #676791)
* Added bindings as recommends to FR and BE in control.in
* Added Breaks mythtv-backend to mythtv-common (LP: #677206)
* Added conflicts/replaces for mythplugins-dbg to mythtv-dbg
* Added script to find latest mythtv svn revision in PPA
-- Mario Limonciello <Mario_Limonciello@xxxxxxxx> Sat, 20 Nov 2010 13:19:58 -0600
** Changed in: mythtv (Ubuntu)
Status: Fix Committed => Fix Released
--
locale is not set up before mythtv-backend start causing problems in mythvideo with accentuated chars
https://bugs.launchpad.net/bugs/541042
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
Status in Mythbuntu, Ubuntu derivative focused upon MythTV: Fix Committed
Status in “mythtv” package in Ubuntu: Fix Released
Bug description:
Spotted that in 10.04, the locale is not set before mythtv-backend is started. This prevents mythtv-backend to find any file with non-ascii characters in the filename or the path (for example: /var/lib/mythtv/videos/Komödie/Dinner for one.avi is not found).
While starting mythbuntu-backend, the locale is POSIX. I modified "/etc/init/mythtv-backend.conf" for debug purpose:
#############################################
# MythTV Backend service
description "MythTV Backend"
author "Mario Limonciello <superm1@xxxxxxxxxx>"
start on (local-filesystems and net-device-up IFACE=lo)
stop on starting shutdown
#expect fork
respawn
script
USER=mythtv
ARGS="--logfile /var/log/mythtv/mythbackend.log --user $USER"
locale >/tmp/mythbackendboot.log
test -f /etc/default/mythtv-backend && . /etc/default/mythtv-backend || true
LANG=de_CH.utf8 /usr/bin/mythbackend $ARGS
end script
############################################
Result:
############################################
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
############################################
Adding LC_ALL=de_CH.utf8 LANG=de_CH.utf8 in front of /usr/bin/mythtv-backend does the trick, then everything works just perfect....
Where is locale supposed to be set up in this whole upstart-process?
References