xmpp - python sleekxmpp ping error -
When I run a ping example, I get this attributererror
:
information TLS information conversation Use of SSL version: 1 INFO set for node: animal @ home-server / 50182ab4 information CERT: up to the end of the certificate: 1635 days, 15: 10: 17.248035 information & lt ; Waiting for / stream: stream & gt; Server Error Error Occurrence Event Operator: & lt; The bound method is PingTest.start's & lt; __ Main __. PingTest object at 0x12cded0 & gt; & Gt; Traceback (most recent call final): File "/usr/local/lib/python2.7/dist-packages/sleekxmpp/xmlstream/xmlstream.py", line 1659, _event_runner func (* Args) file "sleekxmpp_ping. Py ", line 67, initially RTT = self ['xep_0199']. Ping (auto.exchange, timeout = 10) file "/usr/local/lib/python2.7/dist-packages/sleekxmpp/plugins/base.py", line 304, __getattr__ return object in .__ getattribute __ (self, Key) Attribute: No attribute 'Ping' traceback (most recent call final) in 'XEP_0199' object 'XEP_0199' object has no attribute in the 'XEP_0199' object: The file "/ usr /local/lib/python2.7/ File "sleekxmpp_ping.py", line 67, initially rtt = self ['xep_0199'] in "dist-packages / sleekxmpp / xmlstream / xmlstream.py", line 1659, _event_runner func (* args) .ing (self. Pages, Timeout = 10) file "/usr/local/lib/python2.7/dist-packages/sleekxmpp/plugins/base.py", line 304, __getattr__ return object .__ getattribute __ (self, key) attribute error: 'XEP_0199 'No attribute in the object is' ping'
I am running SlakexMP 1.1.11. Anyone have some light?
ping
was added to the method, and the first Sleekxmpp version 1.2.0 Appeared in.
Comments
Post a Comment