<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">I’m sorry I’m not sure why you still have this problem.</div><div class="">Last time I met the same problem, I used this PPA <a href="https://launchpad.net/~jonathonf/+archive/ubuntu/gtk3.22" class="">https://launchpad.net/~jonathonf/+archive/ubuntu/gtk3.22</a> to upgrade gtk-3 to 3.22.30 and it worked.</div><div class="">Maybe you can have a try.</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Xinyu Ma.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jun 13, 2019, at 9:15 PM, sofiya kandi <<a href="mailto:starsofwork@gmail.com" class="">starsofwork@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Thanks for replying Xinyu.</div><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">root@sophiya-Gateway-NE46Rs:~/Desktop/ndnSIM/ns-3# pkg-config  --modversion gtk+-3.0<br class="">3.22.25</div><div class=""><br class=""></div><div class="">root@sophiya-Gateway-NE46Rs:~/Desktop/ndnSIM/ns-3# ./waf --run ndn-simple --vis<br class="">Waf: Entering directory `/root/Desktop/ndnSIM/ns-3/build'<br class="">Waf: Leaving directory `/root/Desktop/ndnSIM/ns-3/build'<br class="">Build commands will be stored in build/compile_commands.json<br class="">'build' finished successfully (1m31.000s)<br class="">09:42:12 environ              No en_IN translation found for domain kiwi<br class="">Could not load plugin 'show_last_packets.py': could not import gobject (could not find _PyGObject_API object)<br class="">Could not load icon applets-screenshooter due to missing gnomedesktop Python module<br class="">Traceback (most recent call last):<br class="">  File "<string>", line 2, in <module><br class="">  File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 1881, in start<br class="">    viz = Visualizer()<br class="">  File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 764, in __init__<br class="">    self.create_gui()<br class="">  File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 1100, in create_gui<br class="">    monitor = display.get_primary_monitor()<br class="">AttributeError: 'X11Display' object has no attribute 'get_primary_monitor'<br class="">root@sophiya-Gateway-NE46Rs:~/Desktop/ndnSIM/ns-3# history</div><div class=""><br class=""></div><div class="">Thanks</div><div class="">Sofiya Kandi<br class=""></div></div><br class=""><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" class="">bitmxy@gmail.com</a>> wrote:<br class=""></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 class="">
<br class="">
This is because the version of gtk-3 offered by Ubuntu 16.04 is too old.<br class="">
You can use an untrusted PPA to install gtk-3.22 if you want to use the visualizer.<br class="">
<br class="">
Best,<br class="">
Xinyu Ma.<br class="">
<br class="">
> On Jun 12, 2019, at 7:17 AM, sofiya kandi via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank" class="">ndnsim@lists.cs.ucla.edu</a>> wrote:<br class="">
> <br class="">
> Hello All,<br class="">
> <br class="">
> An idea of the solution for the error shown below, am using<br class="">
> ubuntu 16.04 LTS<br class="">
> python 3.5.2<br class="">
> ns-3.29<br class="">
> all the python packages are installed<br class="">
> <br class="">
> 19:17:14 environ              No en_IN translation found for domain kiwi<br class="">
> Could not load plugin 'show_last_packets.py': could not import gobject (could not find _PyGObject_API object)<br class="">
> Could not load icon applets-screenshooter due to missing gnomedesktop Python module<br class="">
> Traceback (most recent call last):<br class="">
>   File "<string>", line 2, in <module><br class="">
>   File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 1881, in start<br class="">
>     viz = Visualizer()<br class="">
>   File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 764, in __init__<br class="">
>     self.create_gui()<br class="">
>   File "/root/Desktop/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 1100, in create_gui<br class="">
>     monitor = display.get_primary_monitor()<br class="">
> AttributeError: 'X11Display' object has no attribute 'get_primary_monitor'<br class="">
> <br class="">
> <br class="">
> Thanks<br class="">
> Sofiya Kandi<br class="">
> _______________________________________________<br class="">
> ndnSIM mailing list<br class="">
> <a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank" class="">ndnSIM@lists.cs.ucla.edu</a><br class="">
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br class="">
<br class="">
</blockquote></div>
</div></blockquote></div><br class=""></div></body></html>