Bug 895967

Summary: [abrt] fedup-0.7.2-1.fc17: download.py:210:download_packages:TypeError: 'NoneType' object is not iterable
Product: [Fedora] Fedora Reporter: florianappeddu
Component: fedupAssignee: Will Woods <wwoods>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: dcharlespyle, gatlinsullivan, joshua, kgagnon, koby.hershkovitz, redhat, tflink, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:5ee7e2bf8dfea3f6779c5309c75668a4fbad55e3
Fixed In Version: fedup-0.7.3-5.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-15 03:29:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ
none
File: smolt_data
none
fedup-debug.log none

Description florianappeddu 2013-01-16 11:54:41 UTC
Version-Release number of selected component:
fedup-0.7.2-1.fc17

Additional info:
cmdline:        /usr/bin/python /usr/bin/fedup-cli --network 18 --debuglog fedupdebug.log --instrepo http://dl.fedoraproject.org/pub/alt/qa/fedup/f18-RC4/x86_64/
executable:     /usr/bin/fedup-cli
kernel:         3.7.2-201.fc18.x86_64
uid:            0

Truncated backtrace:
download.py:210:download_packages:TypeError: 'NoneType' object is not iterable

Traceback (most recent call last):
  File "/usr/bin/fedup-cli", line 330, in <module>
    main(args)
  File "/usr/bin/fedup-cli", line 275, in main
    pkgs = download_packages(f)
  File "/usr/bin/fedup-cli", line 61, in download_packages
    f.download_packages(updates, callback=output.DownloadCallback())
  File "/usr/lib/python2.7/site-packages/fedup/download.py", line 210, in download_packages
    if set(updates) != set(pkgs):
TypeError: 'NoneType' object is not iterable

Local variables in innermost frame:
localpkgs: []
self: <fedup.download.FedupDownloader object at 0x2651390>
callback: <fedup.textoutput.DownloadCallback instance at 0x28de878>
pkgs: []
total: 0
updates: None

Comment 1 florianappeddu 2013-01-16 11:54:45 UTC
Created attachment 679474 [details]
File: backtrace

Comment 2 florianappeddu 2013-01-16 11:54:48 UTC
Created attachment 679475 [details]
File: core_backtrace

Comment 3 florianappeddu 2013-01-16 11:54:51 UTC
Created attachment 679476 [details]
File: environ

Comment 4 florianappeddu 2013-01-16 11:54:54 UTC
Created attachment 679477 [details]
File: smolt_data

Comment 5 Christian Kujau 2013-01-23 04:01:19 UTC
> kernel:         3.7.2-201.fc18.x86_64

-> Isn't this a duplicate of bug 880987 ?

Comment 6 Will Woods 2013-01-23 16:26:55 UTC
Seems that way - 3.7.2-201.fc18.x86_64 is the F18 kernel, after all.

Can one of the reporters please:

1) check /etc/fedora-release - does it say "Fedora release 18 (Spherical Cow)"?
2) try `yum upgrade` - does it say "Nothing to upgrade" (or similar)?

Obviously I still need a better error message here, so this is still a real bug, but I'd like to be sure this is what's going on.

Comment 7 Will Woods 2013-01-23 18:18:42 UTC
Can you also attach your fedupdebug.log?

Comment 8 Will Woods 2013-01-23 18:32:58 UTC
*** Bug 880987 has been marked as a duplicate of this bug. ***

Comment 9 Fedora Update System 2013-01-31 14:46:07 UTC
fedup-0.7.3-0.git20130128.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/fedup-0.7.3-0.git20130128.fc17

Comment 10 gatlibs 2013-03-13 03:09:02 UTC
I was attempting to upgrade 18 to 19.

Package: fedup-0.7.1-1.fc18
OS Release: Fedora release 18 (Spherical Cow)

Comment 11 Fedora Update System 2013-03-15 23:34:19 UTC
fedup-0.7.3-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/fedup-0.7.3-1.fc17

Comment 12 gatlibs 2013-03-16 01:00:45 UTC
Should I file another report for 18 to 19?

Comment 13 Fedora Update System 2013-03-17 00:54:12 UTC
Package fedup-0.7.3-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fedup-0.7.3-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3956/fedup-0.7.3-1.fc17
then log in and leave karma (feedback).

Comment 14 Elad Alfassa 2013-03-28 11:16:23 UTC
Created attachment 717600 [details]
fedup-debug.log

I just had this crash when trying to upgrade Fedora 18 to Fedora 19. Attached is the relevant debug log

Comment 15 Will Woods 2013-03-28 18:15:37 UTC
...with what version of fedup? It should be fixed in 0.7.3, which is currently in updates-testing.

Comment 16 gatlibs 2013-03-30 02:59:50 UTC
http://koji.fedoraproject.org/koji/buildinfo?buildID=402988 seemed to fix the error on F18.

Comment 17 Fedora Update System 2013-04-30 14:51:01 UTC
fedup-0.7.3-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/fedup-0.7.3-3.fc18

Comment 18 Fedora Update System 2013-04-30 14:54:58 UTC
fedup-0.7.3-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/fedup-0.7.3-3.fc17

Comment 19 Fedora Update System 2013-04-30 15:37:10 UTC
fedup-0.7.3-4.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/fedup-0.7.3-4.fc17

Comment 20 Fedora Update System 2013-04-30 15:38:00 UTC
fedup-0.7.3-4.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/fedup-0.7.3-4.fc18

Comment 21 Fedora Update System 2013-04-30 15:39:05 UTC
fedup-0.7.3-4.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/fedup-0.7.3-4.fc19

Comment 22 Fedora Update System 2013-05-15 03:29:37 UTC
fedup-0.7.3-4.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 23 Fedora Update System 2013-06-07 16:42:52 UTC
fedup-0.7.3-5.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/fedup-0.7.3-5.fc17

Comment 24 Fedora Update System 2013-06-08 03:34:19 UTC
fedup-0.7.3-4.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 25 Fedora Update System 2013-06-23 05:56:08 UTC
fedup-0.7.3-5.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.