coolnickname

AuthError

Nov 21st, 2017
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.01 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/demos/echoclient/stack.py", line 21, in start
  3. self.stack.loop()
  4. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/stacks/yowstack.py", line 196, in loop
  5. asyncore.loop(*args, **kwargs)
  6. File "/usr/lib/python3.5/asyncore.py", line 203, in loop
  7. poll_fun(timeout, map)
  8. File "/usr/lib/python3.5/asyncore.py", line 150, in poll
  9. read(obj)
  10. File "/usr/lib/python3.5/asyncore.py", line 87, in read
  11. obj.handle_error()
  12. File "/usr/lib/python3.5/asyncore.py", line 83, in read
  13. obj.handle_read_event()
  14. File "/usr/lib/python3.5/asyncore.py", line 423, in handle_read_event
  15. self.handle_read()
  16. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/network/layer.py", line 102, in handle_read
  17. self.receive(data)
  18. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/network/layer.py", line 110, in receive
  19. self.toUpper(data)
  20. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 79, in toUpper
  21. self.__upper.receive(data)
  22. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/stanzaregulator/layer.py", line 29, in receive
  23. self.processReceived()
  24. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/stanzaregulator/layer.py", line 49, in processReceived
  25. self.toUpper(oneMessageData)
  26. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 79, in toUpper
  27. self.__upper.receive(data)
  28. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/auth/layer_crypt.py", line 65, in receive
  29. self.toUpper(payload)
  30. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 79, in toUpper
  31. self.__upper.receive(data)
  32. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/coder/layer.py", line 35, in receive
  33. self.toUpper(node)
  34. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 79, in toUpper
  35. self.__upper.receive(data)
  36. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/logger/layer.py", line 14, in receive
  37. self.toUpper(data)
  38. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 79, in toUpper
  39. self.__upper.receive(data)
  40. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/axolotl/layer_control.py", line 44, in receive
  41. self.toUpper(protocolTreeNode)
  42. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 79, in toUpper
  43. self.__upper.receive(data)
  44. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 194, in receive
  45. s.receive(data)
  46. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/axolotl/layer_receive.py", line 44, in receive
  47. self.toUpper(protocolTreeNode)
  48. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 79, in toUpper
  49. self.__upper.receive(data)
  50. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 194, in receive
  51. s.receive(data)
  52. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 130, in receive
  53. recv(node)
  54. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/auth/layer_authentication.py", line 81, in handleFailure
  55. raise AuthError(nodeEntity.getReason())
  56. yowsup.layers.auth.autherror.AuthError: not-authorized
  57.  
  58. During handling of the above exception, another exception occurred:
  59.  
  60. Traceback (most recent call last):
  61. File "/usr/local/bin/yowsup-cli", line 4, in <module>
  62. __import__('pkg_resources').run_script('yowsup2==2.5.2', 'yowsup-cli')
  63. File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 739, in run_script
  64. self.require(requires)[0].run_script(script_name, ns)
  65. File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1494, in run_script
  66. exec(code, namespace, namespace)
  67. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/EGG-INFO/scripts/yowsup-cli", line 368, in <module>
  68. if not parser.process():
  69. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/EGG-INFO/scripts/yowsup-cli", line 270, in process
  70. self.startEcho()
  71. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/EGG-INFO/scripts/yowsup-cli", line 308, in startEcho
  72. stack.start()
  73. File "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/demos/echoclient/stack.py", line 23, in start
  74. print("Authentication Error: %s" % e.message)
  75. AttributeError: 'AuthError' object has no attribute 'message'
Advertisement
Add Comment
Please, Sign In to add comment