attribute error when running catkin_make
Hi,
I keep getting this error when running catkin_make
/opt/ros/hydro/share/catkin/cmake/em/order_packages.cmake.em:23: error: <type 'exceptions.AttributeError'>: 'str' object has no attribute 'name'
Traceback (most recent call last):
File "/usr/bin/empy", line 3288, in <module>
if __name__ == '__main__': main()
File "/usr/bin/empy", line 3286, in main
invoke(sys.argv[1:])
File "/usr/bin/empy", line 3269, in invoke
interpreter.wrap(interpreter.file, (file, name))
File "/usr/bin/empy", line 2273, in wrap
self.fail(e)
File "/usr/bin/empy", line 2264, in wrap
apply(callable, args)
File "/usr/bin/empy", line 2337, in file
self.safe(scanner, done, locals)
File "/usr/bin/empy", line 2379, in safe
self.parse(scanner, locals)
File "/usr/bin/empy", line 2399, in parse
token.run(self, locals)
File "/usr/bin/empy", line 1410, in run
interpreter.execute(self.code, locals)
File "/usr/bin/empy", line 2576, in execute
exec statements in self.globals
File "<string>", line 17, in <module>
File "/usr/lib/pymodules/python2.7/catkin_pkg/topological_order.py", line 109, in topological_order
return topological_order_packages(packages, whitelisted=whitelisted, blacklisted=blacklisted, underlay_packages=dict(underlay_packages.values()))
File "/usr/lib/pymodules/python2.7/catkin_pkg/topological_order.py", line 154, in topological_order_packages
return [(path, package) for path, package in tuples if package.name not in underlay_decorators_by_name]
AttributeError: 'str' object has no attribute 'name'
CMake Error at /opt/ros/hydro/share/catkin/cmake/safe_execute_process.cmake:11 (message):
execute_process(/home/incubed/migrate_ws/build/catkin_generated/env_cached.sh
"/usr/bin/empy" "--raw-errors" "-F"
"/home/incubed/migrate_ws/build/catkin_generated/order_packages.py" "-o"
"/home/incubed/migrate_ws/build/catkin_generated/order_packages.cmake"
"/opt/ros/hydro/share/catkin/cmake/em/order_packages.cmake.em") returned
error code 1
Call Stack (most recent call first):
/opt/ros/hydro/share/catkin/cmake/em_expand.cmake:23 (safe_execute_process)
/opt/ros/hydro/share/catkin/cmake/catkin_workspace.cmake:28 (em_expand)
CMakeLists.txt:63 (catkin_workspace)
I'm on Ubuntu 12.04 and ROS Hydro.
Any ideas how I could fix this?