On Sat, Dec 25, 2010 at 11:16:46PM +0100, Axel Beckert wrote: > Package: git-buildpackage > Version: 0.5.11 > Severity: normal > > git-buildpackage as well as git-import-orig (and probably further > commands of the gbp suite) fail with the this error message ... > > ---snip--- > $ git-buildpackage > Traceback (most recent call last): > File "/usr/bin/git-buildpackage", line 448, in <module> > sys.exit(main(sys.argv)) > File "/usr/bin/git-buildpackage", line 233, in main > gbp.log.err(err) > File "/usr/lib/pymodules/python2.6/gbp/log.py", line 92, in err > logger.log(Logger.ERROR, msg) > File "/usr/lib/pymodules/python2.6/gbp/log.py", line 86, in log > 'color': self.get_color(level), > AttributeError: 'Logger' object has no attribute 'get_color' > ---snap--- > > ... if I use the following ~/.gbp.conf: > > ---snip--- > pristine-tar = True > ---snap--- > > If I remove that line or comment it with "#" everything works fine > again.
We want to print an error before the color functions are assigned so we hide the real error. I've pushed a fix to git that should show you the actual error. If it still fails please attach your gbp.conf. Cheers, -- Guido -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org