ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

srmauv's profile - activity

2015-08-13 17:44:10 -0500 received badge  Student (source)
2014-12-07 22:09:14 -0500 received badge  Famous Question (source)
2014-11-17 17:03:54 -0500 received badge  Notable Question (source)
2014-11-14 08:17:28 -0500 received badge  Popular Question (source)
2014-11-13 10:58:51 -0500 asked a question Lost ROS enviroment after running Cmake in Qt Creator

I tried to open my project in Qt Creator following http://wiki.ros.org/IDEs . Opened the CmakeLists.txt and ran Cmake. I get this error during the process:

CMake Error at /opt/ros/indigo/share/catkin/cmake/safe_execute_process.cmake:11 (message):
  execute_process(/usr/bin/python
  "/home/akshaya/srmauv/build/catkin_generated/generate_cached_setup.py")
  returned error code 1
Call Stack (most recent call first):
  /opt/ros/indigo/share/catkin/cmake/all.cmake:185 (safe_execute_process)
  /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:20 (include)
  CMakeLists.txt:52 (find_package)
Traceback (most recent call last):
  File "/home/akshaya/srmauv/build/catkin_generated/generate_cached_setup.py", line 19, in <module>
    from catkin.environment_cache import generate_environment_script
ImportError: No module named catkin.environment_cache

Now I cannot use ros aliases like roscore and stuff. Did source the setup.bash from /opt/ros/indigo but and even my catkin_ws setup.bash but still the roscd commands and catkin_make does not work. Was able to run roscore though. Earlier that was not running as well.

Please let me know whats wrong. Did the CMake process in Qt mess things up? Thanks in advance