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

Dev_docker approach is not working #618

Closed
SpeedyR10 opened this issue Jan 23, 2023 · 7 comments
Closed

Dev_docker approach is not working #618

SpeedyR10 opened this issue Jan 23, 2023 · 7 comments

Comments

@SpeedyR10
Copy link

SpeedyR10 commented Jan 23, 2023

Hi,
I'm using windows 10 and I'm trying to use the dev_docker approach since I couldn't also use the standalone one.

1st STAND-ALONE (CLI) Local python version 3.11.1
tradfri

2nd DEV_DOCKER APPROACH
image

I'm not an expert on docker but this image is not in any registry i believe, hence the error.

I tried it with another like 3.11.1 and did get further:
image

But still got an error of a missing file: "/usr/src/app/script/install-coap-client.sh: not found"

Any help?

@ggravlingen
Copy link
Member

Nor Windows or Python 3.11 are supported unfortunately.

Seems like stretch is no longer supported by the Python docker repo. Try replacing 3.10-stretch with 3.10-bullseye and see if that works.

@SpeedyR10
Copy link
Author

SpeedyR10 commented Jan 23, 2023

Thank you for the fast answer. It doesn't work also, no. Are you still able to run it without errors? If so what would be the best environment or way?

@ggravlingen
Copy link
Member

ggravlingen commented Jan 23, 2023

Personally, I'm running this in VS code using a containerized dev environment. If you enable that extension in VS Code and open this repo, you will be prompted to the library in a containerized environment.

@SpeedyR10
Copy link
Author

Hi again!

Tried it and i think the error of missing file persists even when using the containerized dev environment of vscode. Below is the log:

image

Let me know if there's something i'm missing.

@ggravlingen
Copy link
Member

Hi again!

Tried it and i think the error of missing file persists even when using the containerized dev environment of vscode. Below is the log:

image

Let me know if there's something i'm missing.

I just tried it myself on my Mac and it started as expected. Are you running VS Code on Windows or in WSL2?

@SpeedyR10
Copy link
Author

On Windows 10

@ggravlingen
Copy link
Member

You might have to install WSL2 or run VS Code on Linux in a VM like VirtualBox.

I will close this issue now as the error is unrelated to this library.

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

2 participants