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

sofiya kandi starsofwork at gmail.com
Thu Jun 13 21:39:21 PDT 2019


Hello Xinyu,

Tried the link you gave however see the following error, any idea

Fetched 256 kB in 18s (13.7 kB/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/jconti/gnome3/ubuntu xenial
Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore
potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration
details.
E: Failed to fetch
http://ppa.launchpad.net/jconti/gnome3/ubuntu/dists/xenial/main/binary-amd64/Packages
 404  Not Found
E: Some index files failed to download. They have been ignored, or old ones
used instead.

On Fri, Jun 14, 2019 at 9:51 AM Xinyu Ma <bitmxy at gmail.com> wrote:

> 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 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> 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> 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
>> > 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/20190614/e7d2d1ce/attachment-0001.html>


More information about the ndnSIM mailing list