[Bug 1304143] Re: ImportError: cannot import name 'ki18n' when launching gdebi-kde

Hugo Piquer 1304143 at bugs.launchpad.net
Sat Apr 19 03:55:25 UTC 2014


Problem with python3 internalization.

Patches from Michael Werle to solve the problem here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743756

Patches tested, no more error messages and gdebi works.

Patches fix:
For gdebi-kde:
* Fix ki18n import: from kdeui to kdecore
* Replace ugettext with gettext
* Pass bytes rather than strings to ki18n

For GDebi/GDebiKDE.py:
*replace QStringList with list
*replace string operations with str

Thanks to Michael Werle.


** Bug watch added: Debian Bug tracker #743756
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743756

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gdebi in Ubuntu.
https://bugs.launchpad.net/bugs/1304143

Title:
  ImportError: cannot import name 'ki18n' when launching gdebi-kde

Status in “gdebi” package in Ubuntu:
  Confirmed

Bug description:
  On Ubuntu 14.04 when I launch gdebi-kde I get the following stacktrace
  message:

  Traceback (most recent call last):
    File "/usr/bin/gdebi-kde", line 27, in <module>
      from PyKDE4.kdeui import KApplication, KMessageBox, ki18n
  ImportError: cannot import name 'ki18n'

  I am using gdebi 0.9.5.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdebi/+bug/1304143/+subscriptions



More information about the foundations-bugs mailing list