-
Notifications
You must be signed in to change notification settings - Fork 0
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
Key Error "auto_metric_edge" #2
Comments
I just saw this in the changelog for 0.29: So I guess it is related to the version change. |
I was able to fix the issue with the addition of the line below. I have no idea if the value 1 for the points is correct.
|
hi @luismaie Thanks for reaching out and report in this issue, this indeed is a new version related bug, currently I was still using 0.28 and haven't check the good stuffs from the 0.29. This function was originally designed to adapt different measurement types the fix you done here is actually the correct way to patch this bug. The ”1” here corrospond to how many clicks we need from user inorder to end the ruler measurement process. I'll push a new update that includes this fix shortly. |
Hi,
I have used you script the first time and got the following crash:
![grafik](https://private-user-images.githubusercontent.com/1633217/326429984-3a81ee54-6856-421e-9bda-b2dc3185749c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNzAzNzksIm5iZiI6MTcyNjE3MDA3OSwicGF0aCI6Ii8xNjMzMjE3LzMyNjQyOTk4NC0zYTgxZWU1NC02ODU2LTQyMWUtOWJkYS1iMmRjMzE4NTc0OWMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MTJUMTk0MTE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzBiODUzMGJmOTYwNjA2NTcxY2RlMzliZTRjYzU1N2VhMjMzYjE5YWY1ZDcxMzIxOTQ2YzU3N2MzODhkNTNiMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.gYr2pNPiCok5Jn6fNJCPaXWTvv1nUCDKNW_ghXoyeNU)
I used the recently release KLayout 0.29 (Windows 11 x64). Maybe there was a change here that lead to the problem, but I have not explicitly tested it on the previous version.
Maybe it is as simple as a missing entry in the dictionary in centerRulerDock.py on line 135. There no value "auto_metric_edge" is present.
The text was updated successfully, but these errors were encountered: