[ros-users] Rosinstall problems (Was Re: ROS Diamondback Beta 2)
Tully Foote
tfoote at willowgarage.com
Tue Feb 8 18:06:00 UTC 2011
Hi Willy,
On Tue, Feb 8, 2011 at 9:38 AM, Willy Lambert <lambert.willy at gmail.com>wrote:
> Hi Tully,
>
> I have question about rosdep OS policies :
>
> _ First about Debian version names. Currently, you have a squeeze/sid
> entry, but mine is detected as squeeze (it's a squeeze-rc1 installation). Do
> you expect debian users to use the ROS_OS_OVERRIDE env variable to force
> squeeze/sid ? Or would you prefer 2 sections one for squeeze and one for sid
> ?
>
It would be best if someone went through and patched all the releases for
squeeze. sid is a rolling target and with our release timeline packages may
change or be replaced on sid and break our rosdeps, in general we don't add
rosdeps until things are released. However due to the long debian release
cycle we have ended up with people contributing squeeze/sid targets.
>
> _ Secondly about how my debian version is recognized by ROS. If I use
> /etc/debian_version, I have "6.0" in it. Should I call the OS version name
> "6.0" instead of squeeze ?
>
If you'd like to go through and update things 6.0 or squeeze is fine, for
ubuntu we've been using the numbers, others use the name. Either way though
it ends up being an exact string match.
>
> _ Finally, why is there no experimental pages of Debian since their OS
> dependency are in the rosdep.yml ? I may undestand you can't have a stable
> version without a maintainer, but is it possible to just create a Debian
> page with the know issues ?
>
There's no specific reason except that no one has contributed them. If
you'd like to add them that would be great.
Tully
>
>
> 2011/2/8 Tully Foote <tfoote at willowgarage.com>
>
> Hi Willy,
>>
>> I've created a ticket to keep track of the locale issue
>> https://code.ros.org/trac/ros/ticket/3305 I'm glad it's working for you
>> now.
>>
>> Rosdep patches are appreciated. If you're working in a stack using svn
>> you can make patches by in a stack that you patched the rosdep for. "svn
>> diff rosdep.yaml > STACKNAME_rosdep.patch" And then open a ticket with the
>> patch file attached for each stack.
>>
>> Tully
>>
>>
>> On Mon, Feb 7, 2011 at 3:28 PM, Willy Lambert <lambert.willy at gmail.com>wrote:
>>
>>> It was not the first svn as I could checkout from the beginning of the
>>> .rosinstall file to the physics_ode
>>>
>>> Oh yes, I have FR locales. I would never had thougth to precise this.
>>> Setting the locale to EN allowed to go to the end of SVN stuff. I have
>>> some warnings :
>>> ard at ard-host-v5:~$ rosinstall ros "
>>> http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no
>>> "
>>> rosinstall operating on /media/DD_data/home/ard/ros from specifications
>>> in rosinstall files /media/DD_data/home/ard/ros/.rosinstall,
>>> http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no
>>>
>>> Installing https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.4.3 to
>>> /media/DD_data/home/ard/ros/ros
>>> svn: warning: cannot set LC_CTYPE locale
>>> svn: warning: environment variable LANG is en_US.utf-8
>>> svn: warning: please check that your locale name is correct
>>> svn: warning: cannot set LC_CTYPE locale
>>> svn: warning: environment variable LANG is en_US.utf-8
>>> svn: warning: please check that your locale name is correct
>>> At revision 13104.
>>>
>>> but theses packages seems checkouted :
>>> ard at ard-host-v5:~/ros$ ls
>>> common diagnostics executive_smach
>>> image_common laser_pipeline physics_ode ros_comm
>>> setup.bash simulator_gazebo vision_opencv visualization_tutorials
>>> common_msgs documentation geometry
>>> image_pipeline navigation robot_model ros_tutorials
>>> setup.sh simulator_stage visualization
>>> common_tutorials driver_common geometry_tutorials
>>> image_transport_plugins perception_pcl ros rx
>>> setup.zsh slam_gmapping visualization_common
>>>
>>> ard at ard-host-v5:~/ros$ ls ros
>>> AUTHORS CMakeLists.txt LICENSE Makefile README bin config core
>>> rosdep.yaml stack.xml test tools
>>>
>>>
>>> After some rosdep.yaml customizations and builds I think I have all
>>> working now since I successfully spwanned a tutorial turtle :
>>> ard at ard-host-v5:/media/DD_data/home/ard/ros/ros_comm$ rosrun turtlesim
>>> turtlesim_node
>>> [ INFO] [1297121079.766515844]: Starting turtlesim with node name
>>> /turtlesim
>>> [ INFO] [1297121079.776034377]: Spawning turtle [turtle1] at
>>> x=[5,555555], y=[5,555555], theta=[0,000000]
>>>
>>> So I think you were rigth, it's a locale problem. Thanks for your time
>>>
>>> I would be pleased to send you patches of rosdep.yaml to add debian
>>> dependencies, if it is possible, please give me the doc to do this or send
>>> me the command line to prepare the patch.
>>>
>>>
>>>
>>> 2011/2/7 Tully Foote <tfoote at willowgarage.com>
>>>
>>> Hi Willy,
>>>>
>>>> I've copied your rosinstall file directly and it is able to install as
>>>> pasted below on my machine. Can you provide the full output? In particular
>>>> is this the first svn install that fails? Also, I notice that you seem to
>>>> have non en language in your svn output. It's quite possible that the
>>>> version parsing for the svn url extraction is not robust to different locale
>>>> settings. Could you try rerunning with "LANG=en_US.utf-8 " prepended to
>>>> your command. if that fixes it we can open a ticket to make rosinstall
>>>> support multiple locales.
>>>>
>>>> Tully
>>>>
>>>> On Mon, Feb 7, 2011 at 11:30 AM, Willy Lambert <lambert.willy at gmail.com
>>>> > wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am using a Debian and tried a svn&compil install.
>>>>> I followed these instructions from scratch (I moved the old
>>>>> installation) :
>>>>> http://www.ros.org/wiki/diamondback/Installation/Ubuntu/SVN
>>>>>
>>>>> It fails (as in the first release) during the svn update :
>>>>> 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 35794 extraite.
>>>>> Installing https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.4.3 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'
>>>>>
>>>>>
>>>>>
>>>>> Here is the content of my .rosinstall
>>>>>
>>>>> - svn: {local-name: ros, uri: '
>>>>> https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.4.3'}
>>>>> - 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.6}
>>>>> - 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.3'}
>>>>> - 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.3'}
>>>>> - 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.6}
>>>>> - 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.3'}
>>>>> - 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.6}
>>>>> - 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.3'}
>>>>> - 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.4
>>>>> '}
>>>>> - 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.2
>>>>> '}
>>>>> - svn: {local-name: visualization_tutorials, uri: '
>>>>> https://code.ros.org/svn/ros-pkg/stacks/visualization_tutorials/tags/visualization_tutorials-0.2.2
>>>>> '}
>>>>>
>>>>>
>>>>> I have no idea of what's happening.
>>>>>
>>>>>
>>>>> 2011/2/7 Ken Conley <kwc at willowgarage.com>
>>>>>
>>>>> http://www.ros.org/news/2011/02/ros-diamondback-beta-2-release.html
>>>>>>
>>>>>> Thanks everyone for the helpful reports. We've pushed a lot of stack
>>>>>> updates and are getting closer to our release candidate. We
>>>>>> appreciate your continued help with integration, including the updates
>>>>>> to the installation instructions on the various Linux distributions.
>>>>>>
>>>>>> FYI: Here are some remaining OS X integration tickets based on
>>>>>> Nicholas Butko's reports, patches welcome:
>>>>>>
>>>>>> https://code.ros.org/trac/ros-pkg/ticket/4764
>>>>>> https://code.ros.org/trac/ros-pkg/ticket/4765
>>>>>> https://code.ros.org/trac/ros-pkg/ticket/4766
>>>>>>
>>>>>> We still have some fixes that have not been released yet, but will be
>>>>>> included in the next update.
>>>>>>
>>>>>> - Ken
>>>>>> _______________________________________________
>>>>>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110208/d4b21989/attachment-0003.html>
More information about the ros-users
mailing list