Bug 1047005 - [abrt] fedup: download.py:276:find_replacement:AttributeError: 'NoneType' object has no attribute 'pkgtup'
Summary: [abrt] fedup: download.py:276:find_replacement:AttributeError: 'NoneType' obj...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: fedup
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:72a815fa1e9a0a79d808d3d0b22...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-28 04:56 UTC by Michael L
Modified: 2015-02-18 11:19 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-18 11:19:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (937 bytes, text/plain)
2013-12-28 04:56 UTC, Michael L
no flags Details
File: environ (2.20 KB, text/plain)
2013-12-28 04:56 UTC, Michael L
no flags Details
fedup.log (79.32 KB, application/x-7z-compressed)
2014-01-21 12:24 UTC, morgan read
no flags Details
fedup log (867.17 KB, text/x-log)
2014-05-22 13:38 UTC, cblanks@redhat.com
no flags Details

Description Michael L 2013-12-28 04:56:52 UTC
Description of problem:
fedup --network 20

Traceback (most recent call last):
  File "/bin/fedup", line 236, in <module>
    main(args)
  File "/bin/fedup", line 159, in main
    pkgs = download_packages(f)
  File "/bin/fedup", line 72, in download_packages
    transprobs = f.describe_transaction_problems()
  File "/usr/lib/python2.7/site-packages/fedup/download.py", line 301, in describe_transaction_problems
    format_replacement(pkg2)))
  File "/usr/lib/python2.7/site-packages/fedup/download.py", line 289, in format_replacement
    oldpkg, newpkg = find_replacement(po)
  File "/usr/lib/python2.7/site-packages/fedup/download.py", line 276, in find_replacement
    for tx in self.tsInfo.getMembers(po.pkgtup):
AttributeError: 'NoneType' object has no attribute 'pkgtup'

Version-Release number of selected component:
fedup-0.8.0-3.fc19

Additional info:
reporter:       libreport-2.1.10
cmdline:        /usr/bin/python /bin/fedup --network 20
executable:     /bin/fedup
kernel:         3.12.5-200.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
download.py:276:find_replacement:AttributeError: 'NoneType' object has no attribute 'pkgtup'

Traceback (most recent call last):
  File "/bin/fedup", line 236, in <module>
    main(args)
  File "/bin/fedup", line 159, in main
    pkgs = download_packages(f)
  File "/bin/fedup", line 72, in download_packages
    transprobs = f.describe_transaction_problems()
  File "/usr/lib/python2.7/site-packages/fedup/download.py", line 301, in describe_transaction_problems
    format_replacement(pkg2)))
  File "/usr/lib/python2.7/site-packages/fedup/download.py", line 289, in format_replacement
    oldpkg, newpkg = find_replacement(po)
  File "/usr/lib/python2.7/site-packages/fedup/download.py", line 276, in find_replacement
    for tx in self.tsInfo.getMembers(po.pkgtup):
AttributeError: 'NoneType' object has no attribute 'pkgtup'

Local variables in innermost frame:
self: <fedup.download.UpgradeDownloader object at 0x1701150>
po: None

Comment 1 Michael L 2013-12-28 04:56:57 UTC
Created attachment 842589 [details]
File: backtrace

Comment 2 Michael L 2013-12-28 04:56:58 UTC
Created attachment 842590 [details]
File: environ

Comment 3 morgan read 2014-01-21 12:21:45 UTC
fedup fails

*** First crash due to no /boot space left:
https://retrace.fedoraproject.org/faf/reports/317083/
Tried to report a bug on that, but that failed too:
--- Running report_uReport ---
('report_uReport' completed successfully)

--- Running report_Bugzilla ---
Logging into Bugzilla at https://bugzilla.redhat.com
Invalid password or login. Please enter your BZ login: 'mstuff.nz'
Invalid password or login. Please enter the password for 'mstuff.nz': '********'
Checking for duplicates
Creating a new bug
fatal: RPC failed at server.  There is no version named '%{bug_version}' in the 'Fedora' product.
('report_Bugzilla' exited with 1)

--- Running report_EmergencyAnalysis ---
Compressing data
Sending /var/tmp/Python-2014-01-21-11:35:19-4363.tar.gz to https://retrace.fedoraproject.org/faf/dumpdirs/new/
Successfully sent /var/tmp/Python-2014-01-21-11:35:19-4363.tar.gz to https://retrace.fedoraproject.org/faf/dumpdirs/new/


*** Second crash due to something else - don't know what, but abrt provides this link to abrt server:
https://retrace.fedoraproject.org/faf/reports/310483/

*** Attached fedup.log if it's not provided somewhere else already.

Comment 4 morgan read 2014-01-21 12:24:10 UTC
Created attachment 853208 [details]
fedup.log

fedup.log attached as per above.

Really like some pointers on moving forward with fedup, thanks.

Comment 5 Will Woods 2014-01-23 19:37:42 UTC
Fix committed upstream:

  https://github.com/wgwoods/fedup/commit/7972b6f

The next version of fedup will contain this patch.

If you can't wait, you could apply the patch manually by running:

  curl https://github.com/wgwoods/fedup/commit/7972b6f.diff | \
    sudo patch -d/usr/lib/python2.7/site-packages/fedup -p2

If you do apply the patch manually, please let me know if it works.

Comment 6 cblanks@redhat.com 2014-05-22 13:37:46 UTC
Hi, I am getting this same error attempting to upgrade to F20 from F19, using latest version of fedup.

Comment 7 cblanks@redhat.com 2014-05-22 13:38:40 UTC
Created attachment 898397 [details]
fedup log

Comment 8 Fedora Update System 2014-06-04 16:47:39 UTC
fedup-0.8.1-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/fedup-0.8.1-1.fc19

Comment 9 Fedora Update System 2014-06-04 16:49:06 UTC
fedup-0.8.1-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/fedup-0.8.1-1.fc20

Comment 10 Fedora Update System 2014-06-05 04:23:42 UTC
Package fedup-0.8.1-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fedup-0.8.1-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-7085/fedup-0.8.1-1.fc19
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2014-08-15 02:43:40 UTC
fedup-0.8.1-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2014-10-29 21:12:50 UTC
fedup-0.9.0-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/fedup-0.9.0-1.fc19

Comment 13 Fedora Update System 2014-11-03 18:05:42 UTC
fedup-0.9.0-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/fedup-0.9.0-2.fc19

Comment 14 Fedora Update System 2014-11-05 03:57:37 UTC
fedup-0.9.0-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora End Of Life 2015-01-09 22:40:51 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 16 Fedora End Of Life 2015-02-18 11:19:25 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.