Your message dated Sat, 27 Jun 2009 16:04:47 +0000
with message-id <e1mkaov-00017z...@ries.debian.org>
and subject line Bug#527241: fixed in pygobject 2.14.2-2
has caused the Debian Bug report #527241,
regarding python-gobject: pygtk.py aborts with "TabError: inconsistent use of 
tabs and spaces in indentation"
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.)


-- 
527241: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527241
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-gobject
Version: 2.14.2-1
Severity: grave
Tags: patch
Justification: renders package unusable

Python app using pygtk fails with the error message as follows:

[n...@nickl ~]$ sudo image-creator
Traceback (most recent call last):
  File "/usr/sbin/image-creator", line 51, in <module>
    import gui
  File "/usr/share/pdk/lib/gui.py", line 24, in <module>
    import pygtk
  File "/var/lib/python-support/python2.5/pygtk.py", line 41
    dir = os.getcwd()
                    ^
TabError: inconsistent use of tabs and spaces in indentation
[n...@nickl ~]$ ls -l /var/lib/python-support/python2.5/pygtk.py
lrwxrwxrwx 1 root root 49 2008-06-19 11:44 
/var/lib/python-support/python2.5/pygtk.py -> 
/usr/share/python-support/python-gobject/pygtk.py

Error arises because Python has significant leading whitespace but this
file pygtk.py is not consistent in its use of tabs versus spaces.

Patch is attached which fixes this problem.


-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (800, 'stable'), (500, 'oldstable'), (3, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
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 python-gobject depends on:
ii  libc6                    2.7-18          GNU C Library: Shared libraries
ii  libffi5                  3.0.7-1         Foreign Function Interface library
ii  libglib2.0-0             2.16.6-1+lenny1 The GLib library of C routines
ii  python                   2.5.2-3         An interactive high-level object-o
ii  python-support           0.8.4           automated rebuilding support for P
ii  python2.5                2.5.2-15        An interactive high-level object-o

python-gobject recommends no packages.

Versions of packages python-gobject suggests:
pn  python-gobject-dbg            <none>     (no description available)

-- no debconf information
--- pygtk.py.orig	2008-06-07 14:41:19.000000000 +0100
+++ pygtk.py	2009-05-06 11:37:34.000000000 +0100
@@ -38,7 +38,7 @@
     versions = {}
     for dir in sys.path:
         if not dir: 
-  	    dir = os.getcwd()
+            dir = os.getcwd()
             
         if not os.path.isdir(dir):
             continue
@@ -58,8 +58,8 @@
             if not os.listdir(pathname):
                 continue
             
-	    if not versions.has_key(filename[-3:]):
-            	versions[filename[-3:]] = pathname
+            if not versions.has_key(filename[-3:]):
+                versions[filename[-3:]] = pathname
     return versions
 
 def require20():

--- End Message ---
--- Begin Message ---
Source: pygobject
Source-Version: 2.14.2-2

We believe that the bug you reported is fixed in the latest version of
pygobject, which is due to be installed in the Debian FTP archive:

pygobject_2.14.2-2.diff.gz
  to pool/main/p/pygobject/pygobject_2.14.2-2.diff.gz
pygobject_2.14.2-2.dsc
  to pool/main/p/pygobject/pygobject_2.14.2-2.dsc
python-gobject-dbg_2.14.2-2_amd64.deb
  to pool/main/p/pygobject/python-gobject-dbg_2.14.2-2_amd64.deb
python-gobject-dev_2.14.2-2_all.deb
  to pool/main/p/pygobject/python-gobject-dev_2.14.2-2_all.deb
python-gobject_2.14.2-2_amd64.deb
  to pool/main/p/pygobject/python-gobject_2.14.2-2_amd64.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 527...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Josselin Mouette <j...@debian.org> (supplier of updated pygobject 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...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 06 May 2009 13:17:36 +0200
Source: pygobject
Binary: python-gobject python-gobject-dev python-gobject-dbg
Architecture: source all amd64
Version: 2.14.2-2
Distribution: stable
Urgency: low
Maintainer: Josselin Mouette <j...@debian.org>
Changed-By: Josselin Mouette <j...@debian.org>
Description: 
 python-gobject - Python bindings for the GObject library
 python-gobject-dbg - Python bindings for the GObject library (debug extension)
 python-gobject-dev - Development headers for the GObject Python bindings
Closes: 527241
Changes: 
 pygobject (2.14.2-2) stable; urgency=low
 .
   * 10_pygtk_tabs.patch: new patch. Backport tabulation fixes from 2.16.
     Closes: #527241.
Checksums-Sha1: 
 8e6fba3cc7577216b710f6f2a82901d6a925d7ec 1407 pygobject_2.14.2-2.dsc
 dc191a3048d22dbce518c8694c04ec25c3267894 45029 pygobject_2.14.2-2.diff.gz
 4a43593f5b536e246810e158fc55c90de7663af4 52718 
python-gobject-dev_2.14.2-2_all.deb
 48c48848b2cfaf74048a24bfd5ca84b6abc71d58 181202 
python-gobject_2.14.2-2_amd64.deb
 a2ae1cf552db05d9b331b0dd860da8b4f19b7c60 657752 
python-gobject-dbg_2.14.2-2_amd64.deb
Checksums-Sha256: 
 867155155917a7e25e29445cb35ed0824067808b49771902a50611f527ac71f7 1407 
pygobject_2.14.2-2.dsc
 8d85e73ca8d5fad0dbcf7468c1fbf38f0a333538eff2b5a52af0f4b12ca53c7e 45029 
pygobject_2.14.2-2.diff.gz
 ecbd06a0a6b59c4162ed99d4e1608db54655073a00a4a86809355517d28c8f13 52718 
python-gobject-dev_2.14.2-2_all.deb
 f34e2902726db13f6f172f1524bf1c5f6940fa7ac7b8a6e92e55270aae499fdd 181202 
python-gobject_2.14.2-2_amd64.deb
 642c901b404c53cf9db9cf42b427ce5cc8789d070d28abb0e501c09711ae4e11 657752 
python-gobject-dbg_2.14.2-2_amd64.deb
Files: 
 5a6594609e7f7a43b2d55b732b47b866 1407 python optional pygobject_2.14.2-2.dsc
 8ff8666cd2a9545bf6b4f33a97a0d61b 45029 python optional 
pygobject_2.14.2-2.diff.gz
 140ea85566fa6de36296a19b413fb26e 52718 python optional 
python-gobject-dev_2.14.2-2_all.deb
 78d8d46594262b5e5aec8c72bee61486 181202 python optional 
python-gobject_2.14.2-2_amd64.deb
 192301fe3bb04bfcb43ee2414fb724a7 657752 python extra 
python-gobject-dbg_2.14.2-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKAhJdrSla4ddfhTMRAqgPAKCE6Y7HCBx5GBKwZVJP8n9xfs9MnwCeJKce
tunSQPsN3zsNMDwdtjUFnqY=
=SdLp
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to