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

ASF subversion and git services commented on PROTON-2149:
---------------------------------------------------------

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

PROTON-2149: session state is a property, not a method

This closes #216.


> Handler incorrectly uses session state a method call
> ----------------------------------------------------
>
>                 Key: PROTON-2149
>                 URL: https://issues.apache.org/jira/browse/PROTON-2149
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: proton-c-0.29.0
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Major
>             Fix For: proton-c-0.30.0
>
>
> 25:   Exception in thread server-thread:
> 25:   Traceback (most recent call last):
> 25:     File "/usr/lib64/python2.7/threading.py", line 804, in 
> __bootstrap_inner
> 25:       self.run()
> 25:     File "/usr/lib64/python2.7/threading.py", line 757, in run
> 25:       self.__target(*self.__args, **self.__kwargs)
> 25:     File 
> "/home/kgiusti/work/proton/qpid-proton/python/tests/proton_tests/common.py", 
> line 233, in run
> 25:       while self.reactor.process():
> 25:     File 
> "/home/kgiusti/work/proton/qpid-proton/python/proton/_reactor.py", line 241, 
> in process
> 25:       event.dispatch(handler)
> 25:     File 
> "/home/kgiusti/work/proton/qpid-proton/python/proton/_events.py", line 165, 
> in dispatch
> 25:       self.dispatch(h, type)
> 25:     File 
> "/home/kgiusti/work/proton/qpid-proton/python/proton/_events.py", line 165, 
> in dispatch
> 25:       self.dispatch(h, type)
> 25:     File 
> "/home/kgiusti/work/proton/qpid-proton/python/proton/_events.py", line 162, 
> in dispatch
> 25:       _dispatch(handler, type.method, self)
> 25:     File 
> "/home/kgiusti/work/proton/qpid-proton/python/proton/_events.py", line 123, 
> in _dispatch
> 25:       m(*args)
> 25:     File 
> "/home/kgiusti/work/proton/qpid-proton/python/proton/_handlers.py", line 
> 1085, in on_session_remote_open
> 25:       if ssn.state() & Endpoint.LOCAL_UNINIT:
> 25:   TypeError: 'int' object is not callable



--
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