fails to remove tags sometimes

Bug #186599 reported by Martin Pitt
2
Affects Status Importance Assigned to Milestone
python-launchpad-bugs (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: python-launchpad-bugs

Sometimes the apport retracer gets stuck in an infinite loop with retracing the same bug over and over again. The reason is that p-lp-bugs fails to remove tags sometimes:

$ python
>>> import launchpadbugs.connector as Connector
>>> Bug = Connector.ConnectBug()
>>> Bug.authentication='txt/lp-apport.cookie'
>>> b = Bug(182261)
>>> b.tags
['apport-crash', 'need-i386-retrace']
>>> b.tags.remove('need-i386-retrace')
>>> b.tags
['apport-crash']
>>> b.commit()
>>> b = Bug(182261)
>>> b.tags
['apport-crash', 'need-i386-retrace']

Revision history for this message
Martin Pitt (pitti) wrote :

For my own records: this affects the following bugs so far: #184306, #183637, #182261

Changed in python-launchpad-bugs:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Markus Korn (thekorn) wrote :

editing summary/description/tags fails if the bugreport has a 'nickname' set.

The reason for this is, that the 'nickname'-field has to be empty if one of these fields in /+edit is changed.

Committed a fix to the .main branch:
------------------------------------------------------------
revno: 61
committer: Markus Korn <email address hidden>
branch nick: main
timestamp: Mon 2008-01-28 13:17:53 +0100
message:
  launchpadbugs/html_bug.py: fixed error in committing changes to summary/description/tags (LP: #186599)
------------------------------------------------------------

Changed in python-launchpad-bugs:
status: Confirmed → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

I applied your patch to the apport retracers, it works fine. Thanks a lot for the fast response!

Revision history for this message
Markus Korn (thekorn) wrote :

released in 0.2.27

Changed in python-launchpad-bugs:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.