[ros-users] Diamondback svn install

Willy Lambert lambert.willy at gmail.com
Fri Feb 4 15:52:52 UTC 2011


2011/2/4 Tully Foote <tfoote at willowgarage.com>

>
>
> On Thu, Feb 3, 2011 at 7:43 AM, Willy Lambert <lambert.willy at gmail.com>wrote:
>
>>
>>
>> 2011/2/3 Andreas Tropschug <tropschu at in.tum.de>
>>
>> On Thu, 2011-02-03 at 07:37 +0100, Steven Bellens wrote:
>>> > Hi,
>>> >
>>> > The svn install of ROS Diamondback fails with the error message:
>>> >
>>> > $ rosinstall ~/ros
>>> > "
>>> https://code.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no
>>>
>>> The URL has changed, recheck the wiki:
>>> http only, and packages.ros.org:
>>>
>>> rosinstall ~/ros
>>> "
>>> http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no
>>> "
>>>
>>> this commandline works for me.
>>>
>>> Best regards,
>>> Andreas T.
>>>
>>>
>>>
>> I used the updated documentation for an svn install on a Debian and I have
>> :
>>
>>
>> rosinstall ros "
>> http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no
>> "
>>
>> ...
>> A
>> /media/DD_data/home/ard/ros/physics_ode/opende/opende-wg-branch-r1771.tar.gz.md5sum
>> A    /media/DD_data/home/ard/ros/physics_ode/opende/Makefile
>> A    /media/DD_data/home/ard/ros/physics_ode/opende/Makefile.ode.simpar
>> A    /media/DD_data/home/ard/ros/physics_ode/opende/Makefile.threadpool
>> A
>> /media/DD_data/home/ard/ros/physics_ode/opende/opende-wg-branch-r1772.tar.gz.md5sum
>> A    /media/DD_data/home/ard/ros/physics_ode/opende/CMakeLists.txt
>> A    /media/DD_data/home/ard/ros/physics_ode/CMakeLists.txt
>> A    /media/DD_data/home/ard/ros/physics_ode/Makefile
>> A    /media/DD_data/home/ard/ros/physics_ode/rosdep.yaml
>>  U   /media/DD_data/home/ard/ros/physics_ode
>> Révision 35730 extraite.
>> Installing https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.4.2  to
>> /media/DD_data/home/ard/ros/ros
>> Traceback (most recent call last):
>>   File "/usr/local/bin/rosinstall", line 5, in <module>
>>     pkg_resources.run_script('rosinstall==0.5.14', 'rosinstall')
>>   File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 467, in
>> run_script
>>     self.require(requires)[0].run_script(script_name, ns)
>>   File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1200, in
>> run_script
>>     execfile(script_filename, namespace, namespace)
>>   File
>> "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.14-py2.6.egg/EGG-INFO/scripts/rosinstall",
>> line 549, in <module>
>>     sys.exit(not rosinstall_main(sys.argv))
>>   File
>> "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.14-py2.6.egg/EGG-INFO/scripts/rosinstall",
>> line 531, in rosinstall_main
>>     install_success = config.execute_install(options.backup_changed, mode,
>> options.robust)
>>   File
>> "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.14-py2.6.egg/EGG-INFO/scripts/rosinstall",
>> line 276, in execute_install
>>     if not t.install(os.path.join(self.base_path, backup_path), mode):
>>   File
>> "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.14-py2.6.egg/EGG-INFO/scripts/rosinstall",
>> line 116, in install
>>     elif self.vcsc.get_url().rstrip('/') != self.uri.rstrip('/'):  #strip
>> trailing slashes for #3269
>> AttributeError: 'NoneType' object has no attribute 'rstrip'
>> ard at ard-host-v5:/media/DD_data/home/ard$ cd ros
>>
>>
>> Here is the content of the ros directory :
>>
>> ard at ard-host-v5:/media/DD_data/home/ard$ ls ros
>> common       diagnostics    executive_smach  physics_ode  ros
>> simulator_gazebo
>> common_msgs  driver_common  geometry         robot_model  ros_comm
>> simulator_stage
>>
>> do you know what's wrong ?
>>
>
> Hi Willy,
>
> It looks like you have a uri in your rosinstall file which is evaluating to
> None.  Could you post your ros/.rosinstall file?  and show the output of
> simply "rosinstall ros" at the same time.
>
>
Here is it :

- svn: {local-name: ros, uri: '
https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.4.2'}
- svn: {local-name: ros_comm, uri: '
https://code.ros.org/svn/ros/stacks/ros_comm/tags/ros_comm-1.4.0'}
- svn: {local-name: common_msgs, uri: '
https://code.ros.org/svn/ros-pkg/stacks/common_msgs/tags/common_msgs-1.4.0'}
- svn: {local-name: common, uri: '
https://code.ros.org/svn/ros-pkg/stacks/common/tags/common-1.4.0'}
- svn: {local-name: diagnostics, uri: '
https://code.ros.org/svn/ros-pkg/stacks/diagnostics/tags/diagnostics-1.2.5'}
- svn: {local-name: driver_common, uri: '
https://code.ros.org/svn/ros-pkg/stacks/driver_common/tags/driver_common-1.2.3
'}
- hg: {local-name: geometry, uri: 'https://ros-geometry.googlecode.com/hg/',
version: geometry-1.3.5}
- svn: {local-name: robot_model, uri: '
https://code.ros.org/svn/ros-pkg/stacks/robot_model/tags/robot_model-1.4.0'}
- svn: {local-name: executive_smach, uri: '
https://code.ros.org/svn/ros-pkg/stacks/executive_smach/tags/executive_smach-1.0.0
'}
- svn: {local-name: simulator_stage, uri: '
https://code.ros.org/svn/ros-pkg/stacks/simulator_stage/tags/simulator_stage-1.2.4
'}
- svn: {local-name: simulator_gazebo, uri: '
https://code.ros.org/svn/ros-pkg/stacks/simulator_gazebo/tags/simulator_gazebo-1.2.8
'}
- svn: {local-name: physics_ode, uri: '
https://code.ros.org/svn/ros-pkg/stacks/physics_ode/tags/physics_ode-1.4.0'}
- svn: {local-name: ros, uri: '
https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.4.2'}
- svn: {local-name: ros_comm, uri: '
https://code.ros.org/svn/ros/stacks/ros_comm/tags/ros_comm-1.4.0'}
- svn: {local-name: image_common, uri: '
https://code.ros.org/svn/ros-pkg/stacks/image_common/tags/image_common-1.4.0
'}
- svn: {local-name: image_transport_plugins, uri: '
https://code.ros.org/svn/ros-pkg/stacks/image_transport_plugins/tags/image_transport_plugins-1.4.0
'}
- svn: {local-name: image_pipeline, uri: '
https://code.ros.org/svn/ros-pkg/stacks/image_pipeline/tags/image_pipeline-1.3.0
'}
- svn: {local-name: laser_pipeline, uri: '
https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/tags/laser_pipeline-1.0.2
'}
- svn: {local-name: perception_pcl, uri: '
https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/tags/perception_pcl-0.8.0
'}
- svn: {local-name: vision_opencv, uri: '
https://code.ros.org/svn/ros-pkg/stacks/vision_opencv/tags/vision_opencv-1.3.7
'}
- svn: {local-name: ros, uri: '
https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.4.2'}
- svn: {local-name: ros_comm, uri: '
https://code.ros.org/svn/ros/stacks/ros_comm/tags/ros_comm-1.4.0'}
- svn: {local-name: common_msgs, uri: '
https://code.ros.org/svn/ros-pkg/stacks/common_msgs/tags/common_msgs-1.4.0'}
- svn: {local-name: common, uri: '
https://code.ros.org/svn/ros-pkg/stacks/common/tags/common-1.4.0'}
- svn: {local-name: diagnostics, uri: '
https://code.ros.org/svn/ros-pkg/stacks/diagnostics/tags/diagnostics-1.2.5'}
- svn: {local-name: driver_common, uri: '
https://code.ros.org/svn/ros-pkg/stacks/driver_common/tags/driver_common-1.2.3
'}
- hg: {local-name: geometry, uri: 'https://ros-geometry.googlecode.com/hg/',
version: geometry-1.3.5}
- svn: {local-name: robot_model, uri: '
https://code.ros.org/svn/ros-pkg/stacks/robot_model/tags/robot_model-1.4.0'}
- svn: {local-name: executive_smach, uri: '
https://code.ros.org/svn/ros-pkg/stacks/executive_smach/tags/executive_smach-1.0.0
'}
- svn: {local-name: navigation, uri: '
https://code.ros.org/svn/ros-pkg/stacks/navigation/tags/navigation-1.3.1'}
- svn: {local-name: slam_gmapping, uri: '
https://code.ros.org/svn/ros-pkg/stacks/slam_gmapping/tags/slam_gmapping-1.2.2
'}
- svn: {local-name: visualization_common, uri: '
https://code.ros.org/svn/ros-pkg/stacks/visualization_common/tags/visualization_common-1.4.0
'}
- svn: {local-name: visualization, uri: '
https://code.ros.org/svn/ros-pkg/stacks/visualization/tags/visualization-1.4.0
'}
- svn: {local-name: ros, uri: '
https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.4.2'}
- svn: {local-name: ros_comm, uri: '
https://code.ros.org/svn/ros/stacks/ros_comm/tags/ros_comm-1.4.0'}
- svn: {local-name: common_msgs, uri: '
https://code.ros.org/svn/ros-pkg/stacks/common_msgs/tags/common_msgs-1.4.0'}
- svn: {local-name: common, uri: '
https://code.ros.org/svn/ros-pkg/stacks/common/tags/common-1.4.0'}
- svn: {local-name: diagnostics, uri: '
https://code.ros.org/svn/ros-pkg/stacks/diagnostics/tags/diagnostics-1.2.5'}
- svn: {local-name: driver_common, uri: '
https://code.ros.org/svn/ros-pkg/stacks/driver_common/tags/driver_common-1.2.3
'}
- hg: {local-name: geometry, uri: 'https://ros-geometry.googlecode.com/hg/',
version: geometry-1.3.5}
- svn: {local-name: robot_model, uri: '
https://code.ros.org/svn/ros-pkg/stacks/robot_model/tags/robot_model-1.4.0'}
- svn: {local-name: executive_smach, uri: '
https://code.ros.org/svn/ros-pkg/stacks/executive_smach/tags/executive_smach-1.0.0
'}
- svn: {local-name: ros, uri: '
https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.4.2'}
- svn: {local-name: ros_comm, uri: '
https://code.ros.org/svn/ros/stacks/ros_comm/tags/ros_comm-1.4.0'}
- svn: {local-name: rx, uri: '
https://code.ros.org/svn/ros/stacks/rx/tags/rx-1.4.0'}
- svn: {local-name: documentation, uri: '
https://code.ros.org/svn/ros/stacks/documentation/tags/documentation-1.4.0'}
- svn: {local-name: ros_tutorials, uri: '
https://code.ros.org/svn/ros/stacks/ros_tutorials/tags/ros_tutorials-0.2.3'}
- svn: {local-name: common_tutorials, uri: '
https://code.ros.org/svn/ros-pkg/stacks/common_tutorials/tags/common_tutorials-0.1.2
'}
- svn: {local-name: geometry_tutorials, uri: '
https://code.ros.org/svn/ros-pkg/stacks/geometry_tutorials/tags/geometry_tutorials-0.1.1
'}
- svn: {local-name: visualization_tutorials, uri: '
https://code.ros.org/svn/ros-pkg/stacks/visualization_tutorials/tags/visualization_tutorials-0.2.2
'}

for memory here is the content of the folder after installation failed :
common       diagnostics    executive_smach  physics_ode  ros
simulator_gazebo
common_msgs  driver_common  geometry         robot_model  ros_comm
simulator_stage


and rosinstall ros gives :
ard at ard-host-v5:/media/DD_data/home/ard$ rosinstall ros
rosinstall operating on /media/DD_data/home/ard/ros from specifications in
rosinstall files  /media/DD_data/home/ard/ros/.rosinstall
Installing https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.4.2  to
/media/DD_data/home/ard/ros/ros
Traceback (most recent call last):
  File "/usr/local/bin/rosinstall", line 5, in <module>
    pkg_resources.run_script('rosinstall==0.5.15', 'rosinstall')
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 467, in
run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1200, in
run_script
    execfile(script_filename, namespace, namespace)
  File
"/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.15-py2.6.egg/EGG-INFO/scripts/rosinstall",
line 549, in <module>
    sys.exit(not rosinstall_main(sys.argv))
  File
"/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.15-py2.6.egg/EGG-INFO/scripts/rosinstall",
line 531, in rosinstall_main
    install_success = config.execute_install(options.backup_changed, mode,
options.robust)
  File
"/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.15-py2.6.egg/EGG-INFO/scripts/rosinstall",
line 276, in execute_install
    if not t.install(os.path.join(self.base_path, backup_path), mode):
  File
"/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.15-py2.6.egg/EGG-INFO/scripts/rosinstall",
line 116, in install
    elif self.vcsc.get_url().rstrip('/') != self.uri.rstrip('/'):  #strip
trailing slashes for #3269
AttributeError: 'NoneType' object has no attribute 'rstrip'






> Tully
>
>
>>
>>
>>
>>> > "
>>> > rosinstall operating on /home/u0063509/ros from specifications in
>>> > rosinstall files
>>> >
>>> https://code.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no
>>> > ahhhhhhhh, yaml parse error: while scanning for the next token
>>> > found character '\t' that cannot start any token
>>> >   in "<file>", line 7, column 1
>>> > Usage: rosinstall PATH [URI] [options]
>>> >
>>> > rosinstall: error: None
>>> >
>>> > Looks like a typo in the rosinstall script?
>>> >
>>> > Steven
>>> > _______________________________________________
>>> > ros-users mailing list
>>> > ros-users at code.ros.org
>>> > https://code.ros.org/mailman/listinfo/ros-users
>>>
>>>
>>> _______________________________________________
>>> ros-users mailing list
>>> ros-users at code.ros.org
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
>
> --
> Tully Foote
> Systems Engineer
> Willow Garage, Inc.
> tfoote at willowgarage.com
> (650) 475-2827
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110204/4a5ba561/attachment-0003.html>


More information about the ros-users mailing list