Jonathan-LeRoux / IguanaTex

A PowerPoint add-in allowing you to insert LaTeX equations into PowerPoint presentations on Windows and Mac
http://www.jonathanleroux.org/software/iguanatex/
Other
851 stars 59 forks source link

An error window can't be close on Mac #24

Closed Cqyiiii closed 2 years ago

Cqyiiii commented 2 years ago
image

Why this window can't be close and how I solve it?

Jonathan-LeRoux commented 2 years ago

I'm not sure why the Close button isn't working, it does work for me. This seems to be triggered by the fact that IguanaTex cannot find the LaTeXiT-metadata executable. One workaround to get rid of that message would be for you to download LaTeXiT-metadata-macos and set its location in the Main Settings menu. Easiest way to do this is to click on the "..." button next to the LaTeXiT-metadata path textbox and navigate to the file you just downloaded. Please also make the downloaded file executable (chmod +x LaTeXiT-metadata-macos in the Terminal), which is not the case by default.

zhoutengye commented 2 years ago

When clicking on close, this window automatically appears again. I could do nothing on PowerPoint, even save the current file, the only thing I can do is to force quit.

I am using Macbook Pro 2015, OS X 12.3.1, MS Office

Jonathan-LeRoux commented 2 years ago

Did you try the solution I suggested?

zhoutengye commented 2 years ago

Did you try the solution I suggested?

Yes, I did. Usually, I do not see this error, but sometimes, this error appears, I do not know why. Whenever it happens, it becomes an error loop, the only way to quit this error is to force quit PowerPoint.

Jonathan-LeRoux commented 2 years ago

Do you see exactly the same error window as posted by @Cqyiiii ? Their error seemed to be that IguanaTex couldn't find the LaTeXiT-metadata-macos executable, so if the executable is in the right location, there shouldn't be a problem. If possible, please post a screenshot of the error window you are seeing.

In case you do have an issue with the LaTeXiT-metadata-macos executable not being found, could you try using IguanaTex_v1_60_0.zip, the latest beta version, and copying LaTeXiT-metadata-macos under /Library/Application Support/Microsoft/Office365/User Content.localized/Add-Ins.localized/? You should be able to set the path in Main Settings to an empty string and it will default to this folder, or just navigate to the correct path using the "..." menu.

zhoutengye commented 2 years ago

Do you see exactly the same error window as posted by @Cqyiiii ? Their error seemed to be that IguanaTex couldn't find the LaTeXiT-metadata-macos executable, so if the executable is in the right location, there shouldn't be a problem. If possible, please post a screenshot of the error window you are seeing.

In case you do have an issue with the LaTeXiT-metadata-macos executable not being found, could you try using IguanaTex_v1_60_0.zip, the latest beta version, and copying LaTeXiT-metadata-macos under /Library/Application Support/Microsoft/Office365/User Content.localized/Add-Ins.localized/? You should be able to set the path in Main Settings to an empty string and it will default to this folder, or just navigate to the correct path using the "..." menu.

I am not sure. In these two days, I have not seen this error. But I am sure that whenever some the window like the error window posted by @Cqyiiii , I could do nothing to PowerPoint. The window kept on popping after clicking on close. I lost my unsaved PowerPoint, unfortunately.

Your solution will prevent the window to appear, but I would recommend fixing the pop-up window issue when it appears, it should not keep on popping up after clicking on close.

Jonathan-LeRoux commented 2 years ago

I fully agree, but I can't reproduce the issue, which makes it difficult to fix. The latest beta version I linked to shouldn't trigger the same error, so unless it is triggered by something else as well, that would be an indirect fix. If you experience the issue again, please take a screenshot and let me know what triggered it.

Jonathan-LeRoux commented 2 years ago

I will close this for now, please feel free to reopen if you experience this issue again.