Hey there,
i just installed the NRP from source following the instructions in https://bitbucket.org/hbpneurorobotics/neurorobotics-platform/overview. The build did not fail anywhere, however when i execute cle-start i get the following output:
[1] 3484
… logging to /home/cyb3/.ros/log/3465ea82-4beb-11e8-84af-7085c26fd8a2/roslaunch-cyb3Ubuntu-3484.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://127.0.0.1:42293/
ros_comm version 1.12.13
SUMMARY
PARAMETERS
- /rosdistro: kinetic
- /rosversion: 1.12.13
NODES
auto-starting new master
process[master]: started with pid [3496]
ROS_MASTER_URI=http://127.0.0.1:11311/
setting /run_id to 3465ea82-4beb-11e8-84af-7085c26fd8a2
process[rosout-1]: started with pid [3509]
started core service [/rosout]
[2] 3550
[ INFO] [1525033421.288595349]: Waiting For connections on 0.0.0.0:8081
[3] 4038
the rosdep view is empty: call ‘sudo rosdep init’ and ‘rosdep update’
Traceback (most recent call last):
File “/home/cyb3/Documents/NRP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/ROSCLESimulationFactory.py”, line 43, in
from hbp_nrp_cleserver.server.PlaybackServer import PlaybackSimulationAssembly
File “/home/cyb3/Documents/NRP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/PlaybackServer.py”, line 31, in
from hbp_nrp_cleserver.server.CLEGazeboSimulationAssembly import GazeboSimulationAssembly
File “/home/cyb3/Documents/NRP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/CLEGazeboSimulationAssembly.py”, line 53, in
from hbp_nrp_cle.robotsim.GazeboHelper import GazeboHelper
File “/home/cyb3/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/robotsim/GazeboHelper.py”, line 37, in
from gazebo_msgs.srv import SpawnEntity, GetWorldProperties, DeleteModel, SetModelState,
ImportError: cannot import name SpawnEntity
[3]+ Exit 1 PYTHONPATH=$PYTHONPATH:$HOME/.opt/platform_venv/lib/python2.7/site-packages && python $HBP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/ROSCLESimulationFactory.py
[3] 4045
[uWSGI] getting INI configuration from /home/cyb3/.local/etc/nginx/uwsgi-nrp.ini
*** Starting uWSGI 2.0.12-debian (64bit) on [Sun Apr 29 22:23:43 2018] ***
compiled with version: 5.4.0 20160609 on 31 August 2017 21:02:04
os: Linux-4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC 2018
nodename: cyb3Ubuntu
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 6
current working directory: /home/cyb3/deepLearning/i2dl
detected binary path: /usr/bin/uwsgi-core
chdir() to /home/cyb3/Documents/NRP/ExDBackend/hbp_nrp_backend/
*** WARNING: you are running uWSGI without its master process manager ***
your processes number limit is 63250
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to UNIX address /home/cyb3/.local/etc/nginx/nrp-services.sock fd 3
Python version: 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609]
Set PythonHome to /home/cyb3/.opt/platform_venv
Python main interpreter initialized at 0x1bd8170
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 144896 bytes (141 KB) for 8 cores
*** Operational MODE: threaded ***
Traceback (most recent call last):
File “/home/cyb3/Documents/NRP/ExDBackend/hbp_nrp_backend/hbp_nrp_backend/runserver.py”, line 32, in
from hbp_nrp_backend.rest_server import app
File “./hbp_nrp_backend/rest_server/init.py”, line 10, in
from flask_restful_swagger import swagger
File “/home/cyb3/Documents/NRP/ExDBackend/hbp-flask-restful-swagger-master/flask_restful_swagger/swagger.py”, line 7, in
from flask.ext.restful import Resource, fields
ImportError: No module named ext.restful
unable to load app 0 (mountpoint=’’) (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI worker 1 (and the only) (pid: 4047, cores: 8)
[4] 4056
registered capabilities (classes):
- rosbridge_library.capabilities.call_service.CallService
- rosbridge_library.capabilities.advertise.Advertise
- rosbridge_library.capabilities.publish.Publish
- rosbridge_library.capabilities.subscribe.Subscribe
- <class ‘rosbridge_library.capabilities.defragmentation.Defragment’>
- rosbridge_library.capabilities.advertise_service.AdvertiseService
- rosbridge_library.capabilities.service_response.ServiceResponse
- rosbridge_library.capabilities.unadvertise_service.UnadvertiseService
[INFO] [1525033424.660983]: Rosbridge WebSocket server started on port 9090
2018-04-29 22:23:44 GMT+0200 Polling Backend Servers for Experiments, Health & Running Simulations every 5000 ms.
2018-04-29 22:23:44 GMT+0200 Listening on port: 8443
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/benchmark_p3dx/BenchmarkPioneer.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/braitenberg_husky_holodeck/ExDXMLExample_holodeck.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/braitenberg_husky_distributed/ExDDistributedBrainHusky.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/braitenberg_husky_spinnaker/HuskySpinnaker.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/braitenberg_husky/ExDXMLExample.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/braitenberg_husky_sbc/ExDBraitenbergHuskySBC.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/braitenberg_lauron_sbc/ExDBraitenbergLauronSBC.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/braitenberg_husky_distributed_music/ExDDistributedBrainHuskyMUSIC.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/braitenberg_mouse_holodeck_lab/ExDBraitenbergMouseHoloLab.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/braitenberg_mouse_lab/ExDBraitenbergMouseLab.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/braitenberg_mouse/ExDBraitenbergMouse.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/braitenberg_lauron/ExDBraitenbergLauron.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/cdp1_mouse_holodeck/ExDMouseCDP1_holodeck.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/cdp1_mouse/ExDMouseCDP1.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/demo_manipulation/ExDDemoManipulation.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/cdp1_mouse_tactile/ExDMouseCDP1_tactile.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/demo_husky_sbc/ExDDemoHuskySBC.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/demo_dvs_icub/ExDDvsIcub.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/demo_mouse_lab/ExDMouseLabExample.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/dvs_robot_head/ExDDvsRobotHead.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/interactive_manipulation/ExDInteractiveManipulation.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/manipulation_force_holodeck/ExDManipulationForce_holodeck.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/docked_mouse/ExDDockedMouse.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/manipulation_RL/ExDManipulationRL.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/manipulation_holodeck/ExDManipulation_holodeck.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/multiple_robots_tutorial/MultipleRobots.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/manipulation/ExDManipulation.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/manipulation_force/ExDManipulationForce.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/myoarm_small/Myo_small.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/nao/ExDNao.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/neuronal_red_detection_holodeck/NeuronalRedDetection_Husky_holodeck.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/myoarm_nst/Myo_NST.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/retina_icub/ExDRetinaICubTrackingRG.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/retina_mockup/ExDRetinaICubMockup.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/roboy/roboy.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/neuronal_red_detection/NeuronalRedDetection_Husky.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/screen_switching_holodeck/ScreenSwitchingHuskyExperiment_holodeck.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/spinnaker_example/ExDSpiNNakerExample.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/template_husky_timeout/ExDTemplateHuskyTimeout.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/template_husky/ExDTemplateHusky.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/screen_switching/ScreenSwitchingHuskyExperiment.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/template_lauron_docked/ExDTemplateDockedLauron.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/template_icub_holodeck/ExDTemplateICubHolodeck.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/template_icub/ExDTemplateICub.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/template_lauron/ExDTemplateLauron.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/template_new/TemplateNew.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/template_manipulation/ExDTemplateManipulation.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/template_mmm/ExDTemplateMMM.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/template_mouse/ExDTemplateMouseV2.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/tutorial_baseball_exercise/ExDTutorialBaseballExercise.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/tigrillo_CPG/ExDTigrilloCPG.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/tutorial_baseball_solution/ExDTutorialBaseballSolution.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/tutorial_tensorflow_husky/TensorFlowTutorial.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/template_pioneer/ExDTemplatePioneer.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/user-avatar_test-environment/user-avatar_test-env.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/visual_tracking_icub/ExDVisualTrackingICub.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/zip_robot/ExDXMLExampleRobotZip.exc
2018-04-29 22:23:44 GMT+0200 Parsing experiment file /home/cyb3/Documents/NRP/Experiments/visual_tracking_icub_holodeck/ExDVisualTrackingICub_holodeck.exc
— no python application found, check your startup logs for errors —
— no python application found, check your startup logs for errors —
2018-04-29 22:23:44 GMT+0200 Failed to execute request http://localhost:8080/health/errors. ERROR: Error: Status code: 500
Internal Server Error
2018-04-29 22:23:44 GMT+0200 Failed to execute request http://localhost:8080/simulation. ERROR: Error: Status code: 500
Internal Server Error
— no python application found, check your startup logs for errors —
— no python application found, check your startup logs for errors —
I can run cle-frontend, clone some of the template experiments, but i am not able to launch them. The “launch” button is constantly greyed out, telling me there is no server available (BackEnds: 0).
I figured the following errors out of the above output, and i do not know how to remove them:
from gazebo_msgs.srv import SpawnEntity: cannot import name SpawnEntity
from flask.ext.restful import Resource: No module named ext.restful
and finally the Internal Server Error: Satus code: 500 (export PYTHONPATH= did not solve the Error 500).
I am happy for every hint on how to solve these problems so i can run some of the template experiments.
Any help is appreciated
Greetings
Michael