[Libreoffice-bugs] [Bug 134607] LO7RC1 - LANGPACK macOS - many versions fail to recognize LibreOffice 7.0 / 7.1 installation as valid on Catalina and Big Sur

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 8 17:36:10 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=134607

--- Comment #81 from SveDec <svedec at free.fr> ---
Hi,

I just updated a MacBook Pro from Mavericks (10.9) to El Capitan (10.11).
I consequently updated LibreOffice from v6.2.8.2 to v7.1.1.

The bug with the langpack occurs : it can't find automatically the LibreOffice
install, and manual selection ends with the invalid install message.

As the OS is older than Catalina and Big Sur, this comment might not be
relevant here, but the problem seems similar. Excuse-me if this is the wrong
place to report.


Some infos :

Version: 7.1.1.2 / LibreOffice Community
Build ID: fe0b08f4af1bacafe4c7ecc87ce55bb426164676
CPU threads: 4; OS: Mac OS X 10.11.6; UI render: default; VCL: osx
Locale: fr-FR (fr.UTF-8); UI: en-US
Calc: threaded

```
$ mdfind "kMDItemContentType == 'com.apple.application-bundle' &&
kMDItemDisplayName == 'LibreOffice'"
/Applications/LibreOffice.app

$ mdls --raw --name kMDItemDisplayName --name kMDItemVersion
/Applications/LibreOffice.app | xargs -0 | fgrep 'LibreOffice'
LibreOffice 7.1.1.2

$ mdfind "kMDItemContentType == 'com.apple.application-bundle' &&
_kMDItemDisplayNameWithExtensions == 'LibreOffice'"
-> no result (same with 'LibreOffice.app')
```


I tried to turn the Finder's "show all file extensions" setting ON, and OFF
again (it was off as default), without any change.

I also tried to remove the ".app" on lines 69 and 129 (based on
https://bugs.documentfoundation.org/show_bug.cgi?id=134607#c42 but in reverse)
in the `Contents/Resources/osx_install.applescript` file, without success.

Finally, I tried to replace the `_kMDItemDisplayNameWithExtensions` argument
with `kMDItemDisplayName` on line 69, but then it directly displays the invalid
install message.


When i try to reinstall v6.2.8.2 and its langpack, it works well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210308/ef948acc/attachment.htm>


More information about the Libreoffice-bugs mailing list