SiEPIC / SiEPIC_EBeam_PDK

SiEPIC EBeam PDK & Library, for SiEPIC-Tools and KLayout
http://www.siepic.ubc.ca
Other
205 stars 145 forks source link

Why my EBeam PDK libraries lost even if I install EBeam_PDK 0.3.32 #235

Closed zhangxlei closed 3 years ago

zhangxlei commented 3 years ago

@lukasc-ubc Dear Professor lukas,

I have installed klayout(0.26.11) and Siepic_EBeam_PDK(0.3.32) in Windows 10. I have used the software and your PDK well.

But today after I update the Siepic_EBeam_PDK, the SiEPIC_EBeam_PDK libraries is lost. I have change the version of klayout from 0.26.7 to 0.26.11 and reinstalled the package the libraries still lost. image image

In addition, the SiEPIC-Tools has no problem. image

Could you give me some suggestions?

Looking forward to hearing from you! Best regards! Weiling

lukasc-ubc commented 3 years ago

Could you please check the error log? Under the File menu. Perhaps there are errors when initializing the libraries.

On Apr 22, 2021, at 1:30 AM, Asun @.***> wrote:

 @lukasc-ubc Dear Professor lukas,

I have installed klayout(0.26.11) and Siepic_EBeam_PDK(0.3.32) in Windows 10. I have used the software and your PDK well.

But today after I update the Siepic_EBeam_PDK, the SiEPIC_EBeam_PDK libraries is lost. I have change the version of klayout from 0.26.7 to 0.26.11 and reinstalled the package the libraries still lost.

In addition, the SiEPIC-Tools has no problem.

Could you give me some suggestions?

Looking forward to hearing from you! Best regards! Weiling

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

zhangxlei commented 3 years ago

Thanks for your suggestion! There is a warning or error in log viewer. image But how to solve the problem?

zhangxlei commented 3 years ago

In addition, I want to install klayout and the PDK on another computer, it had the same problem and error in log viewer.

lukasc-ubc commented 3 years ago

That’s an easy fix.

In that file, add a line at the top:

from pya import Path

You’ll need an external editor since the file is read only in KLayout when in the salt folder.

Lukas Chrostowski Professor, Electrical and Computer Engineering University of British Columbia Quantum Matter Institute Member, College of the Royal Society of Canada http://www.mina.ubc.ca/lukasc http://siepic.ubc.ca https://qmi.ubc.ca/about/directory/lukas-chrostowski

On Apr 22, 2021, at 10:54 PM, Asun @.***> wrote:

 In addition, I want to install klayout and the PDK on another computer, it had the same problem and error in log viewer.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

lukasc-ubc commented 3 years ago

actually, we need Path, Point, etc.

So perhaps:

from pya import *

probably this needs to be fixed in other files too.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SiEPIC/SiEPIC_EBeam_PDK/issues/235#issuecomment-825406312, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADY37AHXFPKI7QBKWMETDWTTKEDOXANCNFSM43L62OWA.

lukasc-ubc commented 3 years ago

I released v0.3.33. can you see if that fixes it? thanks.

zhangxlei commented 3 years ago

I have tried add a line at the top: from pya import Path/ from pya import *, it seems to make no difference.

zhangxlei commented 3 years ago

I have updated your new release, the problem still exists.

zhangxlei commented 3 years ago

it seems not to add a line at the top, I add the code into the second line. It is right? image

zhangxlei commented 3 years ago

After I add the code into second line, the log viewer has no error or warning but the library still lost. image

zhangxlei commented 3 years ago

I have changed the version to 0.3.30, the libraries reappears and the problem is solved. I guess there is something the matter with your code of 0.3.32.

ANT-Jocelyn commented 3 years ago

@lukasc-ubc I'm having this same issue with the current version 0.3.34. The library import scripts are no longer running automatically successfully when KLayout is opened. They can be run manually from within KLayout each time the software is opened to show the libraries but you have to accept the following exception: image

This is with SiEPIC Tools version 0.3.76.

mustafacc commented 3 years ago

Hi @ANT-Jocelyn , which version of KLayout are you currently using?

ANT-Jocelyn commented 3 years ago

@mustafacc 0.26.12

lukasc-ubc commented 3 years ago

Hi @ANT-Jocelyn sorry for the slow response. Do you still have this problem, say in SiEPIC-Tools 0.3.79 and the SiEPIC-EBeam-PDK 0.3.36? If it works with the EBeam PDK, compare your library loading code with the EBeam one.

ANT-Jocelyn commented 3 years ago

@lukasc-ubc @mustafacc this error seems to be fixed in the SiEPIC Tools 0.3.79 and EBeam-PDK 0.3.36 releases, thanks for checking.