← Back to team overview

desktop-packages team mailing list archive

[Bug 833065] Re: fontconfig-voodoo crashed with TypeError in getUserDefaultLanguage(): expected string or buffer

 

In addition to bug #833785, another contradictory report - bug #838019 -
has been marked as a duplicate of this bug. On one hand it states
package language-selector-common 0.49, but on the other hand the
attached Traceback.txt indicates something else:

Traceback (most recent call last):
  File "/usr/bin/fontconfig-voodoo", line 102, in <module>
    main()
  File "/usr/bin/fontconfig-voodoo", line 88, in main
    fc.setConfigBasedOnLocale()
  File "/usr/lib/python2.7/dist-packages/LanguageSelector/FontConfig.py", line 114, in setConfigBasedOnLocale
    lang = self.li.getUserDefaultLanguage()[1]
  File "/usr/lib/python2.7/dist-packages/LanguageSelector/LocaleInfo.py", line 251, in getUserDefaultLanguage
    warnings.warn(msg)
------------------^^^
This tells me that the 0.48 version of LocaleInfo.py was used, not version 0.49.

@Philipp Dreimann and Edson T. Marques,
It would be great if you could let us know if the problem persists also after a reboot, or if it was a temporary glitch.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/833065

Title:
  fontconfig-voodoo crashed with TypeError in getUserDefaultLanguage():
  expected string or buffer

Status in “language-selector” package in Ubuntu:
  Fix Released
Status in “language-selector” source package in Oneiric:
  Fix Released

Bug description:
  $ lsb_release -rd 
  Description:	Ubuntu oneiric (development branch)
  Release:	11.10

  $ apt-cache policy language-selector
  language-selector:
    Installed: (none)
    Candidate: 0.48
    Version table:
       0.48 0
          500 http://archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages

  Error occured during updates

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: language-selector-common 0.48
  ProcVersionSignature: Ubuntu 3.0.0-9.13-generic 3.0.3
  Uname: Linux 3.0.0-9-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Wed Aug 24 17:11:30 2011
  ExecutablePath: /usr/bin/fontconfig-voodoo
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/fontconfig-voodoo --auto --quiet
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  PythonArgs: ['/usr/bin/fontconfig-voodoo', '--auto', '--quiet']
  SourcePackage: language-selector
  Title: fontconfig-voodoo crashed with TypeError in getUserDefaultLanguage(): expected string or buffer
  UpgradeStatus: Upgraded to oneiric on 2011-08-23 (0 days ago)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/833065/+subscriptions