Bug 174136

Summary: Pup dies on update
Product: [Fedora] Fedora Reporter: Josh Boyer <jwboyer>
Component: pirutAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: katzj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-11-25 03:34:28 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:

Description Josh Boyer 2005-11-25 00:31:12 UTC
Description of problem:

Pup backtraced on a recent update.

Version-Release number of selected component (if applicable):

[jwboyer@yoda ~]$ rpm -q pup
pup-0.1.6-1

How reproducible:

Not sure.

Steps to Reproduce:
1. Start pup
2. Accept updates
3. Marvel at the lovely python backtrace
  
Actual results:

[root@yoda ~]# pup
Traceback (most recent call last):
  File "/usr/share/pup/pup/pup.py", line 536, in _apply
    self._checkDeps()
  File "/usr/share/pup/pup/pup.py", line 778, in _checkDeps
    _("Unable to resolve dependencies for some "
  File "/usr/share/pup/pup/pup.py", line 131, in __init__
    i.set_from_stock(self._get_stock_from_type(type), 6)
AttributeError: 'NoneType' object has no attribute 'set_from_stock'

> /usr/share/pup/pup/pup.py(131)__init__()
-> i.set_from_stock(self._get_stock_from_type(type), 6)
(Pdb)                
                                      
Expected results:

Update completes :)

Additional info:

I still have pup sitting at the python debugger propmpt.  I know very little
about using pdb, but I intend to leave it there in case there is something that
will help.

Comment 1 Jeremy Katz 2005-11-25 03:34:28 UTC

*** This bug has been marked as a duplicate of 174125 ***

Comment 2 David Lawrence 2006-06-28 01:34:09 UTC
Moving component to pirut. Sorry for the spam.