Send gini mailing list submissions to
        gini@cs.mcgill.ca

To subscribe or unsubscribe via the World Wide Web, visit
        http://mailman.cs.mcgill.ca/mailman/listinfo/gini
or, via email, send a message with subject or body 'help' to
        gini-requ...@cs.mcgill.ca

You can reach the person managing the list at
        gini-ow...@cs.mcgill.ca

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gini digest..."


Today's Topics:

   1. Re: scons: command not found (Daniel Ng, Mr)
   2. Re: scons: command not found (Alexis Malozemoff)
   3. looking for 3rd member (Raymond Chan)
   4. Wireshark Problems (Sanket Manjul Joshipura)
   5. Re: Wireshark Problems (Daniel Ng, Mr)
   6. gBuilder bug? (Julien Villemure)
   7. Re: gBuilder bug? (Alexis Malozemoff)


----------------------------------------------------------------------

Message: 1
Date: Wed, 16 Sep 2009 11:43:15 -0400
From: "Daniel Ng, Mr" <daniel...@mail.mcgill.ca>
Subject: Re: [gini] scons: command not found
To: Ou Ya Deng <ou.d...@mail.mcgill.ca>
Cc: "gini@cs.mcgill.ca" <gini@cs.mcgill.ca>
Message-ID:
        <66ca6e9ad39ea644a9736998e6492e619cddf4e...@exmbxvs4b.campus.mcgill.ca>
        
Content-Type: text/plain; charset="us-ascii"

Yeah, it seems like scons is not installed on linux.cs.mcgill.ca.  Maybe SSHing 
to cs servers is not a good idea.  Please use lab machines instead.  The lab2 
machines should be sufficiently powerful.

-----Original Message-----
From: Ou Ya Deng 
Sent: Wednesday, September 16, 2009 10:35 AM
To: Daniel Ng, Mr
Subject: RE: scons: command not found

I am connecting to server linux.cs.mcgill.ca and not sure if scons is 
installed. 

'Linux linux.CS.McGill.CA 2.6.26-1-686 #1 SMP Fri Mar 13 18:08:45 UTC 2009 i686 
GNU/Linux'

I don't know how to install scons without rpm. Could you send me steps. 
________________________________________
From: Daniel Ng, Mr
Sent: Wednesday, September 16, 2009 9:59 AM
To: Ou Ya Deng
Cc: gini@cs.mcgill.ca
Subject: RE: scons: command not found

Most likely.  Did you try installing scons?  If so, which version and on which 
OS?

-----Original Message-----
From: gini-boun...@cs.mcgill.ca [mailto:gini-boun...@cs.mcgill.ca] On Behalf Of 
Ou Ya Deng
Sent: September 16, 2009 9:36 AM
To: gini@cs.mcgill.ca
Subject: [gini] scons: command not found

Hi,

while following installation guide to install Gini on Linux, I blocked at 
command 'scons install' which returned '-bash: scons: command not found'. Does 
it mean I don't have scons installed?


Thanks,
Ou Ya
_______________________________________________
gini mailing list
gini@cs.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/gini


------------------------------

Message: 2
Date: Wed, 16 Sep 2009 12:35:27 -0400
From: Alexis Malozemoff <amalozemo...@gmail.com>
Subject: Re: [gini] scons: command not found
To: gini@cs.mcgill.ca
Message-ID:
        <c51203d0909160935w38bbb92cs10d547e64218b...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Using the servers is generally a bad idea because they don't have any
of the required software installed.  Also, don't use
ubuntu.cs.mcgill.ca, because it is extremely unstable.  Using
lab2-XX.cs.mcgill.ca is the best bet.

On Wed, Sep 16, 2009 at 11:43 AM, Daniel Ng, Mr
<daniel...@mail.mcgill.ca> wrote:
> Yeah, it seems like scons is not installed on linux.cs.mcgill.ca. ?Maybe 
> SSHing to cs servers is not a good idea. ?Please use lab machines instead. 
> ?The lab2 machines should be sufficiently powerful.
>
> -----Original Message-----
> From: Ou Ya Deng
> Sent: Wednesday, September 16, 2009 10:35 AM
> To: Daniel Ng, Mr
> Subject: RE: scons: command not found
>
> I am connecting to server linux.cs.mcgill.ca and not sure if scons is 
> installed.
>
> 'Linux linux.CS.McGill.CA 2.6.26-1-686 #1 SMP Fri Mar 13 18:08:45 UTC 2009 
> i686 GNU/Linux'
>
> I don't know how to install scons without rpm. Could you send me steps.
> ________________________________________
> From: Daniel Ng, Mr
> Sent: Wednesday, September 16, 2009 9:59 AM
> To: Ou Ya Deng
> Cc: gini@cs.mcgill.ca
> Subject: RE: scons: command not found
>
> Most likely. ?Did you try installing scons? ?If so, which version and on 
> which OS?
>
> -----Original Message-----
> From: gini-boun...@cs.mcgill.ca [mailto:gini-boun...@cs.mcgill.ca] On Behalf 
> Of Ou Ya Deng
> Sent: September 16, 2009 9:36 AM
> To: gini@cs.mcgill.ca
> Subject: [gini] scons: command not found
>
> Hi,
>
> while following installation guide to install Gini on Linux, I blocked at 
> command 'scons install' which returned '-bash: scons: command not found'. 
> Does it mean I don't have scons installed?
>
>
> Thanks,
> Ou Ya
> _______________________________________________
> 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
>


------------------------------

Message: 3
Date: Wed, 16 Sep 2009 18:25:16 -0400
From: Raymond Chan <raymond.c...@mail.mcgill.ca>
Subject: [gini] looking for 3rd member
To: "gini@cs.mcgill.ca" <gini@cs.mcgill.ca>
Message-ID:
        <6bd10d7d4328c44ba9a3663594fe350778d25ab...@exmbxvs4a.campus.mcgill.ca>
        
Content-Type: text/plain; charset="us-ascii"

Hi,
We are a group of 2 members, looking for a 3rd member, please email me at 
raymond.c...@mail.mcgill.ca if you're interested

thanks,
Raymond

------------------------------

Message: 4
Date: Fri, 18 Sep 2009 19:16:09 -0400
From: Sanket Manjul Joshipura <sanket.joship...@mail.mcgill.ca>
Subject: [gini] Wireshark Problems
To: "gini@cs.mcgill.ca" <gini@cs.mcgill.ca>
Message-ID:
        <2793a4bf6ecb5343a5bfd6bb88f11373437735d...@exmbxvs4b.campus.mcgill.ca>
        
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I'm using Windows to run GINI.

I installed Wireshark and set the required paths. However, when I try to start 
wireshark for a router from the gbuilder, I get the following error on the 
Python console and it doesn't open:

-- gclient output --
sending file Assignment1a.xml
sending start Assignment1a.xml
Traceback (most recent call last):
  File "C:\Users\Sanket Joshipura\Desktop\GINI\share\gbuilder\Devices\Router.py"
, line 63, in wireshark
    self.tail = subprocess.Popen(command, stdout=subprocess.PIPE)
  File "C:\Python26\lib\subprocess.py", line 595, in __init__
    errread, errwrite)
  File "C:\Python26\lib\subprocess.py", line 804, in _execute_child
    startupinfo)
WindowsError: [Error 2] The system cannot find the file specified

If i do it on the router console, I get:

wireshark
(wireshark:2176): Gtk-WARNING **: cannot open display:
Thanks

Sanket Joshipura



------------------------------

Message: 5
Date: Fri, 18 Sep 2009 19:33:46 -0400
From: "Daniel Ng, Mr" <daniel...@mail.mcgill.ca>
Subject: Re: [gini] Wireshark Problems
To: Sanket Manjul Joshipura <sanket.joship...@mail.mcgill.ca>
Cc: "gini@cs.mcgill.ca" <gini@cs.mcgill.ca>
Message-ID:
        <66ca6e9ad39ea644a9736998e6492e619cddf4e...@exmbxvs4b.campus.mcgill.ca>
        
Content-Type: text/plain; charset="us-ascii"

Sorry, it seems that the install instructions for Windows is missing this part. 
 Please add GINI_HOME/bin to the path, as we would do for Linux.

-----Original Message-----
From: gini-boun...@cs.mcgill.ca [mailto:gini-boun...@cs.mcgill.ca] On Behalf Of 
Sanket Manjul Joshipura
Sent: September 18, 2009 7:16 PM
To: gini@cs.mcgill.ca
Subject: [gini] Wireshark Problems

Hi,

I'm using Windows to run GINI.

I installed Wireshark and set the required paths. However, when I try to start 
wireshark for a router from the gbuilder, I get the following error on the 
Python console and it doesn't open:

-- gclient output --
sending file Assignment1a.xml
sending start Assignment1a.xml
Traceback (most recent call last):
  File "C:\Users\Sanket Joshipura\Desktop\GINI\share\gbuilder\Devices\Router.py"
, line 63, in wireshark
    self.tail = subprocess.Popen(command, stdout=subprocess.PIPE)
  File "C:\Python26\lib\subprocess.py", line 595, in __init__
    errread, errwrite)
  File "C:\Python26\lib\subprocess.py", line 804, in _execute_child
    startupinfo)
WindowsError: [Error 2] The system cannot find the file specified

If i do it on the router console, I get:

wireshark
(wireshark:2176): Gtk-WARNING **: cannot open display:
Thanks

Sanket Joshipura

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


------------------------------

Message: 6
Date: Sat, 19 Sep 2009 00:06:46 -0400
From: Julien Villemure <jvill...@cs.mcgill.ca>
Subject: [gini] gBuilder bug?
To: gini@cs.mcgill.ca
Message-ID: <4ab458d6.3050...@cs.mcgill.ca>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

I'm running the latest stable version of GINI (from SVN) on Linux. I 
walked through the tutorial (from the help menu) successfully; 
everything works.

However when I try to build a topology of my own, I am unable to compile 
it and gBuilder prints error messages. From an empty project, with the 
server running, I do the following:

- Add a UML (UML_1)
- Add a UML (UML_2)
- Add a UML (UML_3)
- Add a switch (Switch_1)
- Set the subnet on the switch (to 192.168.5.0 but I doubt this matters)
- Connect each UML to the switch
- Click the "compile" button

When trying to compile, the GINI log shows:
     Auto-generate IP/MAC Addresses is ON.
     Auto-routing is ON.

However, the terminal window in which I started gbuilder shows the 
following:

=================================================
Traceback (most recent call last):
   File "/home/teech/apps/gini/share/gbuilder/UI/MainWindow.py", line 
434, in compile
     xmlFile = compiler.compile()
   File "/home/teech/apps/gini/share/gbuilder/Core/Compiler.py", line 
70, in compile
     self.compile_UML()
   File "/home/teech/apps/gini/share/gbuilder/Core/Compiler.py", line 
306, in compile_UML
     self.writeInterface(uml, interface, mapping)
   File "/home/teech/apps/gini/share/gbuilder/Core/Compiler.py", line 
254, in writeInterface
     elif not self.validate(prop, value, interface):
   File "/home/teech/apps/gini/share/gbuilder/Core/Compiler.py", line 
514, in validate
     return self.valid_ip_subnet(value, 
interface[QtCore.QString("subnet")], interface[QtCore.QString("mask")])
   File "/home/teech/apps/gini/share/gbuilder/Core/Compiler.py", line 
586, in valid_ip_subnet
     if mask_chunk[i] == "255":
IndexError: list index out of range
=================================================

Since the topology cannot be compiled, I cannot start it. It should be 
noted that I followed the instructions given in Assignment 1 of COMP 535.

Any help or insight would be appreciated.

Thanks,

Julien


------------------------------

Message: 7
Date: Sat, 19 Sep 2009 09:22:17 -0400
From: Alexis Malozemoff <amalozemo...@gmail.com>
Subject: Re: [gini] gBuilder bug?
To: Julien Villemure <jvill...@cs.mcgill.ca>
Cc: gini@cs.mcgill.ca
Message-ID:
        <c51203d0909190622nf64a484j68ba6ba1793bf...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

You need to configure the subnet mask as well on the switch.
Alternatively, you can add a Subnet device and connect it to the
switch.  Thanks for the bug report though, we'll fix it.

On Sat, Sep 19, 2009 at 12:06 AM, Julien Villemure
<jvill...@cs.mcgill.ca> wrote:
> Hi,
>
> I'm running the latest stable version of GINI (from SVN) on Linux. I
> walked through the tutorial (from the help menu) successfully;
> everything works.
>
> However when I try to build a topology of my own, I am unable to compile
> it and gBuilder prints error messages. From an empty project, with the
> server running, I do the following:
>
> - Add a UML (UML_1)
> - Add a UML (UML_2)
> - Add a UML (UML_3)
> - Add a switch (Switch_1)
> - Set the subnet on the switch (to 192.168.5.0 but I doubt this matters)
> - Connect each UML to the switch
> - Click the "compile" button
>
> When trying to compile, the GINI log shows:
> ? ? Auto-generate IP/MAC Addresses is ON.
> ? ? Auto-routing is ON.
>
> However, the terminal window in which I started gbuilder shows the
> following:
>
> =================================================
> Traceback (most recent call last):
> ? File "/home/teech/apps/gini/share/gbuilder/UI/MainWindow.py", line
> 434, in compile
> ? ? xmlFile = compiler.compile()
> ? File "/home/teech/apps/gini/share/gbuilder/Core/Compiler.py", line
> 70, in compile
> ? ? self.compile_UML()
> ? File "/home/teech/apps/gini/share/gbuilder/Core/Compiler.py", line
> 306, in compile_UML
> ? ? self.writeInterface(uml, interface, mapping)
> ? File "/home/teech/apps/gini/share/gbuilder/Core/Compiler.py", line
> 254, in writeInterface
> ? ? elif not self.validate(prop, value, interface):
> ? File "/home/teech/apps/gini/share/gbuilder/Core/Compiler.py", line
> 514, in validate
> ? ? return self.valid_ip_subnet(value,
> interface[QtCore.QString("subnet")], interface[QtCore.QString("mask")])
> ? File "/home/teech/apps/gini/share/gbuilder/Core/Compiler.py", line
> 586, in valid_ip_subnet
> ? ? if mask_chunk[i] == "255":
> IndexError: list index out of range
> =================================================
>
> Since the topology cannot be compiled, I cannot start it. It should be
> noted that I followed the instructions given in Assignment 1 of COMP 535.
>
> Any help or insight would be appreciated.
>
> Thanks,
>
> Julien
> _______________________________________________
> 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


End of gini Digest, Vol 9, Issue 2
**********************************

Reply via email to