Comments (2)
Hi @rly, thank you for this report.
-
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.
-
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.
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)
- S3 external files OS Error HOT 1
- Error during distributed computing populaution HOT 3
- Cell array of arrays of doubles cannot be fetched in python, only in matlab HOT 3
- Name external store files with primary key when downloaded HOT 1
- dj.diagram not working after update to 14.1 HOT 4
- Broken image/diagram in docs: design/diagrams/#example HOT 3
- `.parts` not always returning parts HOT 2
- dj.set_password does not work in MySQL 8
- Choose custom download location for attach@store objects HOT 2
- Error on cascade delete in MySQL 8 HOT 3
- `current_timestamp()` not treated as sql literal HOT 1
- Pytest `test_datetime_serialization_speed` occasionally fails
- datajoint.conn and datajoint.Connection.__init__ fail when using Python 3.11 and MySQL 5.7
- Underscores in table names yield false positives for `get_master` HOT 2
- File Management System HOT 1
- OperationalError: (1046, 'No database selected') when querying json attribute
- make that table "delete" returns the count of deleted objects HOT 2
- Convenience functions to insert / fetch when an attach field is in table definition HOT 1
- Add documentation for altering populated pipelines
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datajoint-python.