ckan / ckan-docker

Scripts and images to run CKAN using Docker Compose
104 stars 195 forks source link

Docker Develop - Can't find the srv/app/ckan #165

Open agalewsky-pnn opened 3 months ago

agalewsky-pnn commented 3 months ago

When trying to spin up the development environment I am getting this error repeating over and over

ckan-dev-1 | FileNotFoundError: [Errno 2] No such file or directory: '/srv/app/ckan'

I have gone through all the issues and have not found anything similar. Any thoughts or fixes will be appropriated.
This is just doing a git clone and docker compose up - no changes made.

Thanks in advance!

-Andrew

kowh-ai commented 3 months ago

It's true that there is no /srv/app/ckan/ directory Screenshot 2024-08-15 at 1 26 36 pm

However I'm not sure how you would be getting this error

mirovalent commented 1 month ago

I also encountered this issue while following the instructions for Remote Debugging with VS Code (https://github.com/ckan/ckan-docker?tab=readme-ov-file#remote-debugging-with-vs-code). When I enabled 'USE_DEBUGPY_FOR_DEV=true' in the environment (.env). The first error appeared: /bin/bash: line 1: /usr/bin/python: No such file or directory. The Python path was incorrect, so I fixed it by editing start_ckan_development.sh, changing /usr/bin/python to /usr/local/bin/python. After that, another error appeared in a loop: FileNotFoundError: [Errno 2] No such file or directory: '/srv/app/ckan'.