On Fri, Jan 23, 2009 at 09:14:02AM -0500, Micah Anderson wrote:
> Package: git-buildpackage
> Version: 0.4.45
> Severity: important
> 
> I can't seem to build a package with git-buildpackage:
> 
> pond (git)-[master]-% git-buildpackage
> dh_testdir
> dh_testroot
> rm -f build-stamp configure-stamp
> dh_clean 
> Traceback (most recent call last):
>   File "/usr/bin/git-buildpackage", line 294, in <module>
>     sys.exit(main(sys.argv))
>   File "/usr/bin/git-buildpackage", line 210, in main
>     cp = du.parse_changelog(changelog)
>   File "/var/lib/python-support/python2.5/gbp/deb_utils.py", line 117, in 
> parse_changelog
>     if '-' in cp['Version']:
> TypeError: argument of type 'NoneType' is not iterable
> 
> 
> I can provide any information that you may need to help debug this.
Could you attach debian/changelog?

cp = email.message_from_string(output)

is failing probably because:

status, output = commands.getstatusoutput('dpkg-parsechangelog -l%s' % 
(changelog, ))

above that is returning bogus output.
 -- Guido



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to