sync-source breaks with universe component

Bug #39044 reported by Scott James Remnant (Canonical)
6
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Low
Unassigned

Bug Description

lp_archive@drescher:~/syncs$ ~james/launchpad/scripts/ftpmaster-tools/sync-source.py -b bigon -c universe openvpn

Traceback (most recent call last):
  File "/home/james/launchpad/scripts/ftpmaster-tools/sync-source.py", line 1382, in ?
    main()
  File "/home/james/launchpad/scripts/ftpmaster-tools/sync-source.py", line 1375, in main
    Suite = read_current_source(Options.tosuite, Options.incomponent, arguments) File "/home/james/launchpad/scripts/ftpmaster-tools/sync-source.py", line 909, in read_current_source
    valid_components = dak_utils.split_args(valid_components)
  File "/home/james/launchpad/scripts/ftpmaster-tools/dak_utils.py", line 220, in split_args
    if s.find(",") == -1:
zope.security.interfaces.ForbiddenAttribute: ('find', <Component at 0x2aaab14d53d0>)

Tags: lp-soyuz
Changed in launchpad:
assignee: nobody → elmo
Revision history for this message
James Troup (elmo) wrote :

This is a stupid bug on my part, I'm calling split_args after I objectize the arg away from strings and into LP objects. Obviously this won't work. However, there's a second bug here and that's the option -c really only makes sense in conjuction with -a, as all it does is limit what we see when we look to see what's in the archive. It doesn't (and can't) control the component the synced source will end up in - the overrides do that.

Changed in launchpad-upload-and-queue:
status: Unconfirmed → Confirmed
James Troup (elmo)
Changed in soyuz:
assignee: elmo → nobody
Revision history for this message
Celso Providelo (cprov) wrote :

This issue doesn't appear since the code was integrated with LP. Feel free to reopen if I am mistaken.

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