Skip to content

Still having login failure with 0.1.9 version #15

@deepcoder

Description

@deepcoder

I have removed .logi_circle-session.cache file and am pretty sure I running latest version 0.1.9 of:
https://github.com/evanjd/python-logi-circle/tree/private-api

any ideas on how I can generate more info and make progress?

Thx!

Traceback (most recent call last):
  File "/home/user/.local/lib/python3.8/site-packages/logi_circle/__init__.py", line 42, in login
    await self._restore_cached_session()
  File "/home/user/.local/lib/python3.8/site-packages/logi_circle/__init__.py", line 124, in _restore_cached_session
    raise BadCache()
logi_circle.exception.BadCache

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./test_login.py", line 13, in <module>
    loop.run_until_complete(get_snapshot_images())
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "./test_login.py", line 8, in get_snapshot_images
    for camera in await logi_api.cameras:
  File "/home/user/.local/lib/python3.8/site-packages/logi_circle/__init__.py", line 190, in cameras
    raw_cameras = await self._fetch(CAMERAS_ENDPOINT)
  File "/home/user/.local/lib/python3.8/site-packages/logi_circle/__init__.py", line 137, in _fetch
    await self.login()
  File "/home/user/.local/lib/python3.8/site-packages/logi_circle/__init__.py", line 45, in login
    await self._authenticate()
  File "/home/user/.local/lib/python3.8/site-packages/logi_circle/__init__.py", line 70, in _authenticate
    raise BadLogin(
logi_circle.exception.BadLogin: Username or password provided is incorrect. Could not authenticate.
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f66f527af10>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7f66f523ff40>, 90.151481007)]']
connector: <aiohttp.connector.TCPConnector object at 0x7f66f5202df0>

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions