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

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

Open
agalewsky-pnn opened this issue Aug 11, 2024 · 2 comments
Open

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

agalewsky-pnn opened this issue Aug 11, 2024 · 2 comments
Assignees

Comments

@agalewsky-pnn
Copy link

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 kowh-ai self-assigned this Aug 15, 2024
@kowh-ai
Copy link
Contributor

kowh-ai commented Aug 15, 2024

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
Copy link

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'.

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

3 participants