<div dir="ltr"><div>Thanks for replying Xinyu.</div><div><br></div><div>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.</div><div><br></div><div>root@sophiya-Gateway-NE46Rs:~/Desktop/ndnSIM/ns-3# pkg-config  --modversion gtk+-3.0<br>3.22.25</div><div><br></div><div>root@sophiya-Gateway-NE46Rs:~/Desktop/ndnSIM/ns-3# ./waf --run ndn-simple --vis<br>Waf: Entering directory `/root/Desktop/ndnSIM/ns-3/build'<br>Waf: Leaving directory `/root/Desktop/ndnSIM/ns-3/build'<br>Build commands will be stored in build/compile_commands.json<br>'build' finished successfully (1m31.000s)<br>09:42:12 environ              No en_IN translation found for domain kiwi<br>Could not load plugin 'show_last_packets.py': could not import gobject (could not find _PyGObject_API object)<br>Could not load icon applets-screenshooter due to missing gnomedesktop Python module<br>Traceback (most recent call last):<br>  File "<string>", line 2, in <module><br>  File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 1881, in start<br>    viz = Visualizer()<br>  File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 764, in __init__<br>    self.create_gui()<br>  File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 1100, in create_gui<br>    monitor = display.get_primary_monitor()<br>AttributeError: 'X11Display' object has no attribute 'get_primary_monitor'<br>root@sophiya-Gateway-NE46Rs:~/Desktop/ndnSIM/ns-3# history</div><div><br></div><div>Thanks</div><div>Sofiya Kandi<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 13, 2019 at 9:02 AM Xinyu Ma <<a href="mailto:bitmxy@gmail.com">bitmxy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello, Sofiya,<br>
<br>
This is because the version of gtk-3 offered by Ubuntu 16.04 is too old.<br>
You can use an untrusted PPA to install gtk-3.22 if you want to use the visualizer.<br>
<br>
Best,<br>
Xinyu Ma.<br>
<br>
> On Jun 12, 2019, at 7:17 AM, sofiya kandi via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a>> wrote:<br>
> <br>
> Hello All,<br>
> <br>
> An idea of the solution for the error shown below, am using<br>
> ubuntu 16.04 LTS<br>
> python 3.5.2<br>
> ns-3.29<br>
> all the python packages are installed<br>
> <br>
> 19:17:14 environ              No en_IN translation found for domain kiwi<br>
> Could not load plugin 'show_last_packets.py': could not import gobject (could not find _PyGObject_API object)<br>
> Could not load icon applets-screenshooter due to missing gnomedesktop Python module<br>
> Traceback (most recent call last):<br>
>   File "<string>", line 2, in <module><br>
>   File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 1881, in start<br>
>     viz = Visualizer()<br>
>   File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 764, in __init__<br>
>     self.create_gui()<br>
>   File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 1100, in create_gui<br>
>     monitor = display.get_primary_monitor()<br>
> AttributeError: 'X11Display' object has no attribute 'get_primary_monitor'<br>
> <br>
> <br>
> Thanks<br>
> Sofiya Kandi<br>
> _______________________________________________<br>
> ndnSIM mailing list<br>
> <a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
</blockquote></div>