-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KLayout MacOS - The operation couldn’t be completed. (OSStatus error 99999.) #137
Comments
I think this is the version I compiled. Did this just happen out of nowhere? Can you launch from terminal to try to check what is generating the error? |
From terminal, it works. Probably it breaks in the GUI because of the errors, which should be caught by the Log…
iMac-Hickup:klayout-25-3-Qt51brew-Py3.app lukasc$ cd Contents/MacOS/
iMac-Hickup:MacOS lukasc$ ./klayout
ERROR: Reading zoom_animate.lym in /Users/lukasc/.klayout/macros: XML parser error: error occurred while parsing element in line 47, column 16
ERROR: Reading zoom_animate.lym in /Users/lukasc/.klayout/macros: XML parser error: error occurred while parsing element in line 47, column 16
KLayout 0.25.3
loading Lumerical_INTC_CMLs.txt
resetting Lumerical INTERCONNECT Python integration
resetting Lumerical FDTD Python integration
resetting Lumerical Python integration
loading SiEPIC.github
Initializing 'SiEPIC General' Library.
ERROR: /Users/lukasc/.klayout/pymacros/SiQL_PCells/SiQL_PCells.lym:531: No module named 'numpy'
/Users/lukasc/.klayout/pymacros/SiQL_PCells/SiQL_PCells.lym:531
/Users/lukasc/.klayout/pymacros/SiQL_PCells/SiQL_PCells.lym:527 (class ModuleNotFoundError)
Initializing 'EBeam' Library.
Initializing 'EBeam' Library.
reading: /Users/lukasc/SiEPIC_EBeam_PDK/klayout_dot_config/tech/EBeam/pymacros/SiEPIC-EBeam.gds
Initializing 'EBeam-dev' Library.
ERROR: /Users/lukasc/.klayout/tech/EBeam/pymacros/photonic_crystals/photonic_crystals.py:528: No module named 'numpy'
/Users/lukasc/.klayout/tech/EBeam/pymacros/photonic_crystals/photonic_crystals.py:528
/Users/lukasc/.klayout/tech/EBeam/pymacros/photonic_crystals/photonic_crystals.py:524
/Users/lukasc/.klayout/tech/EBeam/pymacros/SiEPIC_EBeam-dev Library.lym:3385
/Users/lukasc/.klayout/tech/EBeam/pymacros/SiEPIC_EBeam-dev Library.lym:3430 (class ModuleNotFoundError)
Initializing 'GSiP' Library.
Initializing 'SiEPIC_IME' Library.
ERROR: /Users/lukasc/.klayout/python/SiEPIC/utils/geometry.py:8: No module named 'numpy'
/Users/lukasc/.klayout/python/SiEPIC/utils/geometry.py:8
/Users/lukasc/Documents/GitHub/SiEPIC_IME_Library/SiEPIC_IME_KLayout_Library/tech/SiEPIC_IME/pymacros/SiEPIC_IME_Lightwave.py:5
/Users/lukasc/.klayout/tech/SiEPIC_IME/pymacros/0_Load_Libraries.lym:7 (class ModuleNotFoundError)
|
@lukasc-ubc i need to compile a version with the python ssl module embedded, otherwise pip 10 is going to fail to install these modules automatically, but this is a discussion to be had in siepic-tools. i don't know why python errors are causing this OS error 99999. my klayout doesn't crash. wish i could reproduce this right now. |
In the older versions, I get the same list of errors in the File | Log Viewer. Can you create an error in one of the lyp libraries, e.g., replace import numpy with import numpyxxx? |
It still doesn't start for me. Here is the output of the Console.App: I will run an OS update and see if that fixes it. |
interesting. have you tried right-click -> open? security assessment... I am not quite a Mac developer, but I know launching third party apps require a manual authorization from contents downloaded from the internet. |
hmm. didn't help. Yes, I did right-click open... it did a check for a while, then asks if I want to open. then waits for a while, then the error. |
Can you show me the result of |
On another MacOS computer, I was able to get it working. So something specific with my desktop or user account. iMac-Hickup:~ lukasc$ xattr -l /Applications/klayout.app/ on the working computer, I downloaded it using Safari... |
There it says that this file was downloaded using Chrome. If you trust the source, maybe try removing these special quarantine attributes? |
wow, that fixed it! prior to that, I tried on a different user account, but that didn't help. |
Great! I have no idea how you got there though. I think the bug might be in the OS itself. I am working on compiling a new version with Qt5.11, which fixes the resizing issue. |
Done in #138 . |
@klayoutmatthias I believe this issue can be closed. |
this issue should be closed, no ? |
Can't start the application.
This is running MacOS High Sierra, 10.13.4, and klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.dmg
The text was updated successfully, but these errors were encountered: