Gordon Sim created PROTON-846:
---------------------------------
Summary: error on disconnect or failure to connect
Key: PROTON-846
URL: https://issues.apache.org/jira/browse/PROTON-846
Project: Qpid Proton
Issue Type: Bug
Components: python-binding
Reporter: Gordon Sim
Assignee: Gordon Sim
Affects the 'reactor' type examples post 0.9 release (there is as yet no
version available for selection after that). E.g.
$ ./simple_send.py
Traceback (most recent call last):
File "./simple_send.py", line 61, in <module>
Container(Send(opts.address, opts.messages)).run()
File
"/home/gordon/projects/proton-git/installs/master/lib64/proton/bindings/python/proton/reactor.py",
line 120, in run
while self.process(): pass
File
"/home/gordon/projects/proton-git/installs/master/lib64/proton/bindings/python/proton/reactor.py",
line 143, in process
self._check_errors()
File
"/home/gordon/projects/proton-git/installs/master/lib64/proton/bindings/python/proton/__init__.py",
line 3735, in dispatch
ev.dispatch(self.handler)
File
"/home/gordon/projects/proton-git/installs/master/lib64/proton/bindings/python/proton/__init__.py",
line 3663, in dispatch
self.dispatch(h, type)
File
"/home/gordon/projects/proton-git/installs/master/lib64/proton/bindings/python/proton/__init__.py",
line 3660, in dispatch
result = dispatch(handler, type.method, self)
File
"/home/gordon/projects/proton-git/installs/master/lib64/proton/bindings/python/proton/__init__.py",
line 3549, in dispatch
return m(*args)
File
"/home/gordon/projects/proton-git/installs/master/lib64/proton/bindings/python/proton/handlers.py",
line 373, in on_transport_closed
if self.delegate and self.is_local_open(event.transport.connection):
File
"/home/gordon/projects/proton-git/installs/master/lib64/proton/bindings/python/proton/handlers.py",
line 210, in is_local_open
return endpoint.state & Endpoint.LOCAL_ACTIVE
AttributeError: 'NoneType' object has no attribute 'state'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)