[ndnSIM] ns-3 ndnsim visualizer cannot run

Peter Maynard pmaynard01 at qub.ac.uk
Tue Jun 25 03:17:10 PDT 2019


Hello Josh, 

It looks like you might be missing some python libraries:

> could not import gobject (could not find _PyGObject_API object)
>  .. due to missing gnomedesktop Python module ..

Try installing  'python-gnome2' and 'python-gnomedesktop'. 

If that does not work, perhaps check out: 

https://www.nsnam.org/wiki/PyViz

Regards, 
Pete

On Tue, 2019-06-25 at 16:26 +0800, Josh, LRT wrote:
> Good day everyone, I had compile the ns3 with ndnsim successfully
> with visualiser but when i run with simple ndn, I got this error:
> 
> configurations >> https://pastebin.com/jd2PwQMp
> 
> compiled / built >> https://pastebin.com/WdYYXfVH
> 
> Getting errors when run
> ./waf --run=ndn-simple --vis
> 
> 
> 
> Waf: Entering directory `/home/lrtndn/Desktop/ndnSIM_working/ns-
> 3/build'
> Waf: Leaving directory `/home/lrtndn/Desktop/ndnSIM_working/ns-
> 3/build'
> Build commands will be stored in build/compile_commands.json
> 'build' finished successfully (18.277s)
> Could not load plugin 'show_last_packets.py': could not import
> gobject (could not find _PyGObject_API object)
> Could not load icon applets-screenshooter due to missing gnomedesktop
> Python module
> Traceback (most recent call last):
> File "<string>", line 2, in <module>
> File "/home/lrtndn/Desktop/ndnSIM_working/ns-
> 3/src/visualizer/visualizer/core.py", line 1877, in start
> viz = Visualizer()
> File "/home/lrtndn/Desktop/ndnSIM_working/ns-
> 3/src/visualizer/visualizer/core.py", line 760, in __init__
> self.create_gui()
> File "/home/lrtndn/Desktop/ndnSIM_working/ns-
> 3/src/visualizer/visualizer/core.py", line 1096, in create_gui
> monitor = display.get_primary_monitor()
> AttributeError: 'X11Display' object has no attribute
> 'get_primary_monitor'
> 
> 
> 
> What canI do ? I had been searching the solutions over the community,
> none of them works! RSVP.
> 
> 
> 
> -- 
> Regards, 
> 
> 
> Josh, LRT
> FB & Email: lrt at joshlrt.com
> WEBSITE: https://www.joshlrt.com/
> CONTACT NO: +6018 - 397 6808 [MALAYSIA]
> 
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
-- 
Pete Maynard
Centre for Secure Information Technologies
0x248FC016ABB8D69D 


More information about the ndnSIM mailing list