You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've fixed this issue in pull request #1208. This issue occurs when running miniedit with Python 3. In Python 2, there is a need for .encode('utf-8'), but in Python 3, the string is already in the correct format. Running the same code converts the string to a bytes literal, resulting in the addition of a "b" before the string, like this: b'hostname'.
MayorX500
added a commit
to MayorX500/mininet
that referenced
this issue
Mar 8, 2024
while trying to open my saved topology it open as empty with the following error:
topo=none
Exception in Tkinter callback
Traceback (most recent call last):
File '"usr/lib/python3.10/tkinter/init.py", line 1923, in call return self.func(*args)
File "/home/mininet/examples/miniedit.py", line 1486, in loadTopology hosts = loadedTopology['hosts']
keyErrror: 'hosts'
The text was updated successfully, but these errors were encountered: