It is currently Sat Feb 04, 2012 3:17 am


All times are UTC




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: GNS 6 in ubuntu 9 will not open projets
PostPosted: Wed Apr 29, 2009 8:47 am 
I wonder also if an additionnal issue related to saving routers' configuration and startup configs for new project is introduced with 9.04

in my case it did not work either

I think it's worth being checked

regards






Top
  
 
 Post subject: Re: GNS 6 in ubuntu 9 will not open projets
PostPosted: Thu Apr 30, 2009 4:39 am 
I made the modifications and it tried to load the file. I got the following errors. I edited the net file and removed the idlepc values and it loaded. I'm running on FC10.


Traceback (most recent call last):

File "/usr/lib/python2.5/site-packages/GNS3/Workspace.py", line 777, in __action_OpenFile
self.openFile()

File "/usr/lib/python2.5/site-packages/GNS3/Workspace.py", line 795, in openFile
self.load_netfile(path)

File "/usr/lib/python2.5/site-packages/GNS3/Workspace.py", line 623, in load_netfile
net.import_net_file(path)

File "/usr/lib/python2.5/site-packages/GNS3/NETFile.py", line 532, in import_net_file
self.configure_node(node, device)

File "/usr/lib/python2.5/site-packages/GNS3/NETFile.py", line 228, in configure_node
self.record_image(device)

File "/usr/lib/python2.5/site-packages/GNS3/NETFile.py", line 195, in record_image
conf_image.idlepc = device.idlepc

File "/usr/lib/python2.5/site-packages/GNS3/Config/Objects.py", line 59, in __setattr__
% (name, str(self.__dict__['types'][name]))

AttributeError: value of `idlepc' must be of type: <type 'str'>



Here's a portion of the net file:autostart = False
[localhost:7202]
workingdir = /home/j/CCIE/IEWB1
udp = 10200
[[7200]]
image = /home/j/CCIE/Images/c7200
idlepc = 0x60648630
ghostios = True
[[ROUTER BB2]]
console = 2031
idlepc = 0x606485d4
cnfg = /home/j/CCIE/IEWB1/BB2.cfg
f0/0 = Switch1 f1/9
slot1 = PA-2FE-TX
x = -358.0
y = -191.0
[[ROUTER BB1]]
console = 2029
cnfg = /home/j/CCIE/IEWB1/BB1.cfg
slot1 = PA-8T
s1/0 = FR0 8
s1/1 = BB3 s1/0
x = -213.0
y = -130.0
[localhost:7203]
workingdir = /home/j/CCIE/IEWB1
udp = 10300
[[7200]]
image = /home/j/CCIE/Images/c7200
idlepc = 0x60646f74
ghostios = True
[[ROUTER BB3]]
console = 2033
cnfg = /home/j/CCIE/IEWB1/BB3.cfg
f0/0 = Switch2 f1/4
slot1 = PA-8T
s1/0 = BB1 s1/1
x = -365.0
y = -324.0
[localhost:7200]
workingdir = /home/j/CCIE/IEWB1
udp = 10000
[[3640]]
image = /home/j/CCIE/Images/c3640
idlepc = 0x6063d9c8
ghostios = True
chassis = 3640
[[ROUTER R1]]
model = 3640
console = 2015
idlepc = 0x6063a11c
cnfg = /home/j/CCIE/IEWB1/R1.cfg
slot0 = NM-1FE-TX
f0/0 = Switch1 f1/0
slot1 = NM-4T
s1/0 = FR0 1
s1/1 = R3 s0/2
x = -268.0
y = -380.0
[[ROUTER R2]]
model = 3640
console = 2017
cnfg = /home/j/CCIE/IEWB1/R2.cfg
slot0 = NM-4T
s0/0 = FR0 2
s0/1 = R3 s0/3
slot1 = NM-1FE-TX
f1/0 = Switch1 f1/1
x = 181.0
y = -374.0
[[ROUTER Switch2]]
model = 3640
console = 2020
idlepc = 0x606ef12c
cnfg = /home/j/CCIE/IEWB1/Switch2.cfg
slot1 = NM-16ESW
f1/0 = R3 f2/0
f1/1 = R4 f2/0
f1/2 = R5 f1/0
f1/3 = R6 f2/0
f1/4 = BB3 f0/0
f1/5 = Switch1 f1/5
f1/6 = Switch1 f1/6
f1/7 = Switch1 f1/7
x = 299.0
y = 38.0
[[ROUTER Switch1]]
model = 3640
console = 2005
cnfg = /home/j/CCIE/IEWB1/Switch1.cfg
slot1 = NM-16ESW
f1/0 = R1 f0/0
f1/1 = R2 f1/0
f1/2 = R3 f1/0
f1/3 = R4 f1/0
f1/4 = R5 f2/0
f1/5 = Switch2 f1/5
f1/6 = Switch2 f1/6
f1/7 = Switch2 f1/7
f1/8 = R6 f1/0
f1/9 = BB2 f0/0
x = -379.0
y = 34.0
[[FRSW FR0]]
1:102 = 2:201
1:103 = 3:301
1:104 = 5:401
1:105 = 6:501
1:113 = 4:311
2:201 = 1:102
2:203 = 3:302
2:204 = 5:402
2:205 = 6:502
2:213 = 4:312
3:301 = 1:103
3:302 = 2:203
3:304 = 5:403
3:305 = 6:503
4:311 = 1:113
4:312 = 2:213
4:314 = 5:413
4:315 = 6:513
4:405 = 6:504
5:401 = 1:104
5:402 = 2:204
5:403 = 3:304
5:413 = 4:314
6:501 = 1:105
6:502 = 2:205
6:503 = 3:305
6:504 = 4:405
6:513 = 4:315
7:51 = 8:51
7:100 = 8:100
7:101 = 8:101
7:201 = 8:201
7:301 = 8:301
7:401 = 8:401
8:51 = 7:51
8:100 = 7:100
8:101 = 7:101
8:201 = 7:201
8:301 = 7:301
8:401 = 7:401
x = -36.5
y = -279.5
[localhost:7201]
workingdir = /home/j/CCIE/IEWB1
udp = 10100
[[3640]]
image = /home/j/CCIE/Images/c3640
idlepc = 0x60601ed0
ghostios = True
chassis = 3640
[[ROUTER R4]]
model = 3640
console = 2023
idlepc = 0x606398e8
cnfg = /home/j/CCIE/IEWB1/R4.cfg
slot0 = NM-4T
s0/0 = FR0 5
s0/1 = R5 s0/1
slot1 = NM-1FE-TX
f1/0 = Switch1 f1/3
slot2 = NM-1FE-TX
f2/0 = Switch2 f1/1
x = 206.0
y = -234.0
[[ROUTER R5]]
model = 3640
console = 2025
idlepc = 0x606398e8
cnfg = /home/j/CCIE/IEWB1/R5.cfg
slot0 = NM-4T
s0/0 = FR0 6
s0/1 = R4 s0/1
slot1 = NM-1FE-TX
f1/0 = Switch2 f1/2
slot2 = NM-1FE-TX
f2/0 = Switch1 f1/4
x = 76.0
y = -103.0
[[ROUTER R6]]
model = 3640
console = 2027
idlepc = 0x605119f0
cnfg = /home/j/CCIE/IEWB1/R6.cfg
slot0 = NM-4T
s0/0 = FR0 7
slot1 = NM-1FE-TX
f1/0 = Switch1 f1/8
slot2 = NM-1FE-TX
f2/0 = Switch2 f1/3
x = -81.0
y = -108.0
[[ROUTER R3]]
model = 3640
console = 2021
cnfg = /home/j/CCIE/IEWB1/R3.cfg
slot0 = NM-4T
s0/0 = FR0 3
s0/1 = FR0 4
s0/2 = R1 s1/1
s0/3 = R2 s0/1
slot1 = NM-1FE-TX
f1/0 = Switch1 f1/2
slot2 = NM-1FE-TX
f2/0 = Switch2 f1/0
x = -48.0
y = -466.0
[GNS3-DATA]
configs = /home/j/CCIE/IEWB1


...


Top
  
 
 Post subject: Re: GNS 6 in ubuntu 9 will not open projets
PostPosted: Sat May 02, 2009 12:12 am 
Hi ...

I have the same problem. If i run GNS3 as root with a gksudo gns3, the project (.net file) is open without problems. I think there is a kind of problem with privileges when GNS3 is installed from the Ubuntu package.


Top
  
 
 Post subject: Re: GNS 6 in ubuntu 9 will not open projets
PostPosted: Sat May 02, 2009 2:02 am 
I'd patch the Wokspace.py file from the diff file on http://code.gns3.net/hgwebdir.cgi/gns3-devel/rev/a02a2824f8e3 and now GNS3 is able to open projects without the necessity to do a gksudo.

Here's the file with the patch, so u don't need to patch it ;).

For the Ubuntu package:
Just replace the Wokspace.py file from /usr/share/python-support/gns3/GNS3 (on Ubuntu 9.04).

For the source file:
Replace the Wokspace.py file from /GNS3-0.6-src/src/GNS3

REMEMBER TO MAKE A BACKUP FROM THE ORIGINAL FILE !!!!

Best regards.

Tony Perez


Attachments:
File comment: Workspace.py
Workspace.py.tar [40 KiB]
Downloaded 378 times
Top
  
 
 Post subject: Re: GNS 6 in ubuntu 9 will not open projets
PostPosted: Thu May 07, 2009 9:11 am 
I was having the same problem. if you cannot find Workspace.py or you dont know where it is, try:
sudo find /usr/ -name Workspace.py. It is ussualy installed in usr dir.

Mine was here: /usr/share/python-support/gns3/GNS3/Workspace.py

Modify it exactly like on that site: http://code.gns3.net/hgwebdir.cgi/gns3- ... 2a2824f8e3 . And the it should work.
Always make backups before.
If doesnt work you can use the not so elegant solution: right click on .net file -> open with gns3 :)


Top
  
 
 Post subject: Re: GNS 6 in ubuntu 9 will not open projets
PostPosted: Sat May 23, 2009 6:03 pm 
How did you do the modification of the file?, you typed? I tried to download the file from the Jeremy page, but have numbered lines. Could somebody explain a little more, how to download the file or make the modifications?

Thanks


Top
  
 
 Post subject: Re: GNS 6 in ubuntu 9 will not open projets
PostPosted: Mon Jun 29, 2009 8:44 pm 
I created and saved a dozen or more topologies, but could not open them. Since I use gksudo gns3, I can open .net files with no problem! That's good.

However after using the gksudo method, I cannot start the nodes. Everything turns green as expected, but mouseover displays "router stopped". This occurs now no matter what method I use to start gns3 so perhaps it's unrelated to the permissions issue.

I would appreciate any suggestions of where I might look to solve this problem.

lee


Top
  
 
 Post subject: Re: GNS 6 in ubuntu 9 will not open projets
PostPosted: Sun Aug 09, 2009 5:06 am 
I was able to fix the problem on my Ubuntu 9.04 machine by uninstalling dynamips, dynagen and gns3 with the synaptic package manager. Then, I downloaded gns3 from gns3.net and dynamips from the dynamips blog and installed it manually. I don't understand what is wrong with the version that Ubuntu installs, but it didn't work for me after my 9.04 upgrade.

http://www.blindhog.net/gns3-is-not-abl ... -net-file/


Top
  
 
 Post subject: Re: GNS 6 in ubuntu 9 will not open projets
PostPosted: Mon Oct 12, 2009 5:36 am 
Hello Everyone,

I am a noob in Linux (Ubuntu). I have successfully installed Ubuntu 9.04 and GNS3 0.6 and they are working fine. My only problem is I am not able to fix the bug in Qt4.5. Yes my problem is i am not able to open saved project (*.net files) or save open project. I tried the workaround, like opening the *.net file with GNS3, but this worked only once, after that i did reinstall Ubuntu and GNS3, tried all the upgrades available, but still without success.

I need to fix this bug, and i am a noob, please help.

Thanking You,

Ash.






Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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