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

Error in logs #20

Open
kl4ver opened this issue Jan 1, 2025 · 3 comments
Open

Error in logs #20

kl4ver opened this issue Jan 1, 2025 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@kl4ver
Copy link

kl4ver commented Jan 1, 2025

i saw this error in the logs, it’s not blocking but I thought it would be usefull info


INFO - Device sent a single charge ac status
Traceback (most recent call last):
  File "/usr/local/bin/evseMQTT", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/local/lib/python3.13/site-packages/main.py", line 166, in main
    asyncio.run(manager.run(args.address))
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/asyncio/runners.py", line 194, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.13/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 720, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/site-packages/main.py", line 98, in run
    await asyncio.sleep(1)  # Example interval for ad-hoc message sending
    ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/asyncio/tasks.py", line 718, in sleep
    return await future
           ^^^^^^^^^^^^
asyncio.exceptions.CancelledError
/data/options.json file found -> parsing options

@slespersen
Copy link
Owner

You're running it as a container, I suppose?

Seems more like the result of the script being shutdown, unless there's something before the "INFO - Device sent a single charge ac status"?

@kl4ver
Copy link
Author

kl4ver commented Jan 2, 2025

I'm using the Homeassisant Addon, I only saw this error once, after this no more errors so maybe it had something to do with a restart. You may close the issue if you can not do anything with it, it was just too help to make it better ;)

@slespersen
Copy link
Owner

I'll try and implement a cleaner way of shutting the script down.

Thanks for the heads up -- input is always appreciated 😄👍

@slespersen slespersen self-assigned this Jan 2, 2025
@slespersen slespersen added the enhancement New feature or request label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants