sync-source.py does not work: Values instance has no attribute 'target_distro'

Bug #127179 reported by Martin Pitt
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Celso Providelo

Bug Description

Last rollout promised to provide a working sync-source.py, but it doesn't:

$ sync-source.py -b pitti bzr
Traceback (most recent call last):
  File "/srv/launchpad.net/codelines/current/scripts/ftpmaster-tools/sync-source.py", line 862, in ?
    main()
  File "/srv/launchpad.net/codelines/current/scripts/ftpmaster-tools/sync-source.py", line 849, in main
    arguments = init()
  File "/srv/launchpad.net/codelines/current/scripts/ftpmaster-tools/sync-source.py", line 829, in init
    objectize_options()
  File "/srv/launchpad.net/codelines/current/scripts/ftpmaster-tools/sync-source.py", line 779, in objectize_options
    Options.target_distro = getUtility(IDistributionSet)[Options.target_distro]
AttributeError: Values instance has no attribute 'target_distro'

Specifying the target distro as '-d ubuntu' explicitly yields the same error.

Tags: lp-soyuz
Revision history for this message
Celso Providelo (cprov) wrote :

regression of 1.1.7

Changed in soyuz:
assignee: nobody → cprov
importance: Undecided → Critical
status: New → In Progress
Revision history for this message
Celso Providelo (cprov) wrote :

Untested changes available in ~cprov/sync-source.diff.

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

Current patched sync-source.py does not have this crash any more.

Current problem is that it syncs to dapper, not gutsy. It should default to the current development release, like ~lp_archive/bin/sync-source does.

Revision history for this message
Celso Providelo (cprov) wrote : Re: [Bug 127179] Re: sync-source.py does not work: Values instance has no attribute 'target_distro'

On 7/23/07, Martin Pitt <email address hidden> wrote:
>
> Current patched sync-source.py does not have this crash any more.
>
> Current problem is that it syncs to dapper, not gutsy. It should default
> to the current development release, like ~lp_archive/bin/sync-source
> does.

Also fixed.

Thanks

--
Celso Providelo <email address hidden>

Revision history for this message
Celso Providelo (cprov) wrote :

RF 4638

Changed in soyuz:
status: In Progress → Fix Committed
Celso Providelo (cprov)
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.