Advertisement
Guest User

Untitled

a guest
Dec 8th, 2019
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.38 KB | None | 0 0
  1. sudo python3.7 example.py
  2. [{"RequestServerInfo": {"ClientName": "Client Test", "MessageVersion": 1, "Id": 1}}]
  3. ServerInfo(server_name='Intiface Server', major_version=0, minor_version=0, build_version=0, message_version=1, max_ping_time=0)
  4. Connected to server: Intiface Server
  5. [{"RequestDeviceList": {"Id": 2}}]
  6. DeviceList(devices=[])
  7. [{"RequestLog": {"LogLevel": "Debug", "Id": 3}}]
  8. Ok()
  9. [{"StartScanning": {"Id": 4}}]
  10. Log(log_level='Debug', log_message='DeviceManager: Starting scan')
  11. Ok()
  12. cancel_me(): before sleep
  13. Log(log_level='Debug', log_message='Found configuration for device LVS-Lush123')
  14. Log(log_level='Debug', log_message='Connecting to noble device LVS-Lush123')
  15. Log(log_level='Debug', log_message='Found service 5330000100234bd4bbd5a6920e4c5653 for device LVS-Lush123')
  16. Log(log_level='Debug', log_message='Setting up endpoint Tx 53300002-0023-4bd4-bbd5-a6920e4c5653 for device LVS-Lush123')
  17. Log(log_level='Debug', log_message='Setting up endpoint Rx 53300003-0023-4bd4-bbd5-a6920e4c5653 for device LVS-Lush123')
  18. Log(log_level='Debug', log_message='Initializing noble device LVS-Lush123')
  19. Log(log_level='Debug', log_message='Subscripting to updates on noble device LVS-Lush123')
  20. Log(log_level='Debug', log_message='Device LVS-Lush123 waiting for initialization return')
  21. Log(log_level='Debug', log_message='Lovense Device LVS-Lush123 got initialization return S:123:E92C17AE7A70;')
  22. Log(log_level='Info', log_message='DeviceManager: Device Added: Lovense Lush v123 (0)')
  23. DeviceAdded(device_name='Lovense Lush v123', device_index=0, device_messages={'VibrateCmd': {'FeatureCount': 1}, 'SingleMotorVibrateCmd': {}, 'StopDeviceCmd': {}})
  24. {'VibrateCmd': {'FeatureCount': 1}, 'SingleMotorVibrateCmd': {}, 'StopDeviceCmd': {}}
  25. Device Added: Lovense Lush v123
  26. [{"VibrateCmd": {"DeviceIndex": 0, "Speeds": [{"Index": 0, "Speed": 0.1}], "Id": 5}}]
  27. Ok()
  28. [{"VibrateCmd": {"DeviceIndex": 0, "Speeds": [{"Index": 0, "Speed": 0}], "Id": 6}}]
  29. Ok()
  30. Log(log_level='Info', log_message='DeviceManager: Device Removed: Lovense Lush v123 (0)')
  31. DeviceRemoved(device_index=0)
  32. Task exception was never retrieved
  33. future: <Task finished coro=<ButtplugClientWebsocketConnector._consumer_handler() done, defined at /usr/local/lib/python3.7/site-packages/buttplug-0.1.0-py3.7.egg/buttplug/client/websocket_connector.py:24> exception=AttributeError("'dict' object has no attribute 'remove'") created at /usr/local/lib/python3.7/asyncio/tasks.py:351>
  34. source_traceback: Object created at (most recent call last):
  35.   File "example.py", line 177, in <module>
  36.     asyncio.run(main(), debug=True)
  37.   File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
  38.     return loop.run_until_complete(main)
  39.   File "/usr/local/lib/python3.7/asyncio/base_events.py", line 566, in run_until_complete
  40.     self.run_forever()
  41.   File "/usr/local/lib/python3.7/asyncio/base_events.py", line 534, in run_forever
  42.     self._run_once()
  43.   File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1763, in _run_once
  44.     handle._run()
  45.   File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
  46.     self._context.run(self._callback, *self._args)
  47.   File "example.py", line 131, in main
  48.     await client.connect(connector)
  49.   File "/usr/local/lib/python3.7/site-packages/buttplug-0.1.0-py3.7.egg/buttplug/client/client.py", line 85, in connect
  50.     await self.connector.connect()
  51.   File "/usr/local/lib/python3.7/site-packages/buttplug-0.1.0-py3.7.egg/buttplug/client/websocket_connector.py", line 22, in connect
  52.     asyncio.create_task(self._consumer_handler())
  53.   File "/usr/local/lib/python3.7/asyncio/tasks.py", line 351, in create_task
  54.     return loop.create_task(coro)
  55. Traceback (most recent call last):
  56.   File "/usr/local/lib/python3.7/site-packages/buttplug-0.1.0-py3.7.egg/buttplug/client/websocket_connector.py", line 37, in _consumer_handler
  57.     await self._notify_observers(bp_msg)
  58.   File "/usr/local/lib/python3.7/site-packages/buttplug-0.1.0-py3.7.egg/buttplug/client/connector.py", line 52, in _notify_observers
  59.     await obs._handle_message(msg)
  60.   File "/usr/local/lib/python3.7/site-packages/buttplug-0.1.0-py3.7.egg/buttplug/client/client.py", line 176, in _handle_message
  61.     await self._parse_message(msg)
  62.   File "/usr/local/lib/python3.7/site-packages/buttplug-0.1.0-py3.7.egg/buttplug/client/client.py", line 144, in _parse_message
  63.     self.devices.remove(dr.device_index)
  64. AttributeError: 'dict' object has no attribute 'remove'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement