problem in running visualization module

134 views
Skip to first unread message

vinay

unread,
Sep 15, 2010, 3:52:38 AM9/15/10
to ns-3-users
Dear All,
I have downloaded NS3 using mercurian and it is working fine.I
merged ns-3.8-pyviz with NS3.

but when i run below command to see simulation visualization am
getting "No visualization suuport (No module named goocanvas)."

[root@localhost ns-3.8-pyviz]# ./waf --pyrun examples/flowmon/wifi-
olsr-flowmon.py
Waf: Entering directory `/root/ns3repos/ns-3-allinone/ns-3.8-pyviz/
build'
Waf: Leaving directory `/root/ns3repos/ns-3-allinone/ns-3.8-pyviz/
build'
'build' finished successfully (3.024s)
No visualization support (No module named goocanvas).
FlowID: 1 (UDP 10.0.0.6/698 --> 10.0.0.255/698)
Tx Bytes: 2776
Rx Bytes: 2776
Tx Packets: 33
Rx Packets: 33
Lost Packets: 0
Mean{Delay}: 0.0544136787576
Mean{Jitter}: 0.0589997906875
Mean{Hop Count}: 1.0
FlowID: 2 (UDP 10.0.0.3/698 --> 10.0.0.255/698)
Tx Bytes: 1552
Rx Bytes: 1552
Tx Packets: 24
Rx Packets: 24
Lost Packets: 0
Mean{Delay}: 0.0010005395
Mean{Jitter}: 0.00145292434783
Mean{Hop Count}: 1.0
FlowID: 3 (UDP 10.0.0.7/698 --> 10.0.0.255/698)
Tx Bytes: 1608
Rx Bytes: 1480
Tx Packets: 23
Rx Packets: 21
Lost Packets: 1
Mean{Delay}: 0.00815002071429
Mean{Jitter}: 0.0065532265
Mean{Hop Count}: 1.0
FlowID: 4 (UDP 10.0.0.1/698 --> 10.0.0.255/698)
Tx Bytes: 1392
Rx Bytes: 1264
Tx Packets: 22
Rx Packets: 20
Lost Packets: 0
Mean{Delay}: 0.00061212175
Mean{Jitter}: 0.000954572105263
Mean{Hop Count}: 1.0
FlowID: 5 (UDP 10.0.0.2/698 --> 10.0.0.255/698)
Tx Bytes: 2264
Rx Bytes: 2264
Tx Packets: 31
Rx Packets: 31
Lost Packets: 0
Mean{Delay}: 0.00899091525806
Mean{Jitter}: 0.0111726448333
Mean{Hop Count}: 1.0
FlowID: 6 (UDP 10.0.0.8/698 --> 10.0.0.255/698)
Tx Bytes: 2320
Rx Bytes: 2320
Tx Packets: 31
Rx Packets: 31
Lost Packets: 0
Mean{Delay}: 0.441611926516
Mean{Jitter}: 0.0880636982
Mean{Hop Count}: 1.0
FlowID: 7 (UDP 10.0.0.9/698 --> 10.0.0.255/698)
Tx Bytes: 1656
Rx Bytes: 1656
Tx Packets: 23
Rx Packets: 23
Lost Packets: 0
Mean{Delay}: 0.00248066069565
Mean{Jitter}: 0.00331648790909
Mean{Hop Count}: 1.0
FlowID: 8 (UDP 10.0.0.5/698 --> 10.0.0.255/698)
Tx Bytes: 2904
Rx Bytes: 2904
Tx Packets: 35
Rx Packets: 35
Lost Packets: 0
Mean{Delay}: 0.00945839014286
Mean{Jitter}: 0.00847190394118
Mean{Hop Count}: 1.0
FlowID: 9 (UDP 10.0.0.4/698 --> 10.0.0.255/698)
Tx Bytes: 2608
Rx Bytes: 2544
Tx Packets: 34
Rx Packets: 33
Lost Packets: 1
Mean{Delay}: 0.115896167939
Mean{Jitter}: 0.0703169210625
Mean{Hop Count}: 1.0
FlowID: 10 (UDP 10.0.0.8/49153 --> 10.0.0.2/9)
Tx Bytes: 308880
Rx Bytes: 251100
Tx Packets: 572
Rx Packets: 465
Lost Packets: 29
Mean{Delay}: 0.716939823157
Mean{Jitter}: 0.0195766878621
Mean{Hop Count}: 2.0
FlowID: 11 (UDP 10.0.0.9/49153 --> 10.0.0.1/9)
Tx Bytes: 293220
Rx Bytes: 151740
Tx Packets: 543
Rx Packets: 281
Lost Packets: 94
Mean{Delay}: 0.586168712381
Mean{Jitter}: 0.0991969374821
Mean{Hop Count}: 4.01423487544
FlowID: 12 (UDP 10.0.0.6/49153 --> 10.0.0.4/9)
Tx Bytes: 230580
Rx Bytes: 157140
Tx Packets: 427
Rx Packets: 291
Lost Packets: 67
Mean{Delay}: 0.170005364519
Mean{Jitter}: 0.0319511892448
Mean{Hop Count}: 2.0
FlowID: 13 (UDP 10.0.0.5/49153 --> 10.0.0.5/9)
Tx Bytes: 228960
Rx Bytes: 223020
Tx Packets: 424
Rx Packets: 413
Lost Packets: 9
Mean{Delay}: 0.103544696562
Mean{Jitter}: 0.130220511597
Mean{Hop Count}: 1.08474576271
FlowID: 14 (UDP 10.0.0.7/49153 --> 10.0.0.3/9)
Tx Bytes: 222480
Rx Bytes: 63180
Tx Packets: 412
Rx Packets: 117
Lost Packets: 107
Mean{Delay}: 1.11539301691
Mean{Jitter}: 0.0720956401724
Mean{Hop Count}: 4.0
FlowID: 15 (UDP 10.0.0.1/49153 --> 10.0.0.9/9)
Tx Bytes: 208440
Rx Bytes: 67500
Tx Packets: 386
Rx Packets: 125
Lost Packets: 79
Mean{Delay}: 0.637412577472
Mean{Jitter}: 0.180852664879
Mean{Hop Count}: 4.064
FlowID: 16 (UDP 10.0.0.2/49153 --> 10.0.0.8/9)
Tx Bytes: 206280
Rx Bytes: 105300
Tx Packets: 382
Rx Packets: 195
Lost Packets: 69
Mean{Delay}: 0.0396375561385
Mean{Jitter}: 0.0266355947784
Mean{Hop Count}: 2.0
FlowID: 17 (UDP 10.0.0.3/49153 --> 10.0.0.7/9)
Tx Bytes: 191700
Rx Bytes: 74520
Tx Packets: 355
Rx Packets: 138
Lost Packets: 66
Mean{Delay}: 1.48968229512
Mean{Jitter}: 0.0566009385766
Mean{Hop Count}: 4.0
FlowID: 18 (UDP 10.0.0.4/49153 --> 10.0.0.6/9)
Tx Bytes: 186300
Rx Bytes: 84240
Tx Packets: 345
Rx Packets: 156
Lost Packets: 44
Mean{Delay}: 0.567834096699
Mean{Jitter}: 0.268899143658
Mean{Hop Count}: 2.37179487179
[root@localhost ns-3.8-pyviz]#



please help me and let me know how can i successfully merge ns3.8-
pyviz with my NS-simulator

Thank You,

Gustavo Carneiro

unread,
Sep 15, 2010, 5:43:26 AM9/15/10
to ns-3-...@googlegroups.com
On Wed, Sep 15, 2010 at 08:52, vinay <vinayk...@gmail.com> wrote:
Dear All,
      I have downloaded NS3 using mercurian and it is working fine.I
merged ns-3.8-pyviz with NS3.

but when i run below command to see simulation visualization am
getting "No visualization suuport (No module named goocanvas)."

For me the error message is clear.  You do not have the goocanvas python module.  Check the list of packages to install in the wiki page: http://www.nsnam.org/wiki/index.php/PyViz
 

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.




--
Gustavo J. A. M. Carneiro
INESC Porto, UTM, WiN, http://win.inescporto.pt/gjc
"The universe is always one step beyond logic." -- Frank Herbert

vinay

unread,
Sep 15, 2010, 4:01:28 PM9/15/10
to ns-3-users
I could not install package python-pygoocanvas since it has dependency
over pygobject and i could not install pygobject
because i was getting the error while installation
[root@localhost pygtk-2.10.4]# make
make all-recursive
make[1]: Entering directory `/root/pygtk-2.10.4'
Making all in codegen
make[2]: Entering directory `/root/pygtk-2.10.4/codegen'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/pygtk-2.10.4/codegen'
Making all in .
make[2]: Entering directory `/root/pygtk-2.10.4'
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/
usr/include/python2.4 -pthread -I/usr/local/include/glib-2.0 -I/usr/
local/lib/glib-2.0/include -I/usr/include/pygtk-2.0 -pthread -I/usr/
local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I./gtk -
pthread -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/
usr/local/lib/glib-2.0/include -g -O2 -Wall -std=c9x -fno-strict-
aliasing -MT atk_la-atkmodule.lo -MD -MP -MF ".deps/atk_la-
atkmodule.Tpo" -c -o atk_la-atkmodule.lo `test -f 'atkmodule.c' ||
echo './'`atkmodule.c; \
then mv -f ".deps/atk_la-atkmodule.Tpo" ".deps/atk_la-
atkmodule.Plo"; else rm -f ".deps/atk_la-atkmodule.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/python2.4 -pthread -I/
usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/
include/pygtk-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/
lib/glib-2.0/include -I./gtk -pthread -I/usr/local/include/atk-1.0 -I/
usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -
Wall -std=c9x -fno-strict-aliasing -MT atk_la-atkmodule.lo -MD -MP -
MF .deps/atk_la-atkmodule.Tpo -c atkmodule.c -fPIC -DPIC -o .libs/
atk_la-atkmodule.o
/tmp/ccabaNHI.s: Assembler messages:
/tmp/ccabaNHI.s:2035: Error: symbol `fstatat64' is already defined
/tmp/ccabaNHI.s:2074: Error: symbol `fstat64' is already defined
/tmp/ccabaNHI.s:2109: Error: symbol `lstat64' is already defined
/tmp/ccabaNHI.s:2144: Error: symbol `stat64' is already defined
make[2]: *** [atk_la-atkmodule.lo] Error 1
make[2]: Leaving directory `/root/pygtk-2.10.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/pygtk-2.10.4'
make: *** [all] Error 2
[root@localhost pygtk-2.10.4]#

I am newbie to linux and NS-3 and could not overcome this
roadblocks.please help me.
i could not get workaround for this.is there any other way around to
get out of this and get pyviz running.

on the other way
I have the goocanvas package installed in my RHEL5 machine
i can even see that following files related to gocanvas present in /
usr/local/lib
libgoocanvas.a
libgoocanvas.la
libgoocanvas.so
libgoocanvas.so.3
libgoocanvas.so.3.1.1

I can all see below header files present in /usr/local/include/
goocanvas-1.0
goocanvas.h
goocanvasellipse.h
goocanvasenumtypes.h
goocanvasgroup.h
goocanvasimage.h
goocanvasitem.h
goocanvasitemmodel.h
goocanvasitemsimple.h
goocanvasmarshal.h
goocanvaspath.h
goocanvaspolyline.h
goocanvasrect.h
goocanvasstyle.h
goocanvastable.h
goocanvastext.h
goocanvasutils.h
goocanvaswidget.h

i have also set environmental variables using
export LD_LIBRARY_PATH=/usr/local/lib/
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/

I dont know what is the problem if i have installed goocanvas-1.0 than
why "no module support goocanvas-1.0"
Is there any other environmental variable needed to be set for
goocanvas-1.0?
Is that the problem with RHEL5 and do i need to shift to CentOs or
Debian or Fedora

I used find command on / to search visualizer.h, but could not find
any file in my system named visualizer.h

please let me know what i am missing, any package or any specific
version of package


Thank You,



On Sep 15, 2:43 pm, Gustavo Carneiro <gjcarne...@gmail.com> wrote:

Lalith Suresh

unread,
Sep 15, 2010, 7:26:27 PM9/15/10
to ns-3-...@googlegroups.com
Hello,

On Wed, Sep 15, 2010 at 9:01 PM, vinay <vinayk...@gmail.com> wrote:
I could not install package python-pygoocanvas since it has dependency
over pygobject and i could not install pygobject
because i was getting the error while installation


Whatever system you're on, please use a package manager to install this for you. If I'm not mistaken, RHEL5 uses yum, and I'm sure there's an rpm for what you're looking for.
 

Thank You,



On Sep 15, 2:43 pm, Gustavo Carneiro <gjcarne...@gmail.com> wrote:
> On Wed, Sep 15, 2010 at 08:52, vinay <vinaykaps...@gmail.com> wrote:
> > Dear All,
> >       I have downloaded NS3 using mercurian and it is working fine.I
> > merged ns-3.8-pyviz with NS3.
>
> > but when i run below command to see simulation visualization am
> > getting "No visualization suuport (No module named goocanvas)."
>
> For me the error message is clear.  You do not have the goocanvas python
> module.  Check the list of packages to install in the wiki page:http://www.nsnam.org/wiki/index.php/PyViz
>
>
>
>
>

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.




--
Lalith Suresh
Department of Computer Science and Engineering
Instituto Superior Técnico
www.lalith.in

Reply all
Reply to author
Forward
0 new messages