Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command "zigpy_znp.tools.nvram_read" Timeout #236

Open
ohyeah521 opened this issue Dec 13, 2023 · 0 comments
Open

command "zigpy_znp.tools.nvram_read" Timeout #236

ohyeah521 opened this issue Dec 13, 2023 · 0 comments

Comments

@ohyeah521
Copy link

python -m zigpy_znp.tools.nvram_read COM3 -o nvram_backup.json

Traceback (most recent call last):
  File "C:\Python3\lib\site-packages\zigpy_znp\api.py", line 684, in _skip_bootloader
    result = await responses.get()
  File "C:\Python3\lib\asyncio\queues.py", line 166, in get
    await getter
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Python3\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Python3\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Python3\lib\site-packages\zigpy_znp\tools\nvram_read.py", line 99, in <module>
    asyncio.run(main(sys.argv[1:]))  # pragma: no cover
  File "C:\Python3\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "C:\Python3\lib\asyncio\base_events.py", line 647, in run_until_complete
    return future.result()
  File "C:\Python3\lib\site-packages\zigpy_znp\tools\nvram_read.py", line 90, in main
    await znp.connect()
  File "C:\Python3\lib\site-packages\zigpy_znp\api.py", line 726, in connect
    self.capabilities = (await self._skip_bootloader()).Capabilities
  File "C:\Python3\lib\site-packages\zigpy_znp\api.py", line 684, in _skip_bootloader
    result = await responses.get()
  File "C:\Python3\lib\site-packages\async_timeout\__init__.py", line 129, in __aexit__
    self._do_exit(exc_type)
  File "C:\Python3\lib\site-packages\async_timeout\__init__.py", line 212, in _do_exit
    raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant