2.4.0~RC1 hangs on macOS

José Matos jaomatos at gmail.com
Wed Jan 24 08:02:08 UTC 2024


On Wed, 2024-01-24 at 00:48 -0700, list_email at icloud.com wrote:
> Thanks, el.
> 
> Getting rid of macports for homebrew is not an option for me.
> 
> In my profile file, I have this:
> 
> alias python=/opt/local/bin/python3
> 
> which is macports. Does LyX see this? This alias points to Python
> 3.9.18. There is a utility to switch to other versions.
> 
> I already have the command line tools installed, with Python 3.9.6 at
> /usr/bin/phython3.
> 
> I just now tried switching to this line in my profile file:
> 
> alias python=/usr/bin/python3
> 
> with the same result.
> 
> Remember that LyX 2.3.7 works fine.
> 
> Jerry

LyX tells what is the version used in Help->About LyX.

Of course that the issue is that if it hangs before you can not see
that.

Honestly I would be quite surprised if problems comes to be python
since reconfigure runs.

The issue is why do you get the loop.

One idea here is to output the Python version to the reconfigure
output.

That is quite easy, since we already inside Python.

The only thing that looks a bit strange is:
"""
+checking for "lilypond"...  yes
+  found LilyPond, but could not extract version number.
checking for a LilyPond book (LaTeX) -> LaTeX converter...
+checking for "lilypond-book"...  yes
  File "/Applications/LyX.app/Contents/MacOS//lilypond-book", line 12
    unset DISPLAY
          ^
SyntaxError: invalid syntax
"""

This is a shell script that only goes in Mac distribution and the
reconfigure code seems to try to run it as Python?

-- 
José Abílio


More information about the lyx-devel mailing list