[ros-users] New version of rosinstall released

Thibault Kruse kruset at in.tum.de
Wed Aug 10 20:05:47 UTC 2011


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}

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 at 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 <module>
>     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 <module>
>     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 at ard-host:/opt/ros$
>
>
> 2011/8/3 Tully Foote <tfoote at willowgarage.com 
> <mailto:tfoote at willowgarage.com>>
>
>     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 at willowgarage.com <mailto:tfoote at willowgarage.com>
>     (650) 475-2827 <tel:%28650%29%20475-2827>
>
>
>     _______________________________________________
>     ros-users mailing list
>     ros-users at code.ros.org <mailto: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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110810/946b04c7/attachment-0002.html>


More information about the ros-users mailing list