Re: [gini] urgent: error when setting up fig 10.3 in assignment3

2008-10-18 Thread Alexis Malozemoff
Hello,

The route computation algorithm is not very good, and panics when
computing complex networks.  So you need to run it twice.

Alex

On Sat, Oct 18, 2008 at 6:23 PM, Peter Ochodo
<[EMAIL PROTECTED]> wrote:
>
> Hi Alex,
>
> Thanks for the tip - my gini network is now set up ok. However, when I tried 
> compiling I got several errors. I tried compiling again and then it just 
> worked! So looks like in gini if it doesn't work the first time, just try try 
> again until it works.
>
> Peter
>
> -Original Message-
> From: Alexis Malozemoff [mailto:[EMAIL PROTECTED]
> Sent: Thu 10/16/2008 10:01 PM
> To: Peter Ochodo
> Cc: gini@cs.mcgill.ca
> Subject: Re: [gini] urgent: error when setting up fig 10.3 in assignment3
>
> Amazingly, if you ignore the error, set all your subnets, and restart
> gini there is no problem.
> Why this is happening, I'm not sure.
>
> Alex
>
> 2008/10/16 Peter Ochodo <[EMAIL PROTECTED]>:
>>
>> Hey Prof Mahesh sir & Alex,
>>
>> When I compose a topology consisting 1 router, 1 subnet & 1 uml; Link them 
>> {router - subnet - uml}; then set the subnet network address and hit accept, 
>> everything is nice and dandy.
>>
>> However, when I compose the same topology (router - subnet - uml) next to my 
>> first topology, then set the subnet network address, then hit accept ... 
>> Kaboom! I get the error below. I have attached a screenshot of the simple 
>> gini topology that I have just described.
>>
>> This is pretty serious because I can't compose figure 10.3 and proceed with 
>> the experiments. Please advise.
>>
>> I reinstalled gini using 1.02 tar file on the website, but still have the 
>> same problem.
>>
>> Thanks
>>
>> Peter
>>
>> ***ERROR
>>
>> Error: 12
>>  Exception in Tk callback
>>  Function:  at 0x874a64c> (type: )
>>  Args: ()
>> Traceback (innermost last):
>>  File "/home/peter/gini/share/gbuilder/Pmw/Pmw_1_3/lib/PmwBase.py", line 
>> 1747, in __call__
>>return apply(self.func, args)
>>  File "/home/peter/gini/bin/gbuilder", line 1461, in 
>>buttons.add('Accept', command=lambda : self.save_subnet(req_list, 
>> opt_list, toplevel))
>>  File "/home/peter/gini/bin/gbuilder", line 2104, in save_subnet
>>self.update_subnet(req_p, opt_p)
>>  File "/home/peter/gini/bin/gbuilder", line 2079, in update_subnet
>>self.force_ip(target_device, self.current_obj[1], 1)
>>  File "/home/peter/gini/bin/gbuilder", line 3283, in force_ip
>>self.balloon.tagbind(self.canvas, self.find_by_range(xco, yco), 
>> target_obj.balloon_help())
>>  File "/home/peter/gini/share/gbuilder/Pmw/Pmw_1_3/lib/PmwBalloon.py", line 
>> 143, in tagbind
>>sHelp = statusHelp, bHelp = balloonHelp:
>>  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2121, in tag_bind
>>sequence, func, add)
>>  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 949, in _bind
>>self.tk.call(what + (sequence, cmd))
>> : wrong # args: should be 
>> ".139277964.139277900.139364012.139333612.139363980 bind tagOrId ?sequence? 
>> ?command?"
>>
>> ___
>> gini mailing list
>> gini@cs.mcgill.ca
>> http://mailman.cs.mcgill.ca/mailman/listinfo/gini
>>
>>
>
>
___
gini mailing list
gini@cs.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/gini


RE: [gini] urgent: error when setting up fig 10.3 in assignment3

2008-10-18 Thread Peter Ochodo

Hi Alex,

Thanks for the tip - my gini network is now set up ok. However, when I tried 
compiling I got several errors. I tried compiling again and then it just 
worked! So looks like in gini if it doesn't work the first time, just try try 
again until it works.

Peter

-Original Message-
From: Alexis Malozemoff [mailto:[EMAIL PROTECTED]
Sent: Thu 10/16/2008 10:01 PM
To: Peter Ochodo
Cc: gini@cs.mcgill.ca
Subject: Re: [gini] urgent: error when setting up fig 10.3 in assignment3
 
Amazingly, if you ignore the error, set all your subnets, and restart
gini there is no problem.
Why this is happening, I'm not sure.

Alex

2008/10/16 Peter Ochodo <[EMAIL PROTECTED]>:
>
> Hey Prof Mahesh sir & Alex,
>
> When I compose a topology consisting 1 router, 1 subnet & 1 uml; Link them 
> {router - subnet - uml}; then set the subnet network address and hit accept, 
> everything is nice and dandy.
>
> However, when I compose the same topology (router - subnet - uml) next to my 
> first topology, then set the subnet network address, then hit accept ... 
> Kaboom! I get the error below. I have attached a screenshot of the simple 
> gini topology that I have just described.
>
> This is pretty serious because I can't compose figure 10.3 and proceed with 
> the experiments. Please advise.
>
> I reinstalled gini using 1.02 tar file on the website, but still have the 
> same problem.
>
> Thanks
>
> Peter
>
> ***ERROR
>
> Error: 12
>  Exception in Tk callback
>  Function:  at 0x874a64c> (type: )
>  Args: ()
> Traceback (innermost last):
>  File "/home/peter/gini/share/gbuilder/Pmw/Pmw_1_3/lib/PmwBase.py", line 
> 1747, in __call__
>return apply(self.func, args)
>  File "/home/peter/gini/bin/gbuilder", line 1461, in 
>buttons.add('Accept', command=lambda : self.save_subnet(req_list, 
> opt_list, toplevel))
>  File "/home/peter/gini/bin/gbuilder", line 2104, in save_subnet
>self.update_subnet(req_p, opt_p)
>  File "/home/peter/gini/bin/gbuilder", line 2079, in update_subnet
>self.force_ip(target_device, self.current_obj[1], 1)
>  File "/home/peter/gini/bin/gbuilder", line 3283, in force_ip
>self.balloon.tagbind(self.canvas, self.find_by_range(xco, yco), 
> target_obj.balloon_help())
>  File "/home/peter/gini/share/gbuilder/Pmw/Pmw_1_3/lib/PmwBalloon.py", line 
> 143, in tagbind
>sHelp = statusHelp, bHelp = balloonHelp:
>  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2121, in tag_bind
>sequence, func, add)
>  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 949, in _bind
>self.tk.call(what + (sequence, cmd))
> : wrong # args: should be 
> ".139277964.139277900.139364012.139333612.139363980 bind tagOrId ?sequence? 
> ?command?"
>
> ___
> gini mailing list
> gini@cs.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/gini
>
>

___
gini mailing list
gini@cs.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/gini


Re: [gini] urgent: error when setting up fig 10.3 in assignment3

2008-10-17 Thread Alexis Malozemoff
Lots of people are having this issue.
I think it occurs if you delete a UML and then try to configure the network.
We should fix this bug if possible.

Alex

On 10/16/08, Muthucumaru MAHESWARAN <[EMAIL PROTECTED]> wrote:
>
>  the topology works for me.
>  how did you generate it?
>
>
>
>
>  -mahes
>
>  +-+
>
> | Muthucumaru MaheswaranWeb: www.cs.mcgill.ca/~maheswar   |
>  | School of Computer ScienceEmail: [EMAIL PROTECTED]  |
>  | McGill University Phone: (514) 398-1465 |
>  | 213B McConnell Engineering Building   Fax: (514) 398-3883   |
>  | 3480 University Street  |
>  | Montreal, QC H3A 2A7, Canada|
>  +-+
>
>
>
>  On Thu, 16 Oct 2008, Peter Ochodo wrote:
>
>  >
>  > Hey Prof Mahesh sir & Alex,
>  >
>  > When I compose a topology consisting 1 router, 1 subnet & 1 uml; Link them 
> {router - subnet - uml}; then set the subnet network address and hit accept, 
> everything is nice and dandy.
>  >
>  > However, when I compose the same topology (router - subnet - uml) next to 
> my first topology, then set the subnet network address, then hit accept ... 
> Kaboom! I get the error below. I have attached a screenshot of the simple 
> gini topology that I have just described.
>  >
>  > This is pretty serious because I can't compose figure 10.3 and proceed 
> with the experiments. Please advise.
>  >
>  > I reinstalled gini using 1.02 tar file on the website, but still have the 
> same problem.
>  >
>  > Thanks
>  >
>  > Peter
>  >
>  > 
> ***ERROR
>  >
>  > Error: 12
>  >  Exception in Tk callback
>  >   Function:  at 0x874a64c> (type: )
>  >   Args: ()
>  > Traceback (innermost last):
>  >   File "/home/peter/gini/share/gbuilder/Pmw/Pmw_1_3/lib/PmwBase.py", line 
> 1747, in __call__
>  > return apply(self.func, args)
>  >   File "/home/peter/gini/bin/gbuilder", line 1461, in 
>  > buttons.add('Accept', command=lambda : self.save_subnet(req_list, 
> opt_list, toplevel))
>  >   File "/home/peter/gini/bin/gbuilder", line 2104, in save_subnet
>  > self.update_subnet(req_p, opt_p)
>  >   File "/home/peter/gini/bin/gbuilder", line 2079, in update_subnet
>  > self.force_ip(target_device, self.current_obj[1], 1)
>  >   File "/home/peter/gini/bin/gbuilder", line 3283, in force_ip
>  > self.balloon.tagbind(self.canvas, self.find_by_range(xco, yco), 
> target_obj.balloon_help())
>  >   File "/home/peter/gini/share/gbuilder/Pmw/Pmw_1_3/lib/PmwBalloon.py", 
> line 143, in tagbind
>  > sHelp = statusHelp, bHelp = balloonHelp:
>  >   File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2121, in tag_bind
>  > sequence, func, add)
>  >   File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 949, in _bind
>  > self.tk.call(what + (sequence, cmd))
>  > : wrong # args: should be 
> ".139277964.139277900.139364012.139333612.139363980 bind tagOrId ?sequence? 
> ?command?"
>  >
>
>
> ___
>  gini mailing list
>  gini@cs.mcgill.ca
>  http://mailman.cs.mcgill.ca/mailman/listinfo/gini
>
___
gini mailing list
gini@cs.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/gini


Re: [gini] urgent: error when setting up fig 10.3 in assignment3

2008-10-16 Thread Muthucumaru MAHESWARAN

the topology works for me.
how did you generate it?




-mahes

+-+
| Muthucumaru MaheswaranWeb: www.cs.mcgill.ca/~maheswar   |
| School of Computer ScienceEmail: [EMAIL PROTECTED]  |
| McGill University Phone: (514) 398-1465 |
| 213B McConnell Engineering Building   Fax: (514) 398-3883   |
| 3480 University Street  |
| Montreal, QC H3A 2A7, Canada|
+-+


On Thu, 16 Oct 2008, Peter Ochodo wrote:

>
> Hey Prof Mahesh sir & Alex,
>
> When I compose a topology consisting 1 router, 1 subnet & 1 uml; Link them 
> {router - subnet - uml}; then set the subnet network address and hit accept, 
> everything is nice and dandy.
>
> However, when I compose the same topology (router - subnet - uml) next to my 
> first topology, then set the subnet network address, then hit accept ... 
> Kaboom! I get the error below. I have attached a screenshot of the simple 
> gini topology that I have just described.
>
> This is pretty serious because I can't compose figure 10.3 and proceed with 
> the experiments. Please advise.
>
> I reinstalled gini using 1.02 tar file on the website, but still have the 
> same problem.
>
> Thanks
>
> Peter
>
> ***ERROR
>
> Error: 12
>  Exception in Tk callback
>   Function:  at 0x874a64c> (type: )
>   Args: ()
> Traceback (innermost last):
>   File "/home/peter/gini/share/gbuilder/Pmw/Pmw_1_3/lib/PmwBase.py", line 
> 1747, in __call__
> return apply(self.func, args)
>   File "/home/peter/gini/bin/gbuilder", line 1461, in 
> buttons.add('Accept', command=lambda : self.save_subnet(req_list, 
> opt_list, toplevel))
>   File "/home/peter/gini/bin/gbuilder", line 2104, in save_subnet
> self.update_subnet(req_p, opt_p)
>   File "/home/peter/gini/bin/gbuilder", line 2079, in update_subnet
> self.force_ip(target_device, self.current_obj[1], 1)
>   File "/home/peter/gini/bin/gbuilder", line 3283, in force_ip
> self.balloon.tagbind(self.canvas, self.find_by_range(xco, yco), 
> target_obj.balloon_help())
>   File "/home/peter/gini/share/gbuilder/Pmw/Pmw_1_3/lib/PmwBalloon.py", line 
> 143, in tagbind
> sHelp = statusHelp, bHelp = balloonHelp:
>   File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2121, in tag_bind
> sequence, func, add)
>   File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 949, in _bind
> self.tk.call(what + (sequence, cmd))
> : wrong # args: should be 
> ".139277964.139277900.139364012.139333612.139363980 bind tagOrId ?sequence? 
> ?command?"
>

___
gini mailing list
gini@cs.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/gini


Re: [gini] urgent: error when setting up fig 10.3 in assignment3

2008-10-16 Thread Alexis Malozemoff
Amazingly, if you ignore the error, set all your subnets, and restart
gini there is no problem.
Why this is happening, I'm not sure.

Alex

2008/10/16 Peter Ochodo <[EMAIL PROTECTED]>:
>
> Hey Prof Mahesh sir & Alex,
>
> When I compose a topology consisting 1 router, 1 subnet & 1 uml; Link them 
> {router - subnet - uml}; then set the subnet network address and hit accept, 
> everything is nice and dandy.
>
> However, when I compose the same topology (router - subnet - uml) next to my 
> first topology, then set the subnet network address, then hit accept ... 
> Kaboom! I get the error below. I have attached a screenshot of the simple 
> gini topology that I have just described.
>
> This is pretty serious because I can't compose figure 10.3 and proceed with 
> the experiments. Please advise.
>
> I reinstalled gini using 1.02 tar file on the website, but still have the 
> same problem.
>
> Thanks
>
> Peter
>
> ***ERROR
>
> Error: 12
>  Exception in Tk callback
>  Function:  at 0x874a64c> (type: )
>  Args: ()
> Traceback (innermost last):
>  File "/home/peter/gini/share/gbuilder/Pmw/Pmw_1_3/lib/PmwBase.py", line 
> 1747, in __call__
>return apply(self.func, args)
>  File "/home/peter/gini/bin/gbuilder", line 1461, in 
>buttons.add('Accept', command=lambda : self.save_subnet(req_list, 
> opt_list, toplevel))
>  File "/home/peter/gini/bin/gbuilder", line 2104, in save_subnet
>self.update_subnet(req_p, opt_p)
>  File "/home/peter/gini/bin/gbuilder", line 2079, in update_subnet
>self.force_ip(target_device, self.current_obj[1], 1)
>  File "/home/peter/gini/bin/gbuilder", line 3283, in force_ip
>self.balloon.tagbind(self.canvas, self.find_by_range(xco, yco), 
> target_obj.balloon_help())
>  File "/home/peter/gini/share/gbuilder/Pmw/Pmw_1_3/lib/PmwBalloon.py", line 
> 143, in tagbind
>sHelp = statusHelp, bHelp = balloonHelp:
>  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2121, in tag_bind
>sequence, func, add)
>  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 949, in _bind
>self.tk.call(what + (sequence, cmd))
> : wrong # args: should be 
> ".139277964.139277900.139364012.139333612.139363980 bind tagOrId ?sequence? 
> ?command?"
>
> ___
> gini mailing list
> gini@cs.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/gini
>
>
___
gini mailing list
gini@cs.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/gini