[Python-apps-team] Bug#773143: src:gitinspector: FTBFS when using the default C locale

Logan Rosen logan at ubuntu.com
Sun Dec 14 23:48:22 UTC 2014

Package: src:gitinspector
Version: 0.3.2+dfsg-1
Severity: serious
Justification: fails to build from source

Dear Maintainer,

gitinspector currently FTBFS in a clean amd64 pbuilder with unstable sources due to an issue with the "lang" variable not being set properly when using the C locale.

There is an upstream patch that should fix this: https://code.google.com/p/gitinspector/source/detail?r=8755fb33dcb1

Below is the relevant portion of the build log:

I: pybuild base:170: python2.7 setup.py clean 
Traceback (most recent call last):
  File "setup.py", line 22, in <module>
    from gitinspector.version import __version__
  File "/build/buildd/gitinspector-0.3.2+dfsg/gitinspector/version.py", line 27, in <module>
    import gitinspector.localization
  File "/build/buildd/gitinspector-0.3.2+dfsg/gitinspector/gitinspector.py", line 25, in <module>
  File "/build/buildd/gitinspector-0.3.2+dfsg/gitinspector/localization.py", line 50, in init
    filename = "/usr/share/gitinspector/translations/messages_%s.mo" % lang[0][0:2]
TypeError: 'NoneType' object has no attribute '__getitem__'
E: pybuild pybuild:256: clean: plugin distutils failed with: exit code=1: python2.7 setup.py clean 

Logan Rosen

-- System Information:
Debian Release: jessie/sid
  APT prefers vivid-updates
  APT policy: (500, 'vivid-updates'), (500, 'vivid-security'), (500, 'vivid'), (100, 'vivid-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-25-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

More information about the Python-apps-team mailing list