[ndnSIM] issues with visualizer on ubuntu 16.04 LTS with ns-3.29

Xinyu Ma bitmxy at gmail.com
Thu Jun 13 21:21:09 PDT 2019


Hello,

I’m sorry I’m not sure why you still have this problem.
Last time I met the same problem, I used this PPA https://launchpad.net/~jonathonf/+archive/ubuntu/gtk3.22 <https://launchpad.net/~jonathonf/+archive/ubuntu/gtk3.22> to upgrade gtk-3 to 3.22.30 and it worked.
Maybe you can have a try.

Best,
Xinyu Ma.

> On Jun 13, 2019, at 9:15 PM, sofiya kandi <starsofwork at gmail.com> wrote:
> 
> Thanks for replying Xinyu.
> 
> I tried ugrading gtk to 3.22.25 however the same error still comes up, kindly let me know if there is any better solution.
> 
> root at sophiya-Gateway-NE46Rs:~/Desktop/ndnSIM/ns-3# pkg-config  --modversion gtk+-3.0
> 3.22.25
> 
> root at sophiya-Gateway-NE46Rs:~/Desktop/ndnSIM/ns-3# ./waf --run ndn-simple --vis
> Waf: Entering directory `/root/Desktop/ndnSIM/ns-3/build'
> Waf: Leaving directory `/root/Desktop/ndnSIM/ns-3/build'
> Build commands will be stored in build/compile_commands.json
> 'build' finished successfully (1m31.000s)
> 09:42:12 environ              No en_IN translation found for domain kiwi
> 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 "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 1881, in start
>     viz = Visualizer()
>   File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 764, in __init__
>     self.create_gui()
>   File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 1100, in create_gui
>     monitor = display.get_primary_monitor()
> AttributeError: 'X11Display' object has no attribute 'get_primary_monitor'
> root at sophiya-Gateway-NE46Rs:~/Desktop/ndnSIM/ns-3# history
> 
> Thanks
> Sofiya Kandi
> 
> On Thu, Jun 13, 2019 at 9:02 AM Xinyu Ma <bitmxy at gmail.com <mailto:bitmxy at gmail.com>> wrote:
> Hello, Sofiya,
> 
> This is because the version of gtk-3 offered by Ubuntu 16.04 is too old.
> You can use an untrusted PPA to install gtk-3.22 if you want to use the visualizer.
> 
> Best,
> Xinyu Ma.
> 
> > On Jun 12, 2019, at 7:17 AM, sofiya kandi via ndnSIM <ndnsim at lists.cs.ucla.edu <mailto:ndnsim at lists.cs.ucla.edu>> wrote:
> > 
> > Hello All,
> > 
> > An idea of the solution for the error shown below, am using
> > ubuntu 16.04 LTS
> > python 3.5.2
> > ns-3.29
> > all the python packages are installed
> > 
> > 19:17:14 environ              No en_IN translation found for domain kiwi
> > 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 "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 1881, in start
> >     viz = Visualizer()
> >   File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 764, in __init__
> >     self.create_gui()
> >   File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 1100, in create_gui
> >     monitor = display.get_primary_monitor()
> > AttributeError: 'X11Display' object has no attribute 'get_primary_monitor'
> > 
> > 
> > Thanks
> > Sofiya Kandi
> > _______________________________________________
> > ndnSIM mailing list
> > ndnSIM at lists.cs.ucla.edu <mailto:ndnSIM at lists.cs.ucla.edu>
> > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim <http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim>
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190613/aec498c3/attachment.html>


More information about the ndnSIM mailing list