You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I receive the error ValueError: 'status_requested' is not a valid EventType when executing the command snoo history. Attached is the traceback for troubleshooting. Thank you in advance for having created this amazing library and CLI!
Traceback (most recent call last):
File "/Users/chris/.venv/default/bin/snoo", line 289, in <module>
main()
File "/Users/chris/.venv/default/bin/snoo", line 283, in main
asyncio.run(async_main(args.username, args.password, token, token_updater, args))
File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/chris/.venv/default/bin/snoo", line 205, in async_main
await commands[args.command](snoo, args)
File "/Users/chris/.venv/default/bin/snoo", line 108, in history
for activity_state in await pubnub.history(100):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/chris/.venv/default/lib/python3.11/site-packages/pysnoo/pubnub.py", line 144, in history
return [ActivityState.from_dict(item.entry) for item in envelope.result.messages]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/chris/.venv/default/lib/python3.11/site-packages/pysnoo/pubnub.py", line 144, in <listcomp>
return [ActivityState.from_dict(item.entry) for item in envelope.result.messages]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/chris/.venv/default/lib/python3.11/site-packages/pysnoo/models.py", line 660, in from_dict
event=EventType(data.get("event", EventType.ACTIVITY.value)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py", line 712, in __call__
return cls.__new__(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py", line 1128, in __new__
raise ve_exc
ValueError: 'status_requested' is not a valid EventType
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x1045894e0>, 207486.913482916)]']
connector: <aiohttp.connector.TCPConnector object at 0x1045ff090>
The text was updated successfully, but these errors were encountered:
I receive the error
ValueError: 'status_requested' is not a valid EventType
when executing the commandsnoo history
. Attached is the traceback for troubleshooting. Thank you in advance for having created this amazing library and CLI!The text was updated successfully, but these errors were encountered: