Bug 614471 - qpid-tool crashes when asked to list a package without an agent.
Summary: qpid-tool crashes when asked to list a package without an agent.
Alias: None
Product: Fedora
Classification: Fedora
Component: python-qpid   
(Show other bugs)
Version: 14
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nuno Santos
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-07-14 14:45 UTC by Darryl L. Pierce
Modified: 2015-06-22 00:07 UTC (History)
3 users (show)

Fixed In Version: qpid-tools-0.10-2.fc14
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-08-16 22:35:06 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Darryl L. Pierce 2010-07-14 14:45:17 UTC
Description of problem:

When using qpid-tool, I tried to list just the package. Instead of showing an error message or displaying the content, qpid-tool crashed with an exception.

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

(mcpierce@mcpierce-laptop:Podcast)$ rpm -q python-qpid

How reproducible:


Steps to Reproduce:

1. Launch qpid-tool.
2. Type "list org.apache.qpid.broker"
Actual results:

qpid-tool exits with a stack trace.

Expected results:

Either an error message saying you need to include a class name, or else the contents of the specified package.

Additional info:

The stack trace from the crash was:

Traceback (most recent call last):                                                                                                                               
  File "/usr/bin/qpid-tool", line 194, in <module>                                                                                                               
    cli.cmdloop ()                                                                                                                                               
  File "/usr/lib64/python2.6/cmd.py", line 142, in cmdloop                                                                                                       
    stop = self.onecmd(line)                                                                                                                                     
  File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd                                                                                                        
    return func(arg)                                                                                                                                             
  File "/usr/bin/qpid-tool", line 117, in do_list                                                                                                                
    self.dataObject.do_list (data)                                                                                                                               
  File "/usr/lib/python2.6/site-packages/qpid/managementdata.py", line 738, in do_list                                                                           
    self.listObjects (tokens)                                                                                                                                    
  File "/usr/lib/python2.6/site-packages/qpid/managementdata.py", line 473, in listObjects                                                                       
    classKey = self.getClassKey (tokens[0])                                                                                                                      
  File "/usr/lib/python2.6/site-packages/qpid/managementdata.py", line 303, in getClassKey                                                                       
    schemaRev = int(className[delim + 1:])                                                                                                                       
ValueError: invalid literal for int() with base 10: 'redhat.matahari.host'

Comment 1 Bug Zapper 2010-07-30 12:34:49 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.

More information and reason for this action is here:

Comment 2 Nuno Santos 2011-06-14 18:23:35 UTC
This is no longer present in the latest 0.10 update. Please notice that the qpid-tool utility has been moved from python-qpid to the qpid-tools package.

Comment 3 Fedora End Of Life 2012-08-16 22:35:09 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

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

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached 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 to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

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.

The process we are following is described here: 

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