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 code 1 after update Docker Desktop #4

Open
NickelBlvck opened this issue Dec 13, 2022 · 0 comments
Open

error code 1 after update Docker Desktop #4

NickelBlvck opened this issue Dec 13, 2022 · 0 comments

Comments

@NickelBlvck
Copy link

i am update docker desktop and got it

PS D:\DockerDesktop\p110> docker compose up
[+] Running 1/0

  • Container p110-tapo-P110-exporter-1 Created 0.0s
    Attaching to p110-tapo-P110-exporter-1
    p110-tapo-P110-exporter-1 | 2022-12-13 02:52:40.352 | INFO | main:run:49 - configuring metrics collector and prometheus http server
    p110-tapo-P110-exporter-1 | 2022-12-13 02:52:40.352 | DEBUG | collector:create_device:96 - connecting to device
    p110-tapo-P110-exporter-1 | Traceback (most recent call last):
    p110-tapo-P110-exporter-1 | File "requests/models.py", line 971, in json
    p110-tapo-P110-exporter-1 | File "json/init.py", line 346, in loads
    p110-tapo-P110-exporter-1 | File "json/decoder.py", line 337, in decode
    p110-tapo-P110-exporter-1 | File "json/decoder.py", line 355, in raw_decode
    p110-tapo-P110-exporter-1 | json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
    p110-tapo-P110-exporter-1 |
    p110-tapo-P110-exporter-1 | During handling of the above exception, another exception occurred:
    p110-tapo-P110-exporter-1 |
    p110-tapo-P110-exporter-1 | Traceback (most recent call last):
    p110-tapo-P110-exporter-1 | File "main.py", line 61, in
    p110-tapo-P110-exporter-1 | run()
    p110-tapo-P110-exporter-1 | File "click/core.py", line 1130, in call
    p110-tapo-P110-exporter-1 | File "click/core.py", line 1055, in main
    p110-tapo-P110-exporter-1 | File "click/core.py", line 1404, in invoke
    p110-tapo-P110-exporter-1 | File "click/core.py", line 760, in invoke
    p110-tapo-P110-exporter-1 | File "main.py", line 50, in run
    p110-tapo-P110-exporter-1 | collector = Collector(config['devices'], tapo_email, tapo_password)
    p110-tapo-P110-exporter-1 | File "collector.py", line 104, in init
    p110-tapo-P110-exporter-1 | self.devices = {
    p110-tapo-P110-exporter-1 | File "collector.py", line 105, in
    p110-tapo-P110-exporter-1 | room: (ip_address, create_device(ip_address, room))
    p110-tapo-P110-exporter-1 | File "collector.py", line 98, in create_device
    p110-tapo-P110-exporter-1 | d.handshake()
    p110-tapo-P110-exporter-1 | File "PyP100/PyP100.py", line 129, in handshake
    p110-tapo-P110-exporter-1 | File "requests/models.py", line 975, in json
    p110-tapo-P110-exporter-1 | requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
    p110-tapo-P110-exporter-1 | [8] Failed to execute script 'main' due to unhandled exception!
    p110-tapo-P110-exporter-1 exited with code 1
    PS D:\DockerDesktop\p110>
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