It is currently Wed Apr 14, 2021 4:11 am


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: BUG - Ethernet switch node - 1.0beta1 on linux
PostPosted: Tue Jul 22, 2014 6:18 pm 
Offline

Joined: Tue Jul 17, 2012 1:34 pm
Posts: 214
<<EDITED!!>

BUG - Ethernet switch node - 1.0beta1 on linux

Jeremy,

This bug is confirmed and can be easily repeated by creating a project with one Ethernet switch node. Simply delete some of the default ports assigned to the Ethernet switch node, then save and reopen the project to produce the error (see below). Also, even when some default ports are deleted, all ports (1-8) are displayed as available when you attempt to link another device to the Ethernet switch node. For my tests I deleted ports 3 through 8.

Code:
GNS3 management console. Running GNS3 Early Release (ER) version 1.0beta1 on linux.
Copyright (c) 2006-2014 GNS3 Project.

=> ****** Exception detected, traceback information saved in /home/jneumann/.config/GNS3/exception.log ******

PLEASE REPORT ON http://forum.gns3.net/development-f14.html OR http://github.com/GNS3/gns3-gui/issues

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/gns3_gui-1.0beta1-py3.4.egg/gns3/main_window.py", line 345, in _openProjectActionSlot
    self.loadProject(path)
  File "/usr/local/lib/python3.4/dist-packages/gns3_gui-1.0beta1-py3.4.egg/gns3/main_window.py", line 1136, in loadProject
    topology.load(json_topology)
  File "/usr/local/lib/python3.4/dist-packages/gns3_gui-1.0beta1-py3.4.egg/gns3/topology.py", line 477, in load
    node.load(topology_node)
  File "/usr/local/lib/python3.4/dist-packages/gns3_gui-1.0beta1-py3.4.egg/gns3/modules/dynamips/nodes/ethernet_switch.py", line 450, in load
    self.setup(name, ports)
  File "/usr/local/lib/python3.4/dist-packages/gns3_gui-1.0beta1-py3.4.egg/gns3/modules/dynamips/nodes/ethernet_switch.py", line 83, in setup
    self._settings["ports"][port.portNumber()] = {"type": initial_port["type"],
KeyError: 'type'



_________________
J.Neumann, GNS3 Contributor & Forum Moderator (Minion ID: sin.zx81.1981ad)
Author: Cisco Routers for Small Business (Apress)


Top
 Profile  
 
 Post subject: Re: BUG - Ethernet switch node - 1.0beta1 on linux
PostPosted: Sun Jul 27, 2014 1:15 am 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Noted :)

Thanks,

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: BUG - Ethernet switch node - 1.0beta1 on linux
PostPosted: Wed Aug 13, 2014 8:36 pm 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
This should be fixed now. See latest dev version.

Thanks,



_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO