otfried / ipe

The Ipe extensible drawing editor
http://ipe.otfried.org
142 stars 12 forks source link

LaTeX engine cannot run on Ipe 7.2.29 in macOS Sequoia 15.0 #526

Open MasahiroMae opened 1 week ago

MasahiroMae commented 1 week ago

After updating to macOS Sequoia, the LaTeX engine cannot run on Ipe 7.2.29. It used to run with locally installed TeX Live version 2024 before updating to macOS Sequoia. In "show configuration", the LaTeX program path is empty as "* Latex program path: " and also other bash commands in my ipelets do not work. So I guess the Ipe does not have accessibility to the path. I would appreciate it if you have any suggestions to solve the problem. error

otfried commented 1 week ago

Can you open a terminal and type which pdflatex ? What output do you get?

MasahiroMae commented 1 week ago

The output of which pdflatex is bellow.

/Library/TeX/texbin/pdflatex

otfried commented 1 week ago

Hmm, that directory is on the path.

I do not know what Apple has changed in Sequoia - if you say that also your other bash commands fail, so it seems Ipe no longer has permission to call commands.

Have you checked in System prefs -> Privacy & Security if there is some setting you need to enable for Ipe?

MasahiroMae commented 1 week ago

In System prefs -> Privacy & Security, I added the Files & Folders access to Ipe, but not sure which accessibility setting corresponds to this matter. Currently, there are no pop-ups to need to enable for Ipe.

My environment is MacBook Air M2, 2022 and I am using the installation from ipe-7.2.29-mac-arm.dmg. (But the same thing occurs in the intel version on the same PC so intel/arm could not be the matter.)

MasahiroMae commented 1 week ago

I found that if I launch Ipe from Terminal with sudo open /Applications/Ipe.app this problem does not occur.

otfried commented 1 week ago

And without the sudo? Just open /Applications/Ipe.app ?

MasahiroMae commented 1 week ago

If I launch with open /Applications/Ipe.app this problem also does not occur.

The problem occurs when I launch Ipe from Finder or Dock.

otfried commented 1 week ago

Hmm, it could be that when starting with open, it inherits some path settings from the terminal, but that those are not correctly set when starting from the dock.

I really don't know what else to suggest - I am not a Mac user and do not have hardware that can run Sequoia.

Why don't you ask on the discussion mailing list?

ruilong-zhang commented 6 days ago

I have the exact same problem. IPE cannot run the local TeX Live version 2024 after updating macOS Sequoia. It only works if I open the IPE app from the terminal. Not sure what happened ...

MasahiroMae commented 2 days ago

@otfried Thank you for sharing the information about the Ipe discussion mailing list.

I also found the related discussions in the Apple Support Community. https://discussions.apple.com/thread/255779464