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

When forking Indigo, it appends -indigio multiple times #59

Closed
misilot opened this issue Feb 12, 2024 · 2 comments
Closed

When forking Indigo, it appends -indigio multiple times #59

misilot opened this issue Feb 12, 2024 · 2 comments

Comments

@misilot
Copy link
Contributor

misilot commented Feb 12, 2024

Hello,

When I have both indigo and our nla-theme enabled tutor tries to append indigo twice to the image name.

NLA Theme: https://github.com/newliteraciesalliance/tutor-nla-theme/tree/nla-v17

tutor launch dev results in

[+] Stopping 3/0
 ✔ Container tutor_local-mysql-1        Stopped                                                                                                                                                                  0.0s
 ✔ Container tutor_local-mongodb-1      Stopped                                                                                                                                                                  0.0s
 ✔ Container tutor_local-permissions-1  Stopped                                                                                                                                                                  0.0s
docker compose -f '/Users/user/Library/Application Support/tutor/env/local/docker-compose.yml' -f '/Users/user/Library/Application Support/tutor/env/dev/docker-compose.yml' --project-name tutor_dev up --remove-orphans -d
[+] Running 1/1
 ✘ mfe Error                                                                                                                                                                                                     0.6s
Error response from daemon: manifest for overhangio/openedx-mfe:17.0.0-indigo-indigo not found: manifest unknown: manifest unknown
Error: Command failed with status 18: docker compose -f /Users/user/Library/Application Support/tutor/env/local/docker-compose.yml -f /Users/user/Library/Application Support/tutor/env/dev/docker-compose.yml --project-name tutor_dev up --remove-orphans -d

If I disable one of them, it's able to start up and run.

@DawoudSheraz DawoudSheraz moved this from Pending Triage to Backlog in Tutor project management Feb 13, 2024
@regisb
Copy link
Contributor

regisb commented Feb 13, 2024

Well yes, that's because of this function: https://github.com/newliteraciesalliance/tutor-nla-theme/blob/106f0a64f01126995c60d167c8d3fec7ce78651b/nlatheme/plugin.py#L79
If you really want to enable both themes at the same time, then you need to properly handle image naming in your plugin.

@regisb regisb closed this as not planned Won't fix, can't repro, duplicate, stale Feb 13, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Tutor project management Feb 13, 2024
@misilot
Copy link
Contributor Author

misilot commented Feb 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants