Hi Willy, indeed, while the flaw I found exists and fails with a similar exception, the output would also have been slightly different ("Installing None to /home/kruset/work/bugtest/ros"). In your case self.vcsc.get_url().rstrip('/') is the part that has the None, so the problem is with detecting the url of the svn that already exists in /opt/ros/ros your .rosinstall works fine for me, though, even for the second "rosinstall ." Can you run 'svn info' in your /opt/ros/ros directory and post the results? Other things you can try to do to help us: In /opt/ros, run ipython (aptitude install it if required) $ os.path.exists('ros') $ os.path.isdir('ros/.svn') if that does not return anything strange you could continue in ipython with $ import rosinstall.helpers $ from rosinstall.vcs import svn, bzr, git $ from rosinstall.vcs import vcs_abstraction $ vcsc = vcs_abstraction.VCSClient("svn", '/opt/ros/ros') $ vcsc.detect_presence() $ vcsc.get_url() Since I cannot reproduce it with your .rosinstall, I am not sure what else you could do other than those things. The next step would be to send you a patched rosinstall script that gives us more debug info. > 2011/8/10 Thibault Kruse > >> ** >> Hi Willy, >> >> you most likely first had a .rosinstall with this line: >> - svn: {local-name: ros, uri: ' >> https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.6.0'} >> >> and now you have changed it to this line: >> - svn: {local-name: ros} >> > > Here is my .rosinstall, I don't think it is my problem > > ard@ard-host:/opt/ros$ cat .rosinstall > # THIS IS A FILE WHICH IS MODIFIED BY rosinstall > # IT IS UNLIKELY YOU WANT TO EDIT THIS FILE BY HAND > # IF YOU WANT TO CHANGE THE ROS ENVIRONMENT VARIABLES > # USE THE rosinstall TOOL INSTEAD. > # IF YOU CHANGE IT, USE rosinstall FOR THE CHANGES TO TAKE EFFECT > - svn: {local-name: ros, uri: ' > https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.6.0'} > - svn: {local-name: ros_comm, uri: ' > https://code.ros.org/svn/ros/stacks/ros_comm/tags/ros_comm-1.6.0'} > - hg: {local-name: common_rosdeps, uri: ' > https://kforge.ros.org/common/rosdepcore', > version: common_rosdeps-0.1.8} > - hg: {local-name: bond_core, uri: > 'https://kforge.ros.org/common/bondcore', > version: bond_core-1.6.0} > - svn: {local-name: common_msgs, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/common_msgs/tags/common_msgs-1.6.0'} > - hg: {local-name: common, uri: 'https://kforge.ros.org/common/common', > version: common-1.5.6} > - svn: {local-name: diagnostics, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/diagnostics/tags/diagnostics-1.6.1'} > - 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: eigen, uri: 'https://kforge.ros.org/geometry/eigen', > version: eigen-1.5.3} > - hg: {local-name: filters, uri: 'https://kforge.ros.org/common/filters', > version: filters-1.6.0} > - hg: {local-name: bullet, uri: 'https://kforge.ros.org/geometry/bullet', > version: bullet-2.76.3} > - hg: {local-name: geometry, uri: > 'https://kforge.ros.org/geometry/geometry', > version: geometry-1.5.5} > - hg: {local-name: nodelet_core, uri: ' > https://kforge.ros.org/common/nodeletcore', > version: nodelet_core-1.6.0} > - git: {local-name: orocos_kinematics_dynamics, uri: ' > https://kforge.ros.org/geometry/kdlclone', > version: orocos_kinematics_dynamics-0.2.1} > - hg: {local-name: pluginlib, uri: > 'https://kforge.ros.org/common/pluginlib', > version: pluginlib-1.6.0} > - hg: {local-name: assimp, uri: > 'https://kforge.ros.org/robotmodel/assimp', > version: assimp-0.1.1} > - hg: {local-name: robot_model, uri: ' > https://kforge.ros.org/robotmodel/robot_model', > version: robot_model-1.5.7} > - hg: {local-name: executive_smach, uri: ' > https://kforge.ros.org/smach/executive_smach', > version: executive_smach-1.0.2} > - hg: {local-name: xacro, uri: 'https://kforge.ros.org/common/xacro', > version: xacro-1.6.0} > - svn: {local-name: simulator_stage, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/simulator_stage/tags/simulator_stage-1.4.0 > '} > - svn: {local-name: simulator_gazebo, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/simulator_gazebo/tags/simulator_gazebo-1.3.6 > '} > - svn: {local-name: stage, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/stage/tags/stage-1.4.0'} > - svn: {local-name: physics_ode, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/physics_ode/tags/physics_ode-1.6.0'} > - svn: {local-name: visualization_common, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/visualization_common/tags/visualization_common-1.6.0 > '} > - svn: {local-name: rx, uri: ' > https://code.ros.org/svn/ros/stacks/rx/tags/rx-1.6.0'} > - svn: {local-name: image_common, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/image_common/tags/image_common-1.5.3 > '} > - svn: {local-name: perception_pcl, uri: ' > http://svn.pointclouds.org/ros/tags/perception_pcl_unstable-0.13.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.1 > '} > - svn: {local-name: image_pipeline, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/image_pipeline/tags/image_pipeline-1.5.2 > '} > - svn: {local-name: laser_pipeline, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/tags/laser_pipeline-1.2.0 > '} > - svn: {local-name: vision_opencv, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/vision_opencv/tags/vision_opencv-1.5.2 > '} > - hg: {local-name: navigation, uri: ' > https://kforge.ros.org/navigation/navigation', > version: navigation-1.6.0} > - svn: {local-name: slam_gmapping, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/slam_gmapping/tags/slam_gmapping-1.2.3 > '} > - svn: {local-name: visualization, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/visualization/tags/visualization-1.6.0 > '} > - hg: {local-name: executive_smach_visualization, uri: ' > https://kforge.ros.org/smach/visualization', > version: executive_smach_visualization-1.0.1} > - svn: {local-name: diagnostics_monitors, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/diagnostics_monitors/tags/diagnostics_monitors-1.4.0 > '} > - hg: {local-name: geometry_visualization, uri: ' > https://kforge.ros.org/geometry/visualization', > version: geometry_visualization-0.1.1} > - hg: {local-name: robot_model_visualization, uri: ' > https://kforge.ros.org/robotmodel/visualization', > version: robot_model_visualization-0.1.2} > - hg: {local-name: geometry_experimental, uri: ' > https://kforge.ros.org/geometry/experimental', > version: geometry_experimental-0.2.2} > - svn: {local-name: documentation, uri: ' > https://code.ros.org/svn/ros/stacks/documentation/tags/documentation-1.4.1'} > - svn: {local-name: ros_tutorials, uri: ' > https://code.ros.org/svn/ros/stacks/ros_tutorials/tags/ros_tutorials-0.2.4'} > - svn: {local-name: common_tutorials, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/common_tutorials/tags/common_tutorials-0.1.2 > '} > - hg: {local-name: geometry_tutorials, uri: ' > https://kforge.ros.org/geometry/tutorials', > version: geometry_tutorials-0.1.3} > - svn: {local-name: visualization_tutorials, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/visualization_tutorials/tags/visualization_tutorials-0.2.3 > '} > - hg: {local-name: robot_model_tutorials, uri: ' > https://kforge.ros.org/robotmodel/tutorials', > version: robot_model_tutorials-0.1.2} > - svn: {local-name: ard, uri: 'svn://88.191.124.77/ARP/trunk'} > - git: {local-name: orocos_toolchain_ros, uri: ' > http://git.mech.kuleuven.be/robotics/orocos_toolchain_ros.git'} > - svn: {local-name:laser_drivers, uri: ' > https://code.ros.org/svn/ros-pkg/stacks/laser_drivers/trunk'} > > > > >> >> This is a lack of robustness in rosinstall. For each svn entry, a uri >> must >> be supplied. A better error message would be nice. >> >> If you do not want to get updates from svn, also change the entry type >> to >> "other": >> - other: {local-name: ros} >> >> >> >> >> On 08/10/2011 09:42 PM, Willy Lambert wrote: >> >> after successfully rosinstalled from a custom .rosintall file (which is >> a >> standard electric distro + a personnal stack). Everything went fine but >> when >> I try an update I get an error : >> >> ard@ard-host:/opt/ros$ rosinstall . >> rosinstall operating on /opt/ros from specifications in rosinstall files >> /opt/ros/.rosinstall >> Installing https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.6.0 to >> /opt/ros/ros >> Traceback (most recent call last): >> File "/usr/local/bin/rosinstall", line 5, in >> pkg_resources.run_script('rosinstall==0.5.18', '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.18-py2.6.egg/EGG-INFO/scripts/rosinstall", >> line 596, in >> sys.exit(not rosinstall_main(sys.argv)) >> File >> "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.18-py2.6.egg/EGG-INFO/scripts/rosinstall", >> line 574, 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.18-py2.6.egg/EGG-INFO/scripts/rosinstall", >> line 292, in execute_install >> t.install(os.path.join(self.base_path, backup_path), mode) >> File >> "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.18-py2.6.egg/EGG-INFO/scripts/rosinstall", >> line 126, in install >> elif self.vcsc.get_url().rstrip('/') != self.uri.rstrip('/'): >> #strip >> trailing slashes for #3269 >> AttributeError: 'NoneType' object has no attribute 'rstrip' >> ard@ard-host:/opt/ros$ >> >> >> 2011/8/3 Tully Foote >> >>> Version 0.5.17 of rosinstall has been released. You can update using >>> the >>> commands below. This release contains numerous bug fixes, as well as >>> the >>> experimental rosws being discussed in another thread on this mailing >>> list. >>> >>> Please try it out and provide feedback on the new rosws tool and new >>> roslocate with distro specific options. . >>> >>> Update commands: >>> >>> sudo pip install -U rosinstall >>> >>> or >>> >>> sudo easy_install -U rosinstall >>> >>> Tully >>> >>> -- >>> Tully Foote >>> Systems Engineer >>> Willow Garage, Inc. >>> tfoote@willowgarage.com >>> (650) 475-2827 >>> >>> _______________________________________________ >>> ros-users mailing list >>> ros-users@code.ros.org >>> https://code.ros.org/mailman/listinfo/ros-users >>> >>> >> >> _______________________________________________ >> ros-users mailing >> listros-users@code.ros.orghttps://code.ros.org/mailman/listinfo/ros-users >> >> >> >> _______________________________________________ >> ros-users mailing list >> ros-users@code.ros.org >> https://code.ros.org/mailman/listinfo/ros-users >> >> > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users >