cvar-upm / aerostack

Software framework for aerial robotic systems
Other
154 stars 43 forks source link

rosservice error fix #51

Closed Arsalan66 closed 5 years ago

Arsalan66 commented 5 years ago

After checking that there is no CATKIN_IGNORE file in : workspace/ros/aerostack_catkin_ws/src/aerostack_stack/stack/mission_control_system/python_based_mission_interpreter/python_based_mission_interpreter_process I ran cd $AEROSTACK_WORKSPACE catkin_make It compiled successfully however there was an error in ther terminals :+1:

" *process[drone111/python_based_mission_interpreter_process-1]: started with pid [10815] Traceback (most recent call last): File "/home/arsalan/workspace/ros/aerostack_catkin_ws/src/aerostack_stack/stack/mission_control_system/python_based_mission_interpreter/python_based_mission_interpreter_process/src/pml_mission_interpreter_process.py", line 7, in import mission_handler File "/home/arsalan/workspace/ros/aerostack_catkin_ws/src/aerostack_stack/stack/mission_control_system/python_based_mission_interpreter/python_based_mission_interpreter_process/src/mission_handler.py", line 2, in import mission_loader File "/home/arsalan/workspace/ros/aerostack_catkin_ws/src/aerostack_stack/stack/mission_control_system/python_based_mission_interpreter/python_based_mission_interpreter_process/src/mission_loader.py", line 2, in import pyinotify ImportError: No module named pyinotify [drone111/python_based_mission_interpreter_process-1] process has died [pid 10815, exit code 1, cmd /home/arsalan/workspace/ros/aerostack_catkin_ws/src/aerostack_stack/stack/mission_control_system/python_based_mission_interpreter/python_based_mission_interpreter_process/src/pml_mission_interpreter_process.py name:=python_based_mission_interpreter_process log:=/home/arsalan/.ros/log/042d38d4-e514-11e9-81d7-701a040a8ed4/drone111-python_based_mission_interpreter_process-1.log]. log file: /home/arsalan/.ros/log/042d38d4-e514-11e9-81d7-701a040a8ed4/drone111-python_based_mission_interpreter_process-1.log all processes on machine have died, roslaunch will exit shutting down processing monitor... ... shutting down processing monitor complete** "

IMG_5166


I'd really appreciate some assistance to remove this issue

Arsalan66 commented 5 years ago

IMG_5165

rodelgo7al commented 5 years ago

You must install pyinotify. Try these options:

sudo apt-get install python-pyinotify
sudo dpkg-reconfigure python-pyinotify

If it doesn't work:

git clone https://github.com/seb-m/pyinotify.git
cd pyinotify/
sudo python3.6 setup.py install 
Arsalan66 commented 5 years ago

Thanks for the generous reply ,I'll inform you about the progress