WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.51k stars 994 forks source link

Subproject setup error on docker #855

Closed crisp2u closed 9 years ago

crisp2u commented 9 years ago

I'm trying to follow the instruction to setup an instance of weblate in a docker container. So far so good webslate is up and runnign but when I try to add a subproject I get this error "OSError at /admin/trans/subproject/add/ [Errno 2] No such file or directory: '/app/data/whoosh'". More details here: http://dpaste.com/0K090KS

Any clues ?

nijel commented 9 years ago

Can you please post full stacktrace? This would really help me to figure out what went wrong...

crisp2u commented 9 years ago

DPaste link is not enough ? I'm not familiar with Pyton and Django and I used the build in error reporting

nijel commented 9 years ago

Sorry, I somehow didn't see the link :-).

crisp2u commented 9 years ago

Wow, that was fast, under 4 minutes :-) Do you know how I can rebuild the docker container using this fix ? Currently requirements.txt lists Weblate at 2.3. Do I need to wait for another release ?

Thanks!

nijel commented 9 years ago

Anyway I think 2.4 should work correct as way, my fix was really for corner case....

crisp2u commented 9 years ago

I'll try also 2.4, in the meantime i found the answer here: https://pip.pypa.io/en/stable/user_guide/#requirements-files. I might even try to learn some Python. It's on my todo list anyway :-).

nijel commented 9 years ago

I've updated the docker repo to new requirements as well: https://github.com/nijel/weblate-docker/commit/4e82d4193b8fcad558f57c955a2b0fdcff760fd3