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

Cannot configure Docker container after being placed on the topology view GNS3 3.0.0 alpha 1 #3366

Closed
cristian-ciobanu opened this issue Aug 4, 2022 · 1 comment
Labels
Milestone

Comments

@cristian-ciobanu
Copy link

cristian-ciobanu commented Aug 4, 2022

Describe the bug
Cannot configure Docker container after being placed on the topology view

GNS3 version and operating system (please complete the following information):

  • OS: ArchLinux
  • GNS3 version: 3.0.0 alpha 1
  • GNS3 server and GUI are running on same machine (bare metal)

To Reproduce
Steps to reproduce the behavior:

  1. Drag a Docker container from the All devices pane on the topology view
  2. Right click on the Docker container and choose from Configure from the menu.
  3. No configuration dialog box is being opened and the following exception is thrown:
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/gns3/graphics_view.py", line 1046, in configureActionSlot
    self.configureSlot(items)
  File "/usr/lib/python3.10/site-packages/gns3/graphics_view.py", line 686, in configureSlot
    node_properties = NodePropertiesDialog(items, self._main_window)
  File "/usr/lib/python3.10/site-packages/gns3/dialogs/node_properties_dialog.py", line 54, in __init__
    self._loadNodeItems()
  File "/usr/lib/python3.10/site-packages/gns3/dialogs/node_properties_dialog.py", line 94, in _loadNodeItems
    self.showConfigurationPageSlot(item, 0)
  File "/usr/lib/python3.10/site-packages/gns3/dialogs/node_properties_dialog.py", line 132, in showConfigurationPageSlot
    page.loadSettings(item.settings(), item.node())
  File "/usr/lib/python3.10/site-packages/gns3/modules/docker/pages/docker_vm_configuration_page.py", line 115, in loadSettings
    self._custom_adapters = settings["custom_adapters"].copy()
AttributeError: 'NoneType' object has no attribute 'copy'

Screenshots or videos
None

Additional context
None

@cristian-ciobanu cristian-ciobanu changed the title Cannot configure Docker container after being placed on the topology view Cannot configure Docker container after being placed on the topology view GNS3 3.0.0 alpha 1 Aug 4, 2022
@grossmj grossmj added this to the 3.0 milestone Aug 4, 2022
grossmj added a commit to GNS3/gns3-server that referenced this issue Aug 6, 2022
@grossmj
Copy link
Member

grossmj commented Aug 6, 2022

Fixed

@grossmj grossmj closed this as completed Aug 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants