Your message dated Tue, 22 Apr 2014 13:03:44 +0000
with message-id <e1wcams-000237...@franck.debian.org>
and subject line Bug#743756: fixed in gdebi 0.9.5.4
has caused the Debian Bug report #743756,
regarding gdebi-kde does not run (various python errors)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
743756: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743756
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gdebi-kde
Version: 0.9.5.2
Severity: grave
Tags: l10n upstream patch
Justification: renders package unusable
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
Installed gdebi-kde and attempted to use it to install a package.
* What exactly did you do (or not do) that was effective (or
ineffective)?
1) Launching by double-clicking on a .deb file in Dolphin (KDE file explorer)
2) Launching from Terminal
* What was the outcome of this action?
1) Busy-cursor for a short while then nothing.
2) Displayed errros related to deprecated API usage. The first one was:
$ ./gdebi-kde
Traceback (most recent call last):
File "./gdebi-kde", line 27, in <module>
from PyKDE4.kdeui import KApplication, KMessageBox, ki18n
ImportError: cannot import name ki18n
* What outcome did you expect instead?
gdebi-kde interface to be displayed to allow me to install a package.
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (700, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.4-1vaiott1-amd64+ (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gdebi-kde depends on:
ii gdebi-core 0.9.5.2
ii kde-runtime 4:4.11.5-1
ii kdesudo 3.4.2.4-2
ii python3-pykde4 4:4.11.5-1+b1
pn python3:any <none>
Versions of packages gdebi-kde recommends:
ii shared-mime-info 1.2-1
gdebi-kde suggests no packages.
Author: Michael Werle <mi...@michaelwerle.com>
Description: Fix python3 internatlization bugs
* gdebi-kde: Fix ki18n import: from kdeui to kdecore
* gdebi-kde: Replace ugettext with gettext
* gdebi-kde: Pass bytes rather than strings to ki18n
Index: gdebi-0.9.5.2/gdebi-kde
===================================================================
--- gdebi-0.9.5.2.orig/gdebi-kde 2014-04-05 18:40:31.351044161 +0100
+++ gdebi-0.9.5.2/gdebi-kde 2014-04-05 18:40:56.091105029 +0100
@@ -23,8 +23,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
-from PyKDE4.kdecore import KCmdLineArgs, KAboutData, KCmdLineOptions
-from PyKDE4.kdeui import KApplication, KMessageBox, ki18n
+from PyKDE4.kdecore import KCmdLineArgs, KAboutData, KCmdLineOptions, ki18n
+from PyKDE4.kdeui import KApplication, KMessageBox
from optparse import OptionParser
from GDebi.GDebiKDE import GDebiKDE
@@ -42,7 +42,7 @@
gettext.bindtextdomain(localesApp, localesDir)
gettext.textdomain(localesApp)
t = gettext.translation(localesApp, localesDir, fallback=True)
- _ = t.ugettext
+ _ = t.gettext
data="/usr/share/gdebi"
@@ -57,12 +57,12 @@
#Don't edit from this point
appName = "gdebi-kde"
catalog = ""
- programName = ki18n ("GDebi")
+ programName = ki18n (bytes("GDebi", 'utf-8'))
version = "1.0"
- description = ki18n (".deb Package Installer")
+ description = ki18n (bytes(".deb Package Installer", 'utf-8'))
license = KAboutData.License_GPL
- copyright = ki18n ("(c) 2005-2007 Martin Böhm, 2008 Canonical Ltd")
- text = ki18n ("none")
+ copyright = ki18n (bytes("(c) 2005-2007 Martin Böhm, 2008 Canonical Ltd", 'utf-8'))
+ text = ki18n (bytes("none", 'utf-8'))
homePage = "launchpad.net/gdebi"
bugEmail = ""
@@ -75,8 +75,8 @@
# bug #190907
opts = KCmdLineOptions()
opts.add("n")
- opts.add("dont-interactive", ki18n("Run non-interactive (dangerous!)"))
- opts.add("+[File]", ki18n("File to open"))
+ opts.add("dont-interactive", ki18n(bytes("Run non-interactive (dangerous!)", 'utf-8')))
+ opts.add("+[File]", ki18n(bytes("File to open", 'utf-8')))
KCmdLineArgs.addCmdLineOptions(opts)
app = KApplication()
Author: Michael Werle <mi...@michaelwerle.com>
Description: Remove deprecated QStringList
* GDebi/GDebiKDE.py: replace QStringList with list
--- a/GDebi/GDebiKDE.py
+++ b/GDebi/GDebiKDE.py
@@ -37,7 +37,6 @@
from PyQt4.QtCore import (
Qt,
SIGNAL,
- QStringList,
QTimer,
)
from PyQt4.QtGui import (
@@ -307,7 +306,7 @@
self.close()
def detailsButtonClicked(self):
- changedList = QStringList()
+ changedList = list()
(install, remove, unauthenticated) = self._deb.required_changes
for i in install:
changedList.append(_("To be installed: %s") % i)
Author: Michael Werle <mi...@michaelwerle.com>
Description: Fix deprecated usage of string class
* GDebi/GDebiKDE.py: replace string operations with str
--- a/GDebi/GDebiKDE.py
+++ b/GDebi/GDebiKDE.py
@@ -24,7 +24,6 @@
import logging
import os
import re
-import string
import sys
@@ -210,13 +209,13 @@
buf = self.DecriptionEdit
try:
long_desc = ""
- raw_desc = string.split(utf8(self._deb["Description"]), "\n")
+ raw_desc = str.splitlines(utf8(self._deb["Description"]))
# append a newline to the summary in the first line
summary = raw_desc[0]
raw_desc[0] = ""
long_desc = "%s\n" % summary
for line in raw_desc:
- tmp = string.strip(line)
+ tmp = str.strip(line)
if tmp == ".":
long_desc += "\n"
else:
--- End Message ---
--- Begin Message ---
Source: gdebi
Source-Version: 0.9.5.4
We believe that the bug you reported is fixed in the latest version of
gdebi, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 743...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Luca Falavigna <dktrkr...@debian.org> (supplier of updated gdebi package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 22 Apr 2014 10:54:48 +0200
Source: gdebi
Binary: gdebi-core gdebi gdebi-kde
Architecture: source all
Version: 0.9.5.4
Distribution: unstable
Urgency: low
Maintainer: Ubuntu Developers <ubuntu-dev-t...@lists.alioth.debian.org>
Changed-By: Luca Falavigna <dktrkr...@debian.org>
Description:
gdebi - simple tool to install deb files - GNOME GUI
gdebi-core - simple tool to install deb files
gdebi-kde - simple tool to install deb files - KDE GUI
Closes: 743091 743756
Changes:
gdebi (0.9.5.4) unstable; urgency=low
.
[ Michael Vogt ]
* fix installing of dependency packages when called with sudo
(LP: #1309387)
.
[ Michael Werle ]
* gdebi-kde, GDebi/GDebiKDE.py:
- Fix python3 internatlization bugs (Closes: #743756) (LP: #1304143).
.
[ Luca Falavigna ]
* Fix tests at build time (Closes: #743091).
Checksums-Sha1:
b98ae54f9276b8c595890daa9ec73610f8dd9d53 1808 gdebi_0.9.5.4.dsc
1cb2b90040a740fac1170908ce111991b79d1cec 191316 gdebi_0.9.5.4.tar.xz
8a90c922149bb4deee869a38fd12b423f3f22ee0 133510 gdebi-core_0.9.5.4_all.deb
5fc86ea4e4024f66b40361feb835fa0dd3f6cbcf 39892 gdebi_0.9.5.4_all.deb
83939fadac2a4b5c0aad3c996357b3b4d76c3400 28924 gdebi-kde_0.9.5.4_all.deb
Checksums-Sha256:
7824184d407870b6c3c71ef9ac686679aa140c90ec03fc44529b91e06811debf 1808
gdebi_0.9.5.4.dsc
490120e15a10c3d809c15c449dd7327038b3eba0efe8d430ff24638939fec093 191316
gdebi_0.9.5.4.tar.xz
90b3091d9e70fdc725f7a4899b844626570f6258e2bfa8695e136dd5a16d00df 133510
gdebi-core_0.9.5.4_all.deb
af6a87a91b8361d0cbb5c4797010fcfdb3acca1d1886040d0ad5907cc8bf2f1f 39892
gdebi_0.9.5.4_all.deb
10e72f2dc2a9b9349f440266597ddf7ff443b7317c94d46111c378b55febaaee 28924
gdebi-kde_0.9.5.4_all.deb
Files:
af0544a6576b0b5b1419c7f955bd5be3 133510 admin optional
gdebi-core_0.9.5.4_all.deb
03520845e7abeae089f83a56393b054b 39892 admin optional gdebi_0.9.5.4_all.deb
80d35aa7690227b3be3b8f326f86f857 28924 admin optional gdebi-kde_0.9.5.4_all.deb
9b825f9267aea43252fb3fda9a98de15 1808 admin optional gdebi_0.9.5.4.dsc
3d457e0b3fc365ee88f370e63f34fbc3 191316 admin optional gdebi_0.9.5.4.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJTVmcsAAoJEEkIatPr4vMf1i8P/RUUE7ZV/9biJQJOYL0RXnSA
z6KjC6ZssQcGOXAuUXxgusf8lj0mOhiJgdKIXG9fCU2wzvWxF+TV62sjLnzLc3/+
JRXgmLm/uC6T1rFNx/8T+dZiE3G2QvThTvt4Ohw/c2S0FG2OxzjRU8aTmCbYYNNE
KsSykt2mpIj09uXzYx8nHMR1RnFtu+zSPd7SIuLnJpe6XcIuUqPoN5NSmFVlpblD
HSxiJz2eNb7un9BkktFfajlZWCRH6pqtL3kZywaHQwghTzjPak2mah3ypw6BuygH
4QfB26WJQjfd++qtoRy9YwB7Qc/xcJkydY7Bk+yhHg098YvtBQANLNLEIJhRLvMh
aDUdk1zGTfwMALdRlrYtRT9zo43I4Ndjzwsvdkv/TybPAKpbIoQym19ajEQyb7wW
SW1V0j4mfx2sje7omtqhVWseoNPBDY2LkNJEQ5q7h0R84wC+aJaexEzSkkgpuI91
96zsOlUC/jixSUarVWUWv7wNEaImf3HF5ZTetNucd2iBMjv7aNCk5fpTSGOYGrnq
V0mGubpTs/fUjbnae55psEV90FLlk2cI9H0swgiPVrf323X4t+qKAWNiuyCiMjM6
vXvsz+fMq8WS+VPWqd6z/Us8S2wfzfqC7v4W5WzacNjg0YeG2h80Cz1U+2b9wKd9
OSWKXNWGA1DE6+on5E+5
=kDZh
-----END PGP SIGNATURE-----
--- End Message ---