8000 when Export level 2 Script in miniedit, save file error! ---version 2.3.1b4 · Issue #1213 · mininet/mininet · GitHub
[go: up one dir, main page]

Skip to content

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

Open

Description

@huangyl-git

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"

Activity

  1. huangyl-git commented on Nov 30, 2023

    @huangyl-git
    Author

    image

  2. huangyl-git commented on Nov 30, 2023

    @huangyl-git
    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():"

  3. Captain6606 commented on Dec 4, 2023

    @Captain6606

    我发现问题出在哪里:以下语句在 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0