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

Arg parsing bug affecting language pack downloading #4935

Closed
aronasorman opened this issue Feb 29, 2016 · 4 comments
Closed

Arg parsing bug affecting language pack downloading #4935

aronasorman opened this issue Feb 29, 2016 · 4 comments
Assignees
Milestone

Comments

@aronasorman
Copy link
Collaborator

Summary

I can't download language packs with a dash in their name, like es-ES.

Output:

$ kalite manage retrievecontentpack local 'es-ES' '~/src/github.com/fle-internal/content-pack-maker/out/es-ES.zip'
Please only use --option=value or -x123 patterns. No spaces allowed between option and value. The option parser gets confused if you do otherwise.

Will be fixed in a future release.[70307 refs]
[52419 refs]

Branch or installer method

0.16.x

Traceback or relevant snippet from server.log

INSERT TRACEBACK, LOG MESSAGES ETC. HERE

How to reproduce

See log pasted above.

Screenshots

If applicable

Real-life consequences (anything community should be aware, for instance how it affects your deployment)

For admins who want to install a sublanguage, they'll have to do it through a roundabout way, running kalite shell and then call_command(retrievecontentpack`...)

@radinamatic
Copy link
Member

Bummer, since it affects the two largest user groups who would use localized version (es-ES, since we don't have other Latin American Spanish subgroups, and pt-BR), with most of subtitles translated (I think)... 😞

@aronasorman
Copy link
Collaborator Author

Yeah, I think fixing this would be important for 0.16. Hence the release blocker tag!

@radinamatic
Copy link
Member

Apologies, I totally misunderstood that Will be fixed in a future release. Thought you were punting it...

@rtibbles
Copy link
Member

rtibbles commented Mar 1, 2016

Fixed in #4939

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

No branches or pull requests

4 participants