Bug#737108: python-gamin: mixed use of tabs and spaces in the gamin.py file causing syntax erros
Matt Baker
m at wheres.co.uk
Thu Jan 30 10:19:24 UTC 2014
Package: python-gamin
Version: 0.1.10-4.1
Severity: grave
Tags: upstream patch
Justification: renders package unusable
Dear Maintainer,
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
Running a contrib script supplied by the bcfg2 config management tool
* What was the outcome of this action?
$ bcfg2-profile-templates.py
Traceback (most recent call last):
File "/usr/local/projects/cfgman/var/work/cmxmb/tags/PROD_STABLE/scripts/bcfg2-profile-templates.py", line 13, in <module>
import Bcfg2.Server.Core
File "/usr/lib/python2.7/dist-packages/Bcfg2/Server/Core.py", line 17, in <module>
import Bcfg2.Server.FileMonitor
File "/usr/lib/python2.7/dist-packages/Bcfg2/Server/FileMonitor/__init__.py", line 346, in <module>
from Bcfg2.Server.FileMonitor.Gamin import Gamin
File "/usr/lib/python2.7/dist-packages/Bcfg2/Server/FileMonitor/Gamin.py", line 6, in <module>
from gamin import WatchMonitor, GAMCreated, GAMExists, GAMEndExist, \
File "/usr/lib/pymodules/python2.7/gamin.py", line 39
err = _gamin.Errno()
^
TabError: inconsistent use of tabs and spaces in indentation
* What outcome did you expect instead?
The script would run without an error returned from importing and using gamin
-- System Information:
Debian Release: 7.3
APT prefers stable
APT policy: (800, 'stable')
Architecture: i386 (x86_64)
Kernel: Linux 3.2.0-0.bpo.4-amd64 (SMP w/12 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 python-gamin depends on:
ii libc6 2.13-38
ii libgamin0 0.1.10-4.1
ii python 2.7.3-4+deb7u1
ii python-support 1.0.15
python-gamin recommends no packages.
python-gamin suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list