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

Can't save topology and level 2 script in MiniEdit #1086

Open
andredemori opened this issue Jul 28, 2021 · 4 comments
Open

Can't save topology and level 2 script in MiniEdit #1086

andredemori opened this issue Jul 28, 2021 · 4 comments

Comments

@andredemori
Copy link

andredemori commented Jul 28, 2021

Expected/Desired Behavior:

save topology and save Level 2 script

Actual Behavior:

It is not saving the .mn and .py files. After saving the files are created with 0 bytes, that is, empty.

Detailed Steps to Reproduce the Behavior:

I'm just using a virtual machine that was downloaded from Mininet's own website. Link: https://github.com/mininet/mininet/releases/

Mininet 2.3.0
mininet-2.3.0-210211-ubuntu-20.04.1-legacy-server-amd64-ovf.zip
Latest release

Additional Information:

It's working fine, but apparently it can't save and consequently import saved .mn files. Do you have any recommendations for a release that is working better?

@andredemori andredemori changed the title Can't import topology in MiniEdit Can't save topology and level 2 script Jul 28, 2021
@andredemori andredemori changed the title Can't save topology and level 2 script Can't save topology and level 2 script in MiniEdit Jul 28, 2021
@Virakwan
Copy link

I used "Mininet 2.3.0" with VM files "mininet-2.3.0-210211-ubuntu-20.04.1-legacy-server-amd64-ovf.zip latest release". But when I run Miniedit and save the .mn files. The .mn file that I saved is empty when open. Any solution can I fix this problem?

@ScottWilliamAnderson
Copy link

I'm having the same issue. Any update?

@zahtem
Copy link

zahtem commented May 5, 2022

i had the same problem i made those changes it work
https://stackoverflow.com/questions/60584193/miniedit-gui-unable-to-export-python-file

@Nelson-iitp
Copy link

this line needs to be changed in miniedit.py

for widget, item in self.widgetToItem:

instead of for widget, item in self.widgetToItem:
it should be for widget, item in self.widgetToItem.items():

because items() must be called on dict and it correct everwhere else other than this line.

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

5 participants