[ 
https://issues.apache.org/jira/browse/DISPATCH-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997513#comment-16997513
 ] 

ASF subversion and git services commented on DISPATCH-1525:
-----------------------------------------------------------

Commit ca8c32c4b106b7c1b41be6c02e767ae3cb0bd57c in qpid-dispatch's branch 
refs/heads/master from Ken Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=ca8c32c ]

DISPATCH-1525: raise AttributeError if accessing invalid Entity attribute

Using 'hasattr' against the Entity class will not work properly unless
the Entity's __getattr__ method raises an AttributeError when the
attribute is not present.

This closes #646


> KeyError when executing master branch qdstat -l (links) against 1.9.0 router 
> on Python 3
> ----------------------------------------------------------------------------------------
>
>                 Key: DISPATCH-1525
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1525
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Management Agent, Tools
>            Reporter: Ganesh Murthy
>            Assignee: Ken Giusti
>            Priority: Major
>             Fix For: 1.10.0
>
>
> Run the following test in a Python 3 environment -
>  # Start version 1.9.0 of the router
>  # Run a qdstat -l command against the 1.9.0 router
>  # You will see an error --> KeyError: deliveriesStuck
> You should be able to run a newer qdstat command against the currently 
> released version of the router (1.9.0)
>  
> Note: This works when running the router on Python 2.7 but fails when running 
> the router on Python 3.8
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to