I've just upgraded from 2.4.6 on my Mac (running MacOS 11.7.1).
After the upgrade, OpenLP won't open—unless I run it in debug mode. I wonder if this has something to do with MS Powerpoint not being installed on this computer?
When I open the application, the icon appears in the middle of the screen, then a dialog opens asking for where Powerpoint is located. After clicking Cancel nothing else happens and I have to Force Quit.
In openlp.log I see this:
2023-01-02 10:21:57,829 MainThread openlp.plugins.presentations.lib.powerpointmaccontroller ERROR Compilation of Powerpoint applescript failed Traceback (most recent call last): File "openlp/plugins/presentations/lib/powerpointmaccontroller.py", line 287, in __init__ File "applescript/__init__.py", line 49, in __init__ applescript.ScriptError: Expected end of line, etc. but found identifier. (-2741) range=1675-1687
A strange thing is, when I run openlp from the command line with the `-l debug` switch, the application starts as expected. In the setting panel, the settings for Powerpoint are ticked but greyed out (so I can't 'untick' them).
Any ideas?
Comments
Screenshots of the 'Choose Application' dialog (it's displayed whether I'm in debug or regular mode) and the Presentation settings (running in debug mode).
Hey @funkydan2
That's an interesting error, I haven't seen it before. We've been a little light on the macOS testing recently due to a lack of resources, so I wasn't able to test OpenLP on every version of macOS. I'll try to get a macOS virtual machine installed with 11.7.1 and see if I can reproduce the error.
Thanks for reporting it!
Thanks @raoul for looking into the error. I'm running OpenLP on an old MacBook Air, and MacOS 11.7.1 is the latest compatible version (I can only guess how tough it must be to support, not only multiple operating systems, but multiple versions of those OS!).
In some further fiddling, I disabled the presentation plugin (I did that in debug mode)—and OpenLP now opens as expected. (I got the inspiration from this issue report.
That's great to hear, @funkydan2 !
I actually have macOS 10.14 on a Mac Mini, but it's not the machine we do the builds on, so I actually wasn't able to test stuff recently.