Bug 1326545

Summary: Error: argument of type 'NoneType' is not iterable
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: packagedb-cliAssignee: Pierre-YvesChibon <pingou>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: pfrields, pingou
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-19 10:01:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jens Petersen 2016-04-13 02:49:12 UTC
Description of problem:
"pkgdb-client list --user ..." backtraces for me:

Error: argument of type 'NoneType' is not iterable
ERROR:root:Generic error catched:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pkgdb2client/cli.py", line 1002, in main
    arg.func(arg)
  File "/usr/lib/python2.7/site-packages/pkgdb2client/cli.py", line 597, in do_list
    if '/' in args.pattern:
TypeError: argument of type 'NoneType' is not iterable

Version-Release number of selected component (if applicable):
packagedb-cli-2.12-1.fc23

How reproducible:
100%

Steps to Reproduce:
1. pkgdb-client list --user petersen


Expected results:
no backtrace

Comment 1 Jens Petersen 2016-04-13 03:04:26 UTC
s/pkgdb-client/pkgdb-cli/

Comment 2 Pierre-YvesChibon 2016-04-13 06:53:00 UTC
This has been fixed in git upstream and will be part of the next release (to happen soon): https://github.com/fedora-infra/packagedb-cli/pull/83

Comment 3 Jens Petersen 2016-04-13 07:35:15 UTC
Okay - can we leave it open the until it is released this?

Comment 4 Fedora End Of Life 2016-11-25 07:20:41 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

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 23 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 5 Jens Petersen 2016-12-19 10:01:25 UTC
Reclosing - assuming it was released by now.

Comment 6 Pierre-YvesChibon 2016-12-19 10:04:21 UTC
I think your assumption is correct (and confirm that I can no longer reproduce the issue with the current version)