adjacentlink / emane-guide

A guide to understanding and using EMANE
https://emane.io
Other
2 stars 0 forks source link

Emanesh not working #2

Open James-Sloop opened 9 months ago

James-Sloop commented 9 months ago

Last week I completed the entire emane-guide and by the end I had everything working properly. This morning I went back into the guide to review the models and I found that some key elements are no longer working. When trying to complete the RF Pipe Radio Model, I issue the first command emanesh node-1 get table nems phy PathlossEventInfoTable ReceivePowerTable and I immediately get the following error: image

I think I know what caused the problem but I am not sure how I can fix it. After completing the emane-guide, I started working with CORE (Common Open Research Emulator) which had me install emane somewhere else on my machine. Did installing emane somewhere else mess up the emane guide and if so I have a few questions. Is the duplicate instillation the source of the issue? Is there a way to have both installations of emane working? If not, do I need to uninstall the emane guide for the version CORE uses to work? I am using Ubuntu 22.04 and the emane guide was installed using the pre-built packages. The other installation of emane was done following the CORE installation guide shown bellow:

# install emane
cd ~/Documents
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.6/protoc-3.19.6-linux-x86_64.zip
mkdir protoc
unzip protoc-3.19.6-linux-x86_64.zip -d protoc
git clone https://github.com/adjacentlink/emane.git
cd emane
./autogen.sh
./configure --prefix=/usr
make -j$(nproc)
sudo make install
cd src/python
make clean
PATH=~/Documents/protoc/bin:$PATH make
sudo /opt/core/venv/bin/python -m pip install .
sgalgano commented 9 months ago

CORE is a third party tool that uses emane. Adjacent Link does not use or support CORE. Please address CORE questions to the CORE project.

Mixing pip and non-pip packages (system installed packages) can cause all sorts of issues. If we need to use pip for a python module without a system package, we use it within a python virtualenv.