[ https://issues.apache.org/jira/browse/PROTON-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16982973#comment-16982973 ]
ASF GitHub Bot commented on PROTON-2149: ---------------------------------------- astitcher commented on issue #216: PROTON-2149: session state is a property, not a method URL: https://github.com/apache/qpid-proton/pull/216#issuecomment-558847995 Hmm, how long has this been wrong? I guess you're the first person to use on_session_remote_open! ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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