Skip to content
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

when Export level 2 Script in miniedit, save file error! ---version 2.3.1b4 #1213

Open
huangyl-git opened this issue Nov 30, 2023 · 3 comments

Comments

@huangyl-git
Copy link

Expected/Desired Behavior:

Actual Behavior:

Export level 2 Script in miniedit, which has one switch, two router.

Detailed Steps to Reproduce the Behavior:

Additional Information:

File "/usr/lib/python3.10/tkinter/init.py", line 1684, in cget
return self.tk.call(self._w, 'cget', '-' + key)
_tkinter.TclError: unknown option "-0"

@huangyl-git
Copy link
Author

image

@huangyl-git
Copy link
Author

I find where the problem is:
follow statement is wrong at line 2019 in miniedit.py:
"for widget, item in self.widgetToItem:"
modify to "for widget, item in self.widgetToItem.items():"

@Captain6606
Copy link

我发现问题出在哪里:以下语句在 miniedit.py 中的第 2019 行是错误的:“for widget, item in self.widgetToItem:” modify to “for widget, item in self.widgetToItem.items():”

牛的,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants