Setup file with incorrect locale install path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CLI Companion |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When installing from source (bzr branch lp:clicompanion) and executing setup.py install, you end up with am installed script that complains about not finding the /usr/local/
using locale in source code folder
Traceback (most recent call last):
File "/usr/local/
idioma = get_language()
File "/usr/local/
traducidos = os.listdir(
OSError: [Errno 2] No existe el fichero o el directorio: '/usr/local/
I just glimpsed the code and figured out that the locales where not installed at the correct folder and the app was trying to get the locales from the source folder (and was unable to find them because it was looking to the same folder where the binary is installed ,/usr/local/bin instead of looking in the correct one).
Submitted a patch, only 5 chars added XD.
Related branches
- David Caro: Approve
-
Diff: 13 lines (+1/-1)1 file modifiedsetup.py (+1/-1)
summary: |
- Setup file with incorerct locale install path + Setup file with incorrect locale install path |
description: | updated |
Changed in clicompanion: | |
status: | Fix Committed → Fix Released |
Patch solving problem.
I recommend merge to trunk.
Thanks!