[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#754887: marked as done ([britney] AttributeError: 'dict' object has no attribute 'add' (line 1864, in _compute_groups))



Your message dated Tue, 15 Jul 2014 17:58:49 +0200
with message-id <20140715155848.GA20017@crater2.logilab.fr>
and subject line Re: Bug#754887: [britney] AttributeError: 'dict' object has no attribute 'add' (line 1864, in _compute_groups)
has caused the Debian Bug report #754887,
regarding [britney] AttributeError: 'dict' object has no attribute 'add' (line 1864, in _compute_groups)
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 owner@bugs.debian.org
immediately.)


-- 
754887: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754887
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: britney

While doing some tries with britney2, I ended up with this exception:

Traceback (most recent call last):
  File "./britney.py", line 2770, in <module>
    Britney().main()
  File "./britney.py", line 2736, in main
    self.upgrade_testing()
  File "./britney.py", line 2352, in upgrade_testing
    self.do_all()
  File "./britney.py", line 2270, in do_all
    (nuninst_end, extra) = self.iter_packages(upgrade_me, selected,
nuninst=nuninst_end, lundo=lundo)
  File "./britney.py", line 2152, in iter_packages
    item, affected, undo = self.doop_source(pkg, lundo)
  File "./britney.py", line 1927, in doop_source
    removals=removals)
  File "./britney.py", line 1864, in _compute_groups
    smoothbins.add(check[p])
AttributeError: 'dict' object has no attribute 'add'

I changed this line 1864 to this:
                        smoothbins[p] = check[p]

But I'm not familiar with the code so I'm not really sure whether this
is the correct fix...

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

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

--- End Message ---
--- Begin Message ---
On Tue, Jul 15, 2014 at 17:55:54 +0200, Raphaël Hertzog wrote:

> Package: release.debian.org
> Severity: normal
> User: release.debian.org@packages.debian.org
> Usertags: britney
> 
> While doing some tries with britney2, I ended up with this exception:
> 
> Traceback (most recent call last):
>   File "./britney.py", line 2770, in <module>
>     Britney().main()
>   File "./britney.py", line 2736, in main
>     self.upgrade_testing()
>   File "./britney.py", line 2352, in upgrade_testing
>     self.do_all()
>   File "./britney.py", line 2270, in do_all
>     (nuninst_end, extra) = self.iter_packages(upgrade_me, selected,
> nuninst=nuninst_end, lundo=lundo)
>   File "./britney.py", line 2152, in iter_packages
>     item, affected, undo = self.doop_source(pkg, lundo)
>   File "./britney.py", line 1927, in doop_source
>     removals=removals)
>   File "./britney.py", line 1864, in _compute_groups
>     smoothbins.add(check[p])
> AttributeError: 'dict' object has no attribute 'add'
> 
> I changed this line 1864 to this:
>                         smoothbins[p] = check[p]
> 
> But I'm not familiar with the code so I'm not really sure whether this
> is the correct fix...
> 
That was fixed a few days ago.

Cheers,
Julien

--- End Message ---

Reply to: