queue reject fails with TypeError

Bug #187285 reported by Martin Pitt
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Julian Edwards

Bug Description

$ q -s edgy-proposed reject
Initialising connection to queue new
Running: "reject"
Rejecting ubuntu/edgy-proposed (NEW) 5/5
---------------------------------------------------------------------------
Rejecting language-pack-kde-kl
Traceback (most recent call last):
  File "/srv/launchpad.net/codelines/current/scripts/ftpmaster-tools/queue", line 129, in ?
    sys.exit(main())
  File "/srv/launchpad.net/codelines/current/scripts/ftpmaster-tools/queue", line 111, in main
    cmd_runner.execute(single_args, options.exact_match)
  File "/srv/launchpad.net/codelines/soyuz-production/scripts/ftpmaster-tools/../../lib/canonical/launchpad/scripts/queue.py", line 703, in execute
    queue_action.run()
  File "/srv/launchpad.net/codelines/soyuz-production/scripts/ftpmaster-tools/../../lib/canonical/launchpad/scripts/queue.py", line 457, in run
    queue_item.rejectFromQueue(
  File "/srv/launchpad.net/codelines/soyuz-production/scripts/ftpmaster-tools/../../lib/canonical/launchpad/database/queue.py", line 224, in rejectFromQueue
    self.notify(logger=logger, dry_run=dry_run)
  File "/srv/launchpad.net/codelines/soyuz-production/scripts/ftpmaster-tools/../../lib/canonical/launchpad/database/queue.py", line 655, in notify
    summary = self._buildSummary(files)
  File "/srv/launchpad.net/codelines/soyuz-production/scripts/ftpmaster-tools/../../lib/canonical/launchpad/database/queue.py", line 460, in _buildSummary
    for filename, component, section in files:
TypeError: iteration over non-sequence

This happens on all releases, regardless of whether or not I specify a pattern.

Tags: lp-soyuz
Revision history for this message
Julian Edwards (julian-edwards) wrote :

Rejecting any langpacks will cause a crash. I have an easy fix for a cherry pick later.

Changed in soyuz:
assignee: nobody → julian-edwards
importance: Undecided → Critical
milestone: none → 1.2.2
status: New → In Progress
Revision history for this message
Julian Edwards (julian-edwards) wrote :

Fixed in RF 5593

Changed in soyuz:
status: In Progress → Fix Committed
Changed in soyuz:
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.