When testing LibreLogo on master Version: 5.3.0.0.alpha0+ Build ID: 77e792096502a7ac9506cbfba28aa6772d5a3e31 CPU Threads: 2; OS Version: Mac OS X 10.11.6; UI Render: default; Locale: fr-FR (fr.UTF-8); Calc: group I get the following error message after activating the LibreLogo toolbar, and clicking on the menu entry "Set editing layout..." com.sun.star.uno.RuntimeExceptionError during invoking function __translate__ in module file:///Applications/LibreOfficeDev.app/Contents/Resources/Scripts/python/LibreLogo/LibreLogo.py (<class 'TypeError'>: 'NoneType' object is not subscriptable File "/Applications/LibreOfficeDev.app/Contents/Resources/pythonscript.py", line 869, in invoke ret = self.func( *args ) File "/Applications/LibreOfficeDev.app/Contents/Resources/Scripts/python/LibreLogo/LibreLogo.py", line 357, in __translate__ lq = '\'' + lang['LEFTSTRING'].replace("|", "") )
Also present in Version: 5.1.5.2 Build ID: 7a864d8825610a8c07cfc3bc01dd4fce6a9447e5 Threads CPU : 2; Version de l'OS :Mac OS X 10.11.6; UI Render : par défaut; Locale : fr-FR (fr.UTF-8); Calc: group Confirming
Caolan : one for you ?
Don't know what it would have anything to do with me. Works for me under Linux, maybe its the version of python on mac, or maybe its the language. Looking at the code there seems to be an eventual fallback to en_US there, so I wonder if share/Scripts/python/LibreLogo/LibreLogo_en_US.properties exists in the install
(In reply to Caolán McNamara from comment #3) > Don't know what it would have anything to do with me. OK, I'll take you off cc, sorry for the noise. > > Works for me under Linux, maybe its the version of python on mac, or maybe > its the language. Looking at the code there seems to be an eventual fallback > to en_US there, so I wonder if > share/Scripts/python/LibreLogo/LibreLogo_en_US.properties exists in the > install Will check and see.
On MacOS 10.12 with master sources updated 3 days ago + FrenchUI I reproduced this: com.sun.star.uno.RuntimeException: Error during invoking function __translate__ in module file:///Users/XXX/lo/lode/dev/core/instdir/LibreOfficeDev.app/Contents/Resources/Scripts/python/LibreLogo/LibreLogo.py (<class 'TypeError'>: 'NoneType' object is not subscriptable File "/Users/XXX/lo/lode/dev/core/instdir/LibreOfficeDev.app/Contents/Resources/pythonscript.py", line 870, in invoke ret = self.func( *args ) File "/Users/XXX/lo/lode/dev/core/instdir/LibreOfficeDev.app/Contents/Resources/Scripts/python/LibreLogo/LibreLogo.py", line 357, in __translate__ lq = '\'' + lang['LEFTSTRING'].replace("|", "") )
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ab3b5b0dfb0c92aa5e94a0f417950724c694ac57 tdf#101603: fix lgnpath for MacOs in LibreLogo It will be available in 5.4.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=708554c0973718174c60eb566bb846146994b786&h=libreoffice-5-3 tdf#101603: fix lgnpath for MacOs in LibreLogo It will be available in 5.3.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
For 5.2 branch, the patch is on review: https://gerrit.libreoffice.org/#/c/31270/
*** Bug 86791 has been marked as a duplicate of this bug. ***
Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-5-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c5c7c011120b95bc782f200f1c46984d1e413e5d&h=libreoffice-5-2 tdf#101603: fix lgnpath for MacOs in LibreLogo It will be available in 5.2.5. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.