Bug 674111 - Repo content Type Error when --id is Null
Summary: Repo content Type Error when --id is Null
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Sprint 20
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-01-31 17:04 UTC by Preethi Thomas
Modified: 2015-03-23 01:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 674110
Environment:
Last Closed: 2011-08-16 12:10:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2011-01-31 17:04:25 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.132-1.fc14.noarch

Description of problem:


[root@preethi ~]# pulp-admin repo content --id=
Traceback (most recent call last):
  File "/usr/bin/pulp-admin", line 147, in <module>
    admin.main()
  File "/usr/lib/python2.7/site-packages/pulp/client/cli/base.py", line 98, in main
    command.main(args[1:])
  File "/usr/lib/python2.7/site-packages/pulp/client/core/base.py", line 118, in main
    action.main(args[1:])
  File "/usr/lib/python2.7/site-packages/pulp/client/core/base.py", line 229, in main
    self.run()
  File "/usr/lib/python2.7/site-packages/pulp/client/core/repo.py", line 311, in run
    all_pnames = [pkg['filename'] for pkg in all_packages]
TypeError: 'NoneType' object is not iterable

Comment 1 Sayli Karmarkar 2011-02-01 19:14:17 UTC
Fixed along with the fix for bug# 672881. 

$ pulp-admin repo content --id=
Usage: pulp-admin <options> repo content <options>

pulp-admin: error: --id option requires an argument

Comment 2 Jay Dobies 2011-02-02 20:07:17 UTC
Fixed in 0.134.

Comment 3 Preethi Thomas 2011-02-02 21:53:17 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.134-1.fc14.noarch

[root@preethi ~]# pulp-admin repo content --id=
Usage: pulp-admin <options> repo content <options>

pulp-admin: error: --id option requires an argument

Comment 4 Preethi Thomas 2011-08-16 12:10:11 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:22:17 UTC
Closing with Community Release 15

pulp-0.0.223-4.


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