Public bug reported:

Binary package hint: language-selector

During a normal aptitude full-upgrade session, fontconfig-voodoo gets an
exception in getUserDefaultLanguage.  I suspect this happens because my
.profile has ony rw------- permissions.  Looks like the code doesn't
handle failure very well...

Unpacking replacement language-selector ...
Preparing to replace language-selector-common 0.5.7 (using 
.../language-selector-common_0.5.8_all.deb) ...
Unpacking replacement language-selector-common ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_GB.utf8.cache...
Processing triggers for man-db ...
Processing triggers for python-support ...
Setting up language-selector-common (0.5.8) ...
Installing new version of config file 
/etc/fonts/conf.avail/69-language-selector-ja-jp.conf ...
Traceback (most recent call last):
  File "/usr/bin/fontconfig-voodoo", line 101, in <module>
    main()
  File "/usr/bin/fontconfig-voodoo", line 84, in main
    fc.setConfigBasedOnLocale()
  File "/usr/lib/python2.6/dist-packages/LanguageSelector/FontConfig.py", line 
113, in setConfigBasedOnLocale
    lang = self.li.getUserDefaultLanguage()[1]
  File "/usr/lib/python2.6/dist-packages/LanguageSelector/LocaleInfo.py", line 
231, in getUserDefaultLanguage
    for line in open(fname):
IOError: [Errno 13] Permission denied: '/home/gpk/.profile'

Processing triggers for python-central ...
Setting up language-selector (0.5.8) ...

Processing triggers for python-central ...
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initialising package states... Done

Current status: 0 updates [-2].
$ ls -l .profile
lrwxrwxrwx 1 gpk gpk 10 2010-01-14 19:38 .profile -> n/.profile
$ ls -l n/.profile
-rw------- 1 gpk gpk 467 2010-06-03 23:41 n/.profile
$ who am I
gpk      pts/3        2010-06-26 19:19 (localhost)
$

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: language-selector 0.5.8
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Sun Jun 27 09:52:41 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: language-selector

** Affects: language-selector (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
/usr/bin/fontconfig-voodoo crashes in install
https://bugs.launchpad.net/bugs/598973
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to