Hi,

Thank you Jeff and Ronny for inputs. I  got emane 1.2.3 work with core 5.2.

Regards
Monika

On Thu, Feb 21, 2019, 5:16 PM Jeff Weston <[email protected]>
wrote:

> Does the file /usr/share/emane/dtd/platform.dtd exist, as listed in the
> error message?  Is it the proper 1.0.1 version, or perhaps
> something left around from the 1.2.3 installation?
>
> I generally build/install from source, so I'm not that familiar with using
> the process from .deb files, unfortunately.  One other
> thing to note from
> https://downloads.pf.itd.nrl.navy.mil/docs/core/core-html/emane.html#emane-configuration
> is that depending on how
> EMANE is installed, the DTD files (including the above) may be in
> /usr/local/share/emane/dtd instead of the spot CORE expects them
> (/usr/share/emane/dtd), and you can fix that with 'ln -s
> /usr/local/share/emane /usr/share/emane' if that's the case.
>
>
> Jeffery Weston
> Computer Engineer, Information Technology Division
> Naval Research Laboratory Code 5522
> https://www.nrl.navy.mil/itd/ncs/
>
>
> > -----Original Message-----
> > From: Monika Prakash <[email protected]>
> > Sent: Wednesday, February 20, 2019 6:59 AM
> > To: Dr. Ronny L. Bull <[email protected]>
> > Cc: Jeff Weston <[email protected]>; [email protected]
> > Subject: Re: [emane-users] error starting emane in core emulator
> >
> > Hi,
> >
> > As per your guideline, I purged emane 1.2.3 and installed emane 1.0.1.
> >
> > root@osboxes:/home/osboxes# emane -version
> > 1.0.1
> >
> >
> > The python packages of core and emane are available in
> /usr/local/lib/python2.7/dist-packages/core/emane and not in
> > /usr/lib/python2.7/dist-packages. Hence I created symbolic link ln -s
> usr/local/lib/python2.7/dist-packages/core/
> > /usr/lib/python2.7/dist-packages/core
> >
> > I verified it using python interpreter
> > root@osboxes:/usr/local/lib/python2.7/dist-packages# python Python
> 2.7.12 (default, Nov 12 2018, 14:36:49) [GCC 5.4.0 20160609]
> > on linux2 Type "help", "copyright", "credits" or "license" for more
> information.
> > >>> from core import emane
> > >>> emane
> > <module 'core.emane' from 'core/emane/__init__.pyc'>
> > >>>
> >
> >
> > But still no luck. Error exists!
> >
> > core-daemon.log
> >
> > error platform.xml: No declaration for attribute id of element platform,
> line 4, column 35 error running emanegentransportxml:
> > Command '['emanegentransportxml', 'platform.xml']' returned non-zero
> exit status 1
> > exception: emane (None) Warning: EMANE events will not be generated
> because the emaneeventservice  binding was unable to load
> > (install the python-emaneeventservice bindings)
> > Warning: EMANE events will not be generated because the
> emaneeventservice  binding was unable to load (install the python-
> > emaneeventservice bindings) setting user-defined EMANE log level: 2
> > /tmp/pycore.41165/platform.xml:4: element platform: validity error : No
> declaration for attribute id of element platform <platform
> > id="1" name="Platform 1">
> >                                   ^
> > 06:43:12.584401 ABORT ValidateException: Failed to parse document in
> /tmp/pycore.41165/platform.xml.
> >
> > Possible reason(s):
> >  * file:///usr/share/emane/dtd/platform.dtd is missing'
> >  * file:///usr/share/emane/dtd/platform.dtd inaccessible (network
> unreachable/http down).
> >  * file:///usr/share/emane/dtd/platform.dtd is incorrect (run xmllint to
> validate).
> >
> > exception: emane (None) error starting emane: Command '['emane', '-d',
> '--logl', '2', '-f', '/tmp/pycore.41165/emane.log', '-r',
> > '/tmp/pycore.41165/platform.xml']' returned non-zero exit status 1 error
> starting emane: Command '['emane', '-d', '--logl', '2',
> > '-f',
> > '/tmp/pycore.41165/emane.log', '-r', '/tmp/pycore.41165/platform.xml']'
> returned non-zero exit status 1
> > Thread-5: exception while handling msg:
> > CoreEventMessage <msgtype = CORE_API_EVENT_MSG, flags = 0x0 <>>
> >   CORE_TLV_EVENT_TYPE: 3
> > Traceback (most recent call last):
> >   File "/usr/local/sbin/core-daemon", line 292, in handlemsg
> >     replies = msghandler(msg)
> >   File "/usr/local/sbin/core-daemon", line 1112, in handleeventmsg
> >     self.session.instantiate(handler=self)
> >   File "/usr/local/lib/python2.7/dist-packages/core/session.py", line
> 625, in instantiate
> >     if self.emane.startup() == self.emane.NOT_READY:
> >   File "/usr/local/lib/python2.7/dist-packages/core/emane/emane.py",
> line 337, in startup
> >     self.installnetifs()
> >   File "/usr/local/lib/python2.7/dist-packages/core/emane/emane.py",
> line 966, in installnetifs
> >     emanenode.installnetifs(do_netns)
> >   File "/usr/local/lib/python2.7/dist-packages/core/emane/nodes.py",
> line 219, in installnetifs
> >     netif.install()
> >   File "/usr/local/lib/python2.7/dist-packages/core/netns/vif.py", line
> 127, in install
> >     self.waitfordevicelocal()
> >   File "/usr/local/lib/python2.7/dist-packages/core/netns/vif.py", line
> 109, in waitfordevicelocal
> >     self.waitfor(localdevexists)
> >   File "/usr/local/lib/python2.7/dist-packages/core/netns/vif.py", line
> 99, in waitfor
> >     raise RuntimeError, 'command failed after %s attempts' % attempts
> > RuntimeError: command failed after 10 attempts
> >
> >
> > Please let me know if you can predict where I am going wrong.
> >
> > Thanks
> > Monika
> > Research Associate
> > UAE University
> >
> >
> > On Tue, Feb 19, 2019 at 7:55 AM Dr. Ronny L. Bull <[email protected]
> <mailto:[email protected]> > wrote:
> >
> >
> >       Good point Jeff. You could also load the VM appliance that I
> created with all the updated software for development.
> >
> >
> http://ronnybull.com/2019/01/15/new-custom-vcore-virtualbox-appliance-with-emane-quagga-ospf-manet-nasa-ion-dtn/
> >
> >
> >       Ronny
> >
> >       On Tue, Feb 19, 2019, 7:49 AM Jeff Weston <
> [email protected] <mailto:[email protected]>  wrote:
> >
> >
> >               CORE 4.8 is compatible with EMANE up to 1.0.1.  For EMANE
> 1.2.3, you need CORE 5.x from the github page.
> >
> >               -Jeff Weston
> >
> >
> >               Jeffery Weston
> >               Computer Engineer, Information Technology Division
> >               Naval Research Laboratory Code 5522
> >               https://www.nrl.navy.mil/itd/ncs/
> >
> >
> >               > -----Original Message-----
> >               > From: emane-users <[email protected]
> <mailto:[email protected]> > On Behalf
> > Of Monika Prakash
> >               > Sent: Monday, February 18, 2019 10:29 AM
> >               > To: [email protected] <mailto:
> [email protected]>
> >               > Subject: [emane-users] error starting emane in core
> emulator
> >               >
> >               > Hi all,
> >               >
> >               > I want to use emane with core emulator. I have installed
> core 4.8 and emane 1.2.3 in Ubuntu 16.4 LTS.
> >               >
> >               > I followed
> >               >
> >               >
> https://github.com/adjacentlink/emane/wiki/Install#ubuntu-1604-lts-amd64
> >               >
> >               > for installation of emane. And followed core manual for
> emane configuration in /etc/core/core.conf.
> >               >
> >               > Emane is installed successfully, but it is not working
> with core.
> >               >
> >               > I get the following errors
> >               >
> >               > -error starting emane: Command '['emane', '-d',
> '--logl', '3', '-f', '/tmp/pycore.41291/emane.log', '-r',
> >               > '/tmp/pycore.41291/platform.xml']' returned non-zero
> exit status 1
> >               >
> >               > -Unable to publish EMANE events because eventservice
> python bindings failed to load
> >               >
> >               > Any insights will be highly appreciated.
> >               >
> >               > Thanks
> >               >
> >               > Monika
> >               >
> >               > Research Associate
> >               >
> >               > UAE University
> >               >
> >               >
> >               >
> >               >
> >               >
> >               >
> >               >
> >               >
> >               >
> >
> >               _______________________________________________
> >               emane-users mailing list
> >               [email protected] <mailto:[email protected]>
> >               https://publists.nrl.navy.mil/mailman/listinfo/emane-users
> >
>
>
_______________________________________________
emane-users mailing list
[email protected]
https://publists.nrl.navy.mil/mailman/listinfo/emane-users

Reply via email to