Your message dated Thu, 4 Jul 2013 09:51:41 +0200
with message-id <[email protected]>
and subject line Re: Bug#714889: git-buildpackage: no way to run git-dch
has caused the Debian Bug report #714889,
regarding git-buildpackage: no way to run git-dch
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 [email protected]
immediately.)


-- 
714889: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714889
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: git-buildpackage
Version: 0.6.0~git20120601
Severity: normal

Dear Maintainer,

I tried to run the git-dch command, but get only this:

$ git-dch   --bpo  
Traceback (most recent call last):
  File "/usr/bin/git-dch", line 5, in <module>
    sys.exit(main(sys.argv))
  File "/usr/lib/python2.7/dist-packages/gbp/scripts/dch.py", line 341, in main
    gbp.log.errror(err)
AttributeError: 'module' object has no attribute 'errror'


I have attached a timy patch that fixes the error.


Kind regards,
--Toni++



-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing'), (100, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-buildpackage depends on:
ii  devscripts       2.12.6
ii  git              1:1.7.10.4-1+wheezy1
ii  python           2.7.3-4
ii  python-dateutil  1.5+dfsg-0.1
ii  python2.6        2.6.8-1.1
ii  python2.7        2.7.3-6

Versions of packages git-buildpackage recommends:
ii  cowbuilder    0.70
ii  pristine-tar  1.25+deb7u1

Versions of packages git-buildpackage suggests:
ii  python-notify  0.1.1-3
ii  unzip          6.0-8

-- no debconf information
--- dch.py.orig	2012-06-01 23:11:12.000000000 +0200
+++ dch.py	2013-07-04 01:41:07.110821803 +0200
@@ -338,7 +338,7 @@
         parser = GbpOptionParserDebian(command=os.path.basename(argv[0]), prefix='',
                                        usage='%prog [options] paths')
     except ConfigParser.ParsingError, err:
-        gbp.log.errror(err)
+        gbp.log.err(err)
         return 1
     range_group = GbpOptionGroup(parser, "commit range options",
                                  "which commits to add to the changelog")

--- End Message ---
--- Begin Message ---
Version: 0.6.0~git20130530

Hi Toni,
On Thu, Jul 04, 2013 at 01:42:27AM +0200, Toni Mueller wrote:
> Package: git-buildpackage
> Version: 0.6.0~git20120601
> Severity: normal
> 
> Dear Maintainer,
> 
> I tried to run the git-dch command, but get only this:
> 
> $ git-dch   --bpo  
> Traceback (most recent call last):
>   File "/usr/bin/git-dch", line 5, in <module>
>     sys.exit(main(sys.argv))
>   File "/usr/lib/python2.7/dist-packages/gbp/scripts/dch.py", line 341, in 
> main
>     gbp.log.errror(err)
> AttributeError: 'module' object has no attribute 'errror'

This was fixed last August already but didn't make it into Wheezy
However I've cheery-picked the patch from master for a possible point
release update.
Thanks,
 -- Guido

> 
> 
> I have attached a timy patch that fixes the error.
> 
> 
> Kind regards,
> --Toni++
> 
> 
> 
> -- System Information:
> Debian Release: 7.1
>   APT prefers stable
>   APT policy: (990, 'stable'), (500, 'testing'), (100, 'unstable'), (1, 
> 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=de_DE.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages git-buildpackage depends on:
> ii  devscripts       2.12.6
> ii  git              1:1.7.10.4-1+wheezy1
> ii  python           2.7.3-4
> ii  python-dateutil  1.5+dfsg-0.1
> ii  python2.6        2.6.8-1.1
> ii  python2.7        2.7.3-6
> 
> Versions of packages git-buildpackage recommends:
> ii  cowbuilder    0.70
> ii  pristine-tar  1.25+deb7u1
> 
> Versions of packages git-buildpackage suggests:
> ii  python-notify  0.1.1-3
> ii  unzip          6.0-8
> 
> -- no debconf information

> --- dch.py.orig       2012-06-01 23:11:12.000000000 +0200
> +++ dch.py    2013-07-04 01:41:07.110821803 +0200
> @@ -338,7 +338,7 @@
>          parser = GbpOptionParserDebian(command=os.path.basename(argv[0]), 
> prefix='',
>                                         usage='%prog [options] paths')
>      except ConfigParser.ParsingError, err:
> -        gbp.log.errror(err)
> +        gbp.log.err(err)
>          return 1
>      range_group = GbpOptionGroup(parser, "commit range options",
>                                   "which commits to add to the changelog")

--- End Message ---

Reply via email to