Comments (11)
We had to clear the ms-dos carriage returns in app-entrypoint.sh.
After that, no more ":invalid option" errors.
Points 2 and 3 were not relevant to our issue.
Chances are, there is a bash script that was edited in windows, and depending on the editor
the file was converted and "\r" was embedded.
The fact that @tmrocha89 resolved the issue by switching to an Ubuntu environment suggests that this would be a root issue for that error.
It's cryptic, so it took some time to track down.
As usual, friggin Windoze.
from tutor.
The : invalid option
message makes me think there's a typo somewhere in your docker-compose file, probably in the lms or the cms sections. Could you post your docker-compose file here?
from tutor.
No, I don-t believe that is some error on my docker-compose.
With docker I'm able to start all external services. So I did and tried to start lms from terminal (without using docker-compose) and I face the same problem.
But the time I tried to start lms from terminal I didn't try to mount the volumes.
And I'm doing this on a windows machine.
Link to the docker-compose file: https://github.com/tmrocha89/openedx-docker/blob/ginkgo2/docker-compose.yml
from tutor.
Indeed, I can't seem to find an error in the docker-compose file.
Maybe the error is related to volumes? I am not familiar with docker under windows. Can you try to comment out all the volume declarations in the docker-compose file and then run "make lms". If it doesn't work please paste the exact output here. If it does, try to uncomment the volume declarations one by one until it doesn't work anymore.
from tutor.
I tested on ubuntu 16.04 machine and everything work as expected.
I'll check this weekend (probably), but this seems to be a problem with Windows.
edit:
I updated the issue's title.
from tutor.
Thanks! I'm sorry I can't help you more, but I don't have a Windows machine... Please report your findings!
from tutor.
@tmrocha89 did you make progress about windows support? If not, can I close this?
from tutor.
No I didn't. I end up switching to Ubuntu.
Yes, you can close this issue. But there are some changes needed in the project to be windows compatible, for example, the way to get the user id USERID ?= $$(id -u)
.
Thank you for your support
from tutor.
@tmrocha89 Unfortunately I don't have time to test this project under windows :-/ But thanks for the comment about USERID: I should take that into account if I decide that we should support windows.
from tutor.
We ran into this error. It was related to Windows line-endings. Remove all \r's and you'll be better.
from tutor.
@stackedsax thanks for your input!
- In which file(s) did you remove the \r end of line characters?
- Can you confirm that tutor works on windows?
- How did you install
make
?
from tutor.
Related Issues (20)
- rehash cmd if using zsh and which tutor returns /usr/local/bin instead of venv/bin HOT 3
- Upgrade elasticsearch HOT 1
- Installing Tutor + Lilac on ARM64 fails due to Shapely's "geos" requirement HOT 1
- The latest Docker images are not pulled on `tutor k8s` HOT 10
- tutor local quickstart error HOT 1
- Extremely high memory utilization running locally on certain linux distributions HOT 11
- Facing issue in course "view live" page to see course detail in lms. HOT 1
- Celery worker fails to start in development due to `tty: open`
- The docs do not make it clear what features should go in Tutor core vs plugins
- Migration needed before upgrade_from_maple HOT 2
- tutor k8s start fails with no PatchStrategicMerge HOT 1
- ORA2 folder is incorrectly set HOT 4
- Bind mounting MFEs fails on dev HOT 1
- kustomization.yml in env folder is not standard yaml format——tutor version 13.3.1 HOT 5
- nightly: building the openedx Docker image triggers RuntimeError because of content_libraries app HOT 3
- Allow importing of custom demo courses HOT 4
- Improve storage model of Caddy's pods in K8s HOT 2
- Plugins should have a CHANGELOG.md file HOT 2
- static file is not updated successfully (paver update_assets --settings devstack_docker)
- Unable to access courseware page with tutor 14.2.3 HOT 2
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 tutor.