Git Product home page Git Product logo

Comments (2)

kabilar avatar kabilar commented on June 12, 2024

Hi @rly, thank you for this report.

  1. For the first error, it looks like the postStartCommand does not run and thereby does not bring up the MySQL server. I am able to replicate this error locally and on Codespaces. I will look into this issue.

  2. I am not able to replicate the second error, but I will ensure that the development environment is capable of building and running locally.

from datajoint-python.

CBroz1 avatar CBroz1 commented on June 12, 2024

I followed the developer instructions that suggest the Dev Containers extension. After some start-up time, I see the following in my VSCode terminal:

Successfully installed datajoint
[notice] A new release of pip is available: 23.0.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip
Running the postStartCommand from devcontainer.json...

[212295 ms] Start: Run in container: /bin/sh -c MYSQL_VER=8.0 MINIO_VER=RELEASE.2022-08-11T04-37-28Z docker compose -f local-docker-compose.yml down && docker volume prune -f && MYSQL_VER=8.0 MINIO_VER=RELEASE.2022-08-11T04-37-28Z docker compose -f local-docker-compose.yml up --build --wait
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[216091 ms] postStartCommand failed with exit code 1. Skipping any further user-provided commands.
Done. Press any key to close the terminal.

Pressing a button seems to continue the setup process

[277057 ms] Port forwarding 54962 > 33227 > 33227: Local close
[523080 ms] Start: Run in container: cat /proc/2208/environ

But opening a new terminal in the same VSCode session, I'm not able to connect to the server

vscode ➜ /workspaces/datajoint-python (master) $ nosetests -vw tests_old/
[2023-10-25 17:26:08,613][INFO]: Connecting [email protected]:3306
Failure: OperationalError ((2003, "Can't connect to MySQL server on 'fakeservices.datajoint.io' ([Errno 111] Connection refused)")) ... ERROR

from datajoint-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.