Debian Bug report logs -
#486516
ImportError: No module named cupsutils.debug
Reported by: Sam Morris <sam@robots.org.uk>
Date: Mon, 16 Jun 2008 15:39:01 UTC
Severity: serious
Merged with 489140
Found in version python-support/0.8.1
Fixed in version python-support/0.8.2
Done: Josselin Mouette <joss@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Otavio Salvador <otavio@debian.org>:
Bug#486516; Package system-config-printer.
(full text, mbox, link).
Acknowledgement sent to Sam Morris <sam@robots.org.uk>:
New Bug report received and forwarded. Copy sent to Otavio Salvador <otavio@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: system-config-printer
Version: 1.0.0-1
Severity: grave
Justification: renders package unusable
$ system-config-printer
Traceback (most recent call last):
File "/usr/bin/system-config-printer", line 58, in <module>
import pysmb
File "/usr/share/system-config-printer/pysmb.py", line 33, in <module>
from cupsutils.debug import *
ImportError: No module named cupsutils.debug
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-rc6 (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/bash
Versions of packages system-config-printer depends on:
ii gksu 2.0.0-5 graphical frontend to su
ii python 2.5.2-1 An interactive high-level object-o
ii python-cups 1.9.31-1 Python bindings for CUPS
ii python-cupsutils 1.0.0-1 Python utility modules around the
ii python-dbus 0.82.4-2 simple interprocess messaging syst
ii python-glade2 2.12.1-6 GTK+ bindings: Glade support
ii python-gnome2 2.22.0-1 Python bindings for the GNOME desk
ii python-gtk2 2.12.1-6 Python bindings for the GTK+ widge
ii python-notify 0.1.1-2+b1 Python bindings for libnotify
ii python-support 0.8.1 automated rebuilding support for P
system-config-printer recommends no packages.
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Otavio Salvador <otavio@debian.org>:
Bug#486516; Package system-config-printer.
(full text, mbox, link).
Acknowledgement sent to 486516@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Otavio Salvador <otavio@debian.org>.
(full text, mbox, link).
Message #10 received at 486516@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Le lundi 16 juin 2008 à 16:33 +0100, Sam Morris a écrit :
> Package: system-config-printer
> Version: 1.0.0-1
> Severity: grave
> Justification: renders package unusable
>
> $ system-config-printer
> Traceback (most recent call last):
> File "/usr/bin/system-config-printer", line 58, in <module>
> import pysmb
> File "/usr/share/system-config-printer/pysmb.py", line 33, in <module>
> from cupsutils.debug import *
> ImportError: No module named cupsutils.debug
Please run "ls -l /var/lib/python-support/python2.5/cupsutils/", then
"update-python-modules -p", then the ls again.
--
.''`.
: :' : We are debian.org. Lower your prices, surrender your code.
`. `' We will add your hardware and software distinctiveness to
`- our own. Resistance is futile.
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Otavio Salvador <otavio@debian.org>:
Bug#486516; Package system-config-printer.
(full text, mbox, link).
Acknowledgement sent to Sam Morris <sam@robots.org.uk>:
Extra info received and forwarded to list. Copy sent to Otavio Salvador <otavio@debian.org>.
(full text, mbox, link).
Message #15 received at 486516@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Mon, 2008-06-16 at 23:50 +0200, Josselin Mouette wrote:
> Le lundi 16 juin 2008 à 16:33 +0100, Sam Morris a écrit :
> > Package: system-config-printer
> > Version: 1.0.0-1
> > Severity: grave
> > Justification: renders package unusable
> >
> > $ system-config-printer
> > Traceback (most recent call last):
> > File "/usr/bin/system-config-printer", line 58, in <module>
> > import pysmb
> > File "/usr/share/system-config-printer/pysmb.py", line 33, in <module>
> > from cupsutils.debug import *
> > ImportError: No module named cupsutils.debug
>
> Please run "ls -l /var/lib/python-support/python2.5/cupsutils/", then
> "update-python-modules -p", then the ls again.
$ ls -l /var/lib/python-support/python2.5/cupsutils/
total 16
lrwxrwxrwx 1 root root 67 2008-06-16 23:15 cupshelpers.py -> /usr/share/python-support/python-cupsutils/cupsutils/cupshelpers.py
lrwxrwxrwx 1 root root 61 2008-06-16 23:15 debug.py -> /usr/share/python-support/python-cupsutils/cupsutils/debug.py
lrwxrwxrwx 1 root root 68 2008-06-16 23:15 openprinting.py -> /usr/share/python-support/python-cupsutils/cupsutils/openprinting.py
lrwxrwxrwx 1 root root 60 2008-06-16 23:15 ppds.py -> /usr/share/python-support/python-cupsutils/cupsutils/ppds.py
$ update-python-modules -p
Compiling /var/lib/python-support/python2.4/vcpx/repository/bzr.py ...
File "/var/lib/python-support/python2.4/vcpx/repository/bzr.py", line 276
yield self._changesetFromRevision(parent_branch, revision)
SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause
$ ls -l /var/lib/python-support/python2.5/cupsutils/
total 84
lrwxrwxrwx 1 root root 67 2008-06-16 23:15 cupshelpers.py -> /usr/share/python-support/python-cupsutils/cupsutils/cupshelpers.py
-rw-r--r-- 1 root root 21767 2008-06-16 23:18 cupshelpers.pyc
lrwxrwxrwx 1 root root 61 2008-06-16 23:15 debug.py -> /usr/share/python-support/python-cupsutils/cupsutils/debug.py
-rw-r--r-- 1 root root 1707 2008-06-16 23:18 debug.pyc
-rw-r--r-- 1 root root 0 2008-06-16 23:18 __init__.py
-rw-r--r-- 1 root root 142 2008-06-16 23:18 __init__.pyc
lrwxrwxrwx 1 root root 68 2008-06-16 23:15 openprinting.py -> /usr/share/python-support/python-cupsutils/cupsutils/openprinting.py
-rw-r--r-- 1 root root 11209 2008-06-16 23:18 openprinting.pyc
lrwxrwxrwx 1 root root 60 2008-06-16 23:15 ppds.py -> /usr/share/python-support/python-cupsutils/cupsutils/ppds.py
-rw-r--r-- 1 root root 22246 2008-06-16 23:18 ppds.pyc
Looks like __init__.py was missing from the original directory. Note
that although update-python-modules spat out that error, it doesn't do
that on my laptop where I originally reported this bug, so I think it's
unrelated.
--
Sam Morris
http://robots.org.uk/
PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Otavio Salvador <otavio@debian.org>:
Bug#486516; Package system-config-printer.
(full text, mbox, link).
Acknowledgement sent to 486516@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Otavio Salvador <otavio@debian.org>.
(full text, mbox, link).
Message #20 received at 486516@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
reassign 486516 python-support 0.8.1
severity 486516 serious
thanks
Le lundi 16 juin 2008 à 23:23 +0100, Sam Morris a écrit :
> Looks like __init__.py was missing from the original directory. Note
> that although update-python-modules spat out that error, it doesn't do
> that on my laptop where I originally reported this bug, so I think it's
> unrelated.
Yes, it is unrelated. The problem is the python-support trigger not
being run at the correct time; I should have known that #484669 would
cause such trouble sooner or later.
I will upload a new version that uses an explicit trigger instead of the
current file trigger, that should prevent such issues from arising.
Cheers,
--
.''`.
: :' : We are debian.org. Lower your prices, surrender your code.
`. `' We will add your hardware and software distinctiveness to
`- our own. Resistance is futile.
[signature.asc (application/pgp-signature, inline)]
Severity set to `serious' from `grave'
Request was from Josselin Mouette <joss@debian.org>
to control@bugs.debian.org.
(Mon, 16 Jun 2008 23:12:03 GMT) (full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Josselin Mouette <joss@debian.org>:
Bug#486516; Package python-support.
(full text, mbox, link).
Acknowledgement sent to "Jason D. Clinton" <me@jasonclinton.com>:
Extra info received and forwarded to list. Copy sent to Josselin Mouette <joss@debian.org>.
(full text, mbox, link).
Message #29 received at 486516@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Joss,
http://bugzilla.gnome.org/show_bug.cgi?id=524665 in Gnome Games on which you
have commented appears to actually be this bug in disguise. It appears to
happen because Ubuntu is packaging glchess in Universe in addition to
gnome-games. As a result, some users are uninstalling glchess and installing
gnome-games in the same apt transaction. When triggers runs, it appears that
it gets confused when modules of the same name in the same directory are
both being installed and uninstalled at the same time.
[Message part 2 (text/html, inline)]
Reply sent to Josselin Mouette <joss@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Sam Morris <sam@robots.org.uk>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #34 received at 486516-close@bugs.debian.org (full text, mbox, reply):
Source: python-support
Source-Version: 0.8.2
We believe that the bug you reported is fixed in the latest version of
python-support, which is due to be installed in the Debian FTP archive:
python-support_0.8.2.dsc
to pool/main/p/python-support/python-support_0.8.2.dsc
python-support_0.8.2.tar.gz
to pool/main/p/python-support/python-support_0.8.2.tar.gz
python-support_0.8.2_all.deb
to pool/main/p/python-support/python-support_0.8.2_all.deb
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 486516@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Josselin Mouette <joss@debian.org> (supplier of updated python-support 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 23 Jun 2008 02:35:41 +0200
Source: python-support
Binary: python-support
Architecture: source all
Version: 0.8.2
Distribution: unstable
Urgency: low
Maintainer: Josselin Mouette <joss@debian.org>
Changed-By: Josselin Mouette <joss@debian.org>
Description:
python-support - automated rebuilding support for Python modules
Closes: 486516
Changes:
python-support (0.8.2) unstable; urgency=low
.
* Fix typo in 0.8.1 changelog entry.
* update-python-modules:
+ Call dpkg-trigger explicitly when we need it. This should prevent
the trigger from being run *before* the actual installation.
Closes: #486516.
* triggers: declare interest on the "pysupport" trigger.
Checksums-Sha1:
4589e98fcc3eb37b3dfb641d6552762eb7d90819 768 python-support_0.8.2.dsc
5daecc8872c65c2ffe3386c6761494e088e38282 30696 python-support_0.8.2.tar.gz
97e10cc95558e2ee6366f520cbc8bea57439d642 27782 python-support_0.8.2_all.deb
Checksums-Sha256:
a801dd0a4379096dc492d5a7b1b2115d80633b589496072c14bf74f25d4748cb 768 python-support_0.8.2.dsc
387201f67ba39f63e84cb7424541e25c1ffdda9198934e34584305ba69c6aa44 30696 python-support_0.8.2.tar.gz
413d24839bf7570372b74d585457717b904a88f74c4c69917d3b11d3d71933e3 27782 python-support_0.8.2_all.deb
Files:
5321fdd70bb64f541c5144daf49800da 768 python standard python-support_0.8.2.dsc
50235f0e6efb033309f85cfeb87990ac 30696 python standard python-support_0.8.2.tar.gz
85abc8191c1532b33044993c439602c6 27782 python standard python-support_0.8.2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFIXvVarSla4ddfhTMRAiR3AJ9UUaR2WBk1sj22iGi1dW6d24b5ywCgkSo0
fJsa2fdV9P22VYkXCLW0REE=
=D5iC
-----END PGP SIGNATURE-----
Forcibly Merged 486516 489140.
Request was from Emilio Pozuelo Monfort <pochu@ubuntu.com>
to control@bugs.debian.org.
(Thu, 03 Jul 2008 13:54:05 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 17 Aug 2008 07:26:58 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Jan 11 15:22:42 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.