You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although I did not edit anything first, I am on a windows machine. So, I added dos2unix against the manage.py file in the Docker file, which was my guess for the source of the 'python\r' issue. However, despite successfully installing and running dos2unix command during the docker sequence, the same error remains. Maybe I didn't do something right? I do not see where else the 'python\r' could be coming from.
Step 30/39 : RUN dos2unix /app/src/manage.py
---> Running in b86f4efdd5ff
dos2unix: converting file /app/src/manage.py to Unix format...
Removing intermediate container b86f4efdd5ff
---> 8d73ef5d1bdd
Step 31/39 : RUN rm /app/src//settings/local.py* && find . -name '.pyc' -delet
e && python -mcompileall -q / && manage.py compilemessages && manage.py
collectstatic --noinput --link && manage.py migrate && manage.py loaddata e
xample_data.json && mkdir -p /app/web/media /app/web/static/CACHE && chown -
R app:app /app/web/media/ /app/web/static/CACHE /tmp/demo.db && chmod -R go+rw /
app/web/media/ /app/web/static/CACHE /tmp/demo.db
---> Running in 618ebd84a1f1
/usr/bin/env: python\r: No such file or directory
The command '/bin/sh -c rm /app/src//settings/local.py && find . -name '*.pyc'
-delete && python -mcompileall -q */ && manage.py compilemessages && ma
nage.py collectstatic --noinput --link && manage.py migrate && manage.py loa
ddata example_data.json && mkdir -p /app/web/media /app/web/static/CACHE &&
chown -R app:app /app/web/media/ /app/web/static/CACHE /tmp/demo.db && chmod -R
go+rw /app/web/media/ /app/web/static/CACHE /tmp/demo.db' returned a non-zero code:
127
Hi, I tried to install the Docker container per the Readme instructions.
It fails with the following error:
Step 30/38 : RUN rm /app/src//settings/local.py && find . -na
elete && python -mcompileall -q / && manage.py compilemess
anage.py collectstatic --noinput --link && manage.py migrate &&
y loaddata example_data.json && mkdir -p /app/web/media /app/we
E && chown -R app:app /app/web/media/ /app/web/static/CACHE /tm
chmod -R go+rw /app/web/media/ /app/web/static/CACHE /tmp/demo.
---> Running in 138fec6aa2a9
/usr/bin/env: `python\r': No such file or directory
ERROR: Service 'web' failed to build: The command '/bin/sh -c rm /a
ings/local.py && find . -name '*.pyc' -delete && python -m
*/ && manage.py compilemessages && manage.py collectstatic
link && manage.py migrate && manage.py loaddata example_dat
mkdir -p /app/web/media /app/web/static/CACHE && chown -R app:
media/ /app/web/static/CACHE /tmp/demo.db && chmod -R go+rw /ap
/app/web/static/CACHE /tmp/demo.db' returned a non-zero code: 127
The text was updated successfully, but these errors were encountered: