<meta http-equiv="content-type" content="text/html; charset=utf-8">Mark, <div><br></div><div>Ken's right.  This version of rosintall detects whether your directory is a fresh install and if not does not generate the setup file.  You can delete the .rosinstall_source_uri file in ~/ros_tutorials and it should work if you rerun it.  </div>

<div><br></div><div>Removing the whole directory will also work.  </div><div><div><br></div><div>Tully</div><br><div class="gmail_quote">On Wed, Jul 21, 2010 at 11:02 AM, Ken Conley <span dir="ltr"><<a href="mailto:kwc@willowgarage.com">kwc@willowgarage.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Mark,<br>
<br>
It looks like something went wrong with your ~/ros-tutorials install.<br>
The best way to resolve is probably to:<br>
<br>
1) delete ~/ros-tutorials<br>
2) retry the setup instructions<br>
<br>
I just ran them myself and the setup.sh file was created.<br>
<br>
hope this helps,<br>
<font color="#888888">Ken<br>
</font><div><div></div><div class="h5"><br>
On Wed, Jul 21, 2010 at 7:38 AM, Mark Worsdall<br>
<<a href="http://code.ros.org" target="_blank">code.ros.org</a>@<a href="http://wizdom.org.uk" target="_blank">wizdom.org.uk</a>> wrote:<br>
> Hi,<br>
><br>
> Was worried I had missed out some step, so did all again. Beginning to<br>
> think it is me or now one else install from tutorials in this method<br>
> from here: <a href="http://tinyurl.com/37z8vfx" target="_blank">http://tinyurl.com/37z8vfx</a><br>
><br>
> Any I did this:<br>
><br>
><br>
> ros@jilldando:~/ros-tutorials$ cd ~<br>
> ros@jilldando:~$ . ~/ros/setup.sh<br>
> ros@jilldando:~$ cat ~/ros/setup.sh<br>
> export ROS_ROOT=/home/ros/ros/ros<br>
> export PATH=$ROS_ROOT/bin:$PATH<br>
> export PYTHONPATH=$ROS_ROOT/core/roslib/src:$PYTHONPATH<br>
> if [ ! "$ROS_MASTER_URI" ] ; then export<br>
> ROS_MASTER_URI=<a href="http://localhost:11311" target="_blank">http://localhost:11311</a> ; fi<br>
> export ROS_PACKAGE_PATH=/home/ros/ros/stacks<br>
> source $ROS_ROOT/tools/rosbash/rosbash<br>
> ros@jilldando:~$ wget --no-check-certificate <a href="http://ros.org/rosinstall" target="_blank">http://ros.org/rosinstall</a><br>
> -O ~/rosinstall<br>
> --2010-07-21 15:33:13--  <a href="http://ros.org/rosinstall" target="_blank">http://ros.org/rosinstall</a><br>
> Resolving ros.org... 157.22.19.18<br>
> Connecting to <a href="http://ros.org" target="_blank">ros.org</a>|157.22.19.18|:80... connected.<br>
> HTTP request sent, awaiting response... 301 Moved Permanently<br>
> Location: <a href="http://www.ros.org/rosinstall" target="_blank">http://www.ros.org/rosinstall</a> [following]<br>
> --2010-07-21 15:33:13--  <a href="http://www.ros.org/rosinstall" target="_blank">http://www.ros.org/rosinstall</a><br>
> Resolving www.ros.org... 157.22.19.18<br>
> Reusing existing connection to <a href="http://ros.org:80" target="_blank">ros.org:80</a>.<br>
> HTTP request sent, awaiting response... 301 Moved Permanently<br>
> Location:<br>
> <a href="http://code.ros.org/svn/ros/installers/trunk/rosinstall/rosinstall" target="_blank">http://code.ros.org/svn/ros/installers/trunk/rosinstall/rosinstall</a><br>
> [following]<br>
> --2010-07-21 15:33:14--<br>
> <a href="http://code.ros.org/svn/ros/installers/trunk/rosinstall/rosinstall" target="_blank">http://code.ros.org/svn/ros/installers/trunk/rosinstall/rosinstall</a><br>
> Resolving code.ros.org... 157.22.19.21<br>
> Connecting to <a href="http://code.ros.org" target="_blank">code.ros.org</a>|157.22.19.21|:80... connected.<br>
> HTTP request sent, awaiting response... 301 Moved Permanently<br>
> Location:<br>
> <a href="https://code.ros.org/svn/ros/installers/trunk/rosinstall/rosinstall" target="_blank">https://code.ros.org/svn/ros/installers/trunk/rosinstall/rosinstall</a><br>
> [following]<br>
> --2010-07-21 15:33:15--<br>
> <a href="https://code.ros.org/svn/ros/installers/trunk/rosinstall/rosinstall" target="_blank">https://code.ros.org/svn/ros/installers/trunk/rosinstall/rosinstall</a><br>
> Connecting to <a href="http://code.ros.org" target="_blank">code.ros.org</a>|157.22.19.21|:443... connected.<br>
> HTTP request sent, awaiting response... 200 OK<br>
> Length: 13051 (13K) [text/plain]<br>
> Saving to: "/home/ros/rosinstall"<br>
><br>
> 100%[====================================================================<br>
> ===============================>] 13,051      36.0K/s   in 0.4s<br>
><br>
> 2010-07-21 15:33:16 (36.0 KB/s) - "/home/ros/rosinstall" saved<br>
> [13051/13051]<br>
><br>
> ros@jilldando:~$ chmod 755 ~/rosinstall<br>
> ros@jilldando:~$ ~/rosinstall -o ~/ros-tutorials<br>
> <a href="http://www.ros.org/rosinstalls/boxturtle_tutorials.rosinstall" target="_blank">http://www.ros.org/rosinstalls/boxturtle_tutorials.rosinstall</a><br>
> rosinstall is updating stacks/ros_tutorials<br>
> At revision 10461.<br>
><br>
> rosinstall is updating stacks/ros_pkg_tutorials<br>
> At revision 31067.<br>
><br>
><br>
> done.<br>
><br>
> ros@jilldando:~$ echo "source ~/ros-tutorials/setup.sh" >> ~/.bashrc<br>
> ros@jilldando:~$ . ~/.bashrc<br>
> -su: /home/ros/ros-tutorials/setup.sh: No such file or directory<br>
> ros@jilldando:~$<br>
><br>
><br>
> ??<br>
><br>
><br>
><br>
><br>
> In message <<a href="mailto:eR%2BGowDDOgRMFwBo@florence.wizbang.homedns.org">eR+GowDDOgRMFwBo@florence.wizbang.homedns.org</a>>, Mark<br>
> Worsdall <<a href="http://code.ros.org" target="_blank">code.ros.org</a>@<a href="http://wizdom.org.uk" target="_blank">wizdom.org.uk</a>> writes<br>
>>Hi,<br>
>><br>
>>Well setup is missing:-(<br>
>><br>
>>This is what I done did:<br>
>><br>
>>1)<br>
>>ros@jilldando:~$ ~/rosinstall -o ~/ros-tutorials \<br>
>><a href="http://www.ros.org/rosinstalls/boxturtle_tutorials.rosinstall" target="_blank">http://www.ros.org/rosinstalls/boxturtle_tutorials.rosinstall</a><br>
>><br>
>>rosinstall is updating stacks/ros_tutorials<br>
>>At revision 10449.<br>
>><br>
>>rosinstall is updating stacks/ros_pkg_tutorials<br>
>>At revision 31039.<br>
>><br>
>><br>
>>done.<br>
>><br>
>>ros@jilldando:~$<br>
>><br>
>><br>
>>2)<br>
>>ros@jilldando:~$ ls -l<br>
>>total 352<br>
>>-rwxr-xr-x 1 ros  ros     784 Jul 12 15:57 notes.txt<br>
>>-rw-r--r-- 1 ros  ros     300 Jul  2 17:42 out.log<br>
>>drwxr-xr-x 4 ros  ros    4096 Jun 29 11:23 ros<br>
>>-rwxr-xr-x 1 ros  ros   13051 May 20 04:13 rosinstall<br>
>>-rw-r--r-- 1 ros  ros  303427 Jul 12 15:17 rosshadowdocgen.log<br>
>>drwxr-xr-x 3 ros  ros    4096 Jul 20 20:56 ros-tutorials<br>
>>-rw-r--r-- 1 ros  ros    3356 Jul  2 17:51 sr_arm.log<br>
>>-rwxr--r-- 1 root root   8366 Jul  6 16:53 ugo-rviz_config.vcg<br>
>>ros@jilldando:~$ ls -l ros-tutorials<br>
>>total 8<br>
>>drwxr-xr-x 4 ros ros 4096 Jul 20 20:56 stacks<br>
>>-rw-r--r-- 1 ros ros  257 Jul 20 21:07 this.rosinstall<br>
>><br>
>><br>
>>So wanted to do the rest:<br>
>><br>
>>ros@jilldando:~$ echo "source ~/ros-tutorials/setup.sh" >> ~/.bashrc<br>
>>ros@jilldando:~$ . ~/.bashrc<br>
>><br>
>>but obviously get:<br>
>><br>
>>ros@jilldando:~$ . ~/.bashrc<br>
>>-bash: /home/ros/ros-tutorials/setup.sh: No such file or directory<br>
>><br>
>><br>
><br>
> --<br>
> Mark Worsdall<br>
> <a href="http://www.shadowrobot.com/" target="_blank">http://www.shadowrobot.com/</a>  need a hand??<br>
> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Tully Foote<br>Systems Engineer<br>Willow Garage, Inc.<br><a href="mailto:tfoote@willowgarage.com">tfoote@willowgarage.com</a><br>(650) 475-2827<br>
</div>