Activity log for bug #802298

Date Who What changed Old value New value Message
2011-06-26 22:42:45 David Caro bug added bug
2011-06-26 22:42:45 David Caro attachment added Patch that installs the locale files under the correct /usr/local/clicompanion folder https://bugs.launchpad.net/bugs/802298/+attachment/2182246/+files/locale_wrongdir.patch
2011-06-26 23:11:25 David Caro summary Setup file with incorerct locale install path Setup file with incorrect locale install path
2011-06-26 23:13:36 David Caro 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/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). Submitted a patch, very simple. 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 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.
2011-06-29 20:53:57 Marek Bardoński clicompanion: status New Fix Committed
2011-06-29 20:53:59 Marek Bardoński clicompanion: importance Undecided Medium
2011-12-30 23:15:27 Launchpad Janitor branch linked lp:~dcaro/clicompanion/fix-802298
2011-12-30 23:25:23 David Caro clicompanion: status Fix Committed Fix Released