change-override.py crashes with 'NoneType' object has no attribute 'changeOverride'

Bug #163125 reported by Martin Pitt
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Unassigned

Bug Description

gutsy-wallpapers | 0.17 | hardy | source, all

$ change-override.py -S -c universe gutsy-wallpapers
15:35:01 INFO Override Component to: 'universe'
Traceback (most recent call last):
  File "/srv/launchpad.net/codelines/current/scripts/ftpmaster-tools/change-override.py", line 107, in ?
    sys.exit(main())
  File "/srv/launchpad.net/codelines/current/scripts/ftpmaster-tools/change-override.py", line 86, in main
    changer.processSourceChange(package_name)
  File "/srv/launchpad.net/codelines/soyuz-production/scripts/ftpmaster-tools/../../lib/canonical/launchpad/scripts/ftpmaster.py", line 154, in processSourceChange
    override = sp.currentrelease.current_published.changeOverride(
AttributeError: 'NoneType' object has no attribute 'changeOverride'

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

Ah, the reason is that there is a 0.18 pending to be published in Hardy.

Changed in soyuz:
status: New → Confirmed
Revision history for this message
Julian Edwards (julian-edwards) wrote :

drspr.current_published is not considering the publishing state of PENDING.

Celso Providelo (cprov)
Changed in soyuz:
importance: Undecided → Medium
status: Confirmed → Triaged
tags: added: soyuz-ftpmaster-tools
Revision history for this message
Celso Providelo (cprov) wrote :

The new `change-override` code (based on SoyuzScript) copes with pending publication records.

Changed in soyuz:
status: Triaged → 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.