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/bin/locale folder:
using locale in source code folder
Traceback (most recent call last):
File "/usr/local/bin/clicompanion", line 45, in <module>
idioma = get_language()
File "/usr/local/bin/clicompanion", line 37, in get_language
traducidos = os.listdir(locale_dir)
OSError: [Errno 2] No existe el fichero o el directorio: '/usr/local/bin/locale'
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 dource folder (and was unable to find them because it was looking to the same folder where the binary is installed (/usr/local/bin).
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/ bin/locale folder:
using locale in source code folder bin/clicompanio n", line 45, in <module> bin/clicompanio n", line 37, in get_language locale_ dir) bin/locale'
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 dource folder (and was unable to find them because it was looking to the same folder where the binary is installed (/usr/local/bin).
Submitted a patch, very simple.