Hi all,
We are trying to install ROS in a Debian distro from
svn following the Ubuntu/Linux instructions provided in the web-site. We have a
squeeze/sid version of Debian, which can be seen in /etc/debian_version. However,
we get a weird error:
[ rosmake ] rosdep install failed: Could not detect
OS, tried ['uninitialized from ROS_OS_OVERRIDE=name:version', 'rosdep_test_os',
'debian', 'ubuntu', 'ubuntu', 'fedora', 'rhel', 'arch', 'macports', 'gentoo',
'cygwin']
Traceback (most recent call last):
File "./rosinstall", line
sys.exit(rosinstall_main(sys.argv)
or 0)
File "./rosinstall", line
subprocess.check_call("source
%s && rosmake rostest --rosdep-install" %
(os.path.join(options.path, 'setup.sh')), shell=True, executable='/bin/bash')
File
"/usr/lib/python2.5/subprocess.py", line
raise CalledProcessError(retcode,
cmd)
subprocess.CalledProcessError: Command 'source
/home/treaccio/tmp/ros/setup.sh && rosmake rostest --rosdep-install'
returned non-zero exit status 255
Looking at the error we also tried to assign
ROS_OS_OVERRIDE=debian:squeeze/sid manually, using the export command, before
running rosinstall. But this also output an error:
Using environment variable
ROS_OS_OVERRIDE=name:version
[ rosmake ] Detected rosout not built, adding it to
the build
[ rosmake ] Packages requested are: ['rostest',
'rosout']
[ rosmake ] Logging to directory
[ rosmake ]
/home/treaccio/.ros/rosmake/rosmake_output-20100528-094544
[ rosmake ] Expanded args ['rostest', 'rosout'] to:
['rostest', 'rosout']
[ rosmake ] Generating Install Script using rosdep
then executing. This may take a minute, you will be prompted for permissions. .
.
Using environment variable
ROS_OS_OVERRIDE=name:version
Traceback (most recent call last):
File
"/home/treaccio/tmp/ros/ros/bin/rosmake", line
if not rma.main():
File
"/home/treaccio/tmp/ros/ros/tools/rosmake/src/rosmake/rosmake.py",
line
self.rosdep_install_result =
self.install_rosdeps(buildable_packages, options.rosdep_yes)
File
"/home/treaccio/tmp/ros/ros/tools/rosmake/src/rosmake/rosmake.py",
line
r.install(include_duplicates=False, default_yes=default_yes);
File
"/home/treaccio/tmp/ros/ros/tools/rosdep/src/rosdep/core.py", line
script =
self.generate_script(include_duplicates, default_yes)
File
"/home/treaccio/tmp/ros/ros/tools/rosdep/src/rosdep/core.py", line
self.osi.get_os().strip_detected_packages(native_packages)
AttributeError: Override instance has no attribute
'strip_detected_packages'
Traceback (most recent call last):
File "./rosinstall", line
sys.exit(rosinstall_main(sys.argv)
or 0)
File "./rosinstall", line
subprocess.check_call("source
%s && rosmake rostest --rosdep-install" % (os.path.join(options.path,
'setup.sh')), shell=True, executable='/bin/bash')
File
"/usr/lib/python2.5/subprocess.py", line
raise CalledProcessError(retcode,
cmd)
subprocess.CalledProcessError: Command 'source
/home/treaccio/tmp/ros/setup.sh && rosmake rostest --rosdep-install'
returned non-zero exit status 1
We realized that ROS uses its own tools for Python to
detect the underlying OS. For some reasons, that tool doesn’t work for
us. Are we missing anything? Is there any special issue we need to take into
account for Debian installation?
Thanks in advance!
______________________________
Gorka Azkune
Galparsoro
Kontrol eta IKT Saila
Departamento de Control y
TIC
Control and ICT
Department
FATRONIK
Mikeletegi Pasealekua, 7 - . Teknologi
Parkea
E-20.009 Donostia (Gipuzkoa)-Spain
Telf: (+34) 943 005500
Fax: (+34) 943 005511
e-mail : gazcune@fatronik.com
web : www.fatronik.com