# Problem with automated download of Psychophysics Toolbox for OS X

**URL:** <https://psychtoolbox.discourse.group/t/problem-with-automated-download-of-psychophysics-toolbox-for-os-x/1369>\
**Category:** Uncategorized\
**Created:** [June 14, 2006, 3:01pm UTC](https://psychtoolbox.discourse.group/t/problem-with-automated-download-of-psychophysics-toolbox-for-os-x/1369 "2006-06-14T15:01:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [June 14, 2006, 3:01pm UTC](https://psychtoolbox.discourse.group/t/problem-with-automated-download-of-psychophysics-toolbox-for-os-x/1369/1 "2006-06-14T15:01:54Z")

</div>

Hello,  
  
  
I plan to use the psychophysics toolbox for OS X and therefore  
followed the instructions for automated install, given on the  
psychtoolbox.org website.  
  
The subversion client has been installed succesfully,  
  
However the function 'DownloadPsychtoolbox('stable')' results in the  
error that is pasted below.  
  
Some insights on why I get this error and how it can be resolved would  
be much appreciated!  
  
  
  
Best regards,   
  
  
Katinka van der Kooij  
  
DownloadPsychtoolbox(' stable ',' /Applications ')  
Requested flavor is: stable  
Requested location for the Psychtoolbox folder is inside: /Applications  
  
Good. Your privileges suffice for the requested installation into  
folder /Applications.  
  
Will now download the latest Psychtoolbox for OSX.  
Requested flavor is: stable  
Target folder for installation: /Applications  
The following CHECKOUT command asks the Subversion client to download  
the Psychtoolbox:  
/usr/local/bin/svn checkout  
svn://svn.berlios.de/osxptb/stable/Psychtoolbox/  
/Applications/Psychtoolbox  
Downloading. It's nearly 100 MB, which can take several minutes  
without any output to the Matlab window, so please standby ...  
Sorry, CHECKOUT failed with error code 1:   
subversion/libsvn\_ra\_svn/client.c:141: (apr\_err=60)  
svn: Can't connect to host 'svn.berlios.de': Operation timed out  
  
Checkout failed because the Subversion client executable svn.exe could  
not be found.  
Either you have to modify your system path, so Windows can find it, or  
(more likely)  
you did not install the Subversion client for Windows. Please read  
"help DownloadPsychtoolbox"  
for instructions on how to get and install the Subversion client for  
Windows.  
??? Error using ==\> DownloadPsychtoolbox  
CHECKOUT failed.

---

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [July 18, 2006, 7:34am UTC](https://psychtoolbox.discourse.group/t/problem-with-automated-download-of-psychophysics-toolbox-for-os-x/1369/2 "2006-07-18T07:34:25Z")

</div>

Hello  
  
I also have had problems downloading the psychtoolbox (for windows)  
initially I was on a private university network, and could not ping   
the server. Having moved onto a public network, ping now returns a   
connection sucess message, but I still cannot download psychtools  
  
I tried  
svn checkout svn://svn.berlios.de/osxptb/stable/Psychtoolbox/   
c:\michael\psychtoolbox\Psychtoolbox  
  
Which produced:  
svn: Can't connect to host 'svn.berlios.de': No connection could be   
made because the target machine actively refused it.  
  
and   
  
svn checkout   
http://svn.berlios.de/svnroot/repos/osxptb/stable/Psychtoolbox/  
 c:\michael\psychtoolbox\Psychtoolbox  
  
which produced:  
  
svn: PROPFIND request failed   
on '/svnroot/repos/osxptb/stable/Psychtoolbox'  
svn: PROPFIND of '/svnroot/repos/osxptb/stable/Psychtoolbox': could   
not connect to server (http://svn.berlios.de)  
  
any suggestions gratefully received.   
  
best wishes  
  
Michael  
  
  
--- In psychtoolbox@yahoogroups.com, "Mario Kleiner"   
\<mario.kleiner@...\> wrote:  

> \>  
> \> Hi,  
> \>   
> \> there are no known persistent problems, except for very infrequent  
> \> overloads, so you must have some different problems. Maybe its

really  

> \> some strange firewall settings.  
> \>   
> \> What you could try: edit DownloadPsychtoolbox.m and change in line

350  

> \> (checkoutcommand = ....) replace "svn://svn.berlios.de/osxptb/" by  
> \> "http://svn.berlios.de/svnroot/repos/osxptb/".  
> \>   
> \> This way it will use the http protocol instead of the svnserve  
> \> protocol. This could solve problems related to weird firewall  
> \> configurations, although it is probably lower performance.  
> \>   
> \> Tell me, if it helps. Maybe i could add this as a backup path in  
> \> future versions of the downloader.  
> \>   
> \> If neither helps then ask your local computer guru to check your  
> \> network settings and network connections, e.g., if a simple "ping  
> \> svn.berlios.de" works. Or ask some friendly colleague to download,

zip  

> \> and send it to you.  
> \>   
> \> best,  
> \> -mario  
> \>   
> \>   
> \> --- In psychtoolbox@yahoogroups.com, "kvanderkooij" \<katinkaaa@\>

wrote:  

> \> \>  
> \> \>   
> \> \> Hi Mario,  
> \> \>   
> \> \> Thank you for your response. I also suspected the problems with

the  

> \> \> automated download would be due to problems with the Berlios

server.  

> \> \> However, I've trying to install the psychtoolbox for a week now,  
> \> \> trying several times a day and I find it very odd that, looking at  
> \> \> this mailinglist, no one else seems to experience similar

problems.  

> \> \>   
> \> \> Is there a known problem with the Berlios server and is their

another  

> \> \> way to install the Psychtoolbox?  
> \> \>   
> \> \> Best,  
> \> \>   
> \> \> Katinka  
> \> \>   
> \> \>   
> \> \>   
> \> \> --- In psychtoolbox@yahoogroups.com, "Mario Kleiner"  
> \> \> \<mario.kleiner@\> wrote:  
> \> \> \>  
> \> \> \> Hi,  
> \> \> \>   
> \> \> \> the latest - not yet uploaded - version of DownloadPsychtoolbox

will  

> \> \> \> complain about spaces in pathnames. The two spaces before and

after  

> \> \> \> the path-name are caused by the way our downloader prints those

line  

> \> \> \> of output. It fixes the warnings about invalid escape sequences

that  

> \> \> \> Daniel Shima reported and is kind of a work-around for some

oddities  

> \> \> \> in Matlabs printing facilities.  
> \> \> \>   
> \> \> \> Error messages like 'Couldn't connect to berlios.de'

or 'Connection  

> \> \> \> timed out' or 'Connection refused' point to some problem with

the  

> \> \> \> network connection. The most probable cause is that the Berlios  
> \> \> \> servers are overloaded and the most promising solution is to

simply  

> \> \> \> wait for a few minutes (or hours) and retry.  
> \> \> \>   
> \> \> \> best,  
> \> \> \> -mario  
> \> \> \>   
> \> \> \>   
> \> \> \> --- In psychtoolbox@yahoogroups.com, Jenny Read \<J.C.A.Read@\>

wrote:  

> \> \> \> \>  
> \> \> \> \> Hi Katinka,  
> \> \> \> \>   
> \> \> \> \> Daniel Shima pointed out that you can't have a space in the  
> \> directory   
> \> \> \> \> name -- this is okay:  
> \> \> \> \> \>\> DownloadPsychtoolbox('beta','C:\MATLAB71Psychtoolbox')  
> \> \> \> \> But this is not:  
> \> \> \> \> \>\> DownloadPsychtoolbox('beta','C:\Program Files\MATLAB71

\toolbox')  

> \> \> \> \>   
> \> \> \> \> (Thanks very much Daniel for pointing this out -- I got

exactly  

> \> this   
> \> \> \> \> error, and I don;'t think it would have ever occurred to me

that  

> \> the   
> \> \> \> \> space was the problem!)  
> \> \> \> \>   
> \> \> \> \> Katinka, you seem to have put two spaces around your folder-

name:  

> \> \> \> \>   
> \> \> \> \> \>DownloadPsychtoolbox(' stable ',' /Applications ')  
> \> \> \> \> \>   
> \> \> \> \> \>  
> \> \> \> \> Does it work if you remove these spaces?  
> \> \> \> \>   
> \> \> \> \> Jenny  
> \> \> \> \>   
> \> \> \> \> --   
> \> \> \> \> Jenny Read Office: +44 191

222 7559  

> \> \> \> \> Royal Society University Research Fellow Mobile: +44 794

401 5796  

> \> \> \> \> Henry Wellcome Building for Neuroecology, Fax: +44 191 222

5622  

> \> \> \> \> University of Newcastle, Framlington Place mailto:J.C.A.Read@  
> \> \> \> \> Newcastle upon Tyne, NE2 4HH, UK.   
> \> \> \> http://www.staff.ncl.ac.uk/j.c.a.read  
> \> \> \> \>   
> \> \> \> \>   
> \> \> \> \>   
> \> \> \> \>   
> \> \> \> \> kvanderkooij wrote:  
> \> \> \> \>   
> \> \> \> \> \>Hello,  
> \> \> \> \> \>  
> \> \> \> \> \>  
> \> \> \> \> \>I plan to use the psychophysics toolbox for OS X and

therefore  

> \> \> \> \> \>followed the instructions for automated install, given on the  
> \> \> \> \> \>psychtoolbox.org website.  
> \> \> \> \> \>  
> \> \> \> \> \>The subversion client has been installed succesfully,  
> \> \> \> \> \>  
> \> \> \> \> \>However the function 'DownloadPsychtoolbox('stable')' results  
> \> in the  
> \> \> \> \> \>error that is pasted below.  
> \> \> \> \> \>  
> \> \> \> \> \>Some insights on why I get this error and how it can be

resolved  

> \> \> would  
> \> \> \> \> \>be much appreciated!  
> \> \> \> \> \>  
> \> \> \> \> \>  
> \> \> \> \> \>  
> \> \> \> \> \>Best regards,   
> \> \> \> \> \>  
> \> \> \> \> \>  
> \> \> \> \> \>Katinka van der Kooij  
> \> \> \> \> \>  
> \> \> \> \> \>DownloadPsychtoolbox(' stable ',' /Applications ')  
> \> \> \> \> \>Requested flavor is: stable  
> \> \> \> \> \>Requested location for the Psychtoolbox folder is inside:  
> \> \> /Applications  
> \> \> \> \> \>  
> \> \> \> \> \>Good. Your privileges suffice for the requested installation

into  

> \> \> \> \> \>folder /Applications.  
> \> \> \> \> \>  
> \> \> \> \> \>Will now download the latest Psychtoolbox for OSX.  
> \> \> \> \> \>Requested flavor is: stable  
> \> \> \> \> \>Target folder for installation: /Applications  
> \> \> \> \> \>The following CHECKOUT command asks the Subversion client to  
> \> download  
> \> \> \> \> \>the Psychtoolbox:  
> \> \> \> \> \>/usr/local/bin/svn checkout  
> \> \> \> \> \>svn://svn.berlios.de/osxptb/stable/Psychtoolbox/  
> \> \> \> \> \>/Applications/Psychtoolbox  
> \> \> \> \> \>Downloading. It's nearly 100 MB, which can take several

minutes  

> \> \> \> \> \>without any output to the Matlab window, so please

standby ...  

> \> \> \> \> \>Sorry, CHECKOUT failed with error code 1:   
> \> \> \> \> \>subversion/libsvn\_ra\_svn/client.c:141: (apr\_err=60)  
> \> \> \> \> \>svn: Can't connect to host 'svn.berlios.de': Operation timed

out  

> \> \> \> \> \>  
> \> \> \> \> \>Checkout failed because the Subversion client executable

svn.exe  

> \> \> could  
> \> \> \> \> \>not be found.  
> \> \> \> \> \>Either you have to modify your system path, so Windows can

find  

> \> \> it, or  
> \> \> \> \> \>(more likely)  
> \> \> \> \> \>you did not install the Subversion client for Windows.

Please read  

> \> \> \> \> \>"help DownloadPsychtoolbox"  
> \> \> \> \> \>for instructions on how to get and install the Subversion  
> \> client for  
> \> \> \> \> \>Windows.  
> \> \> \> \> \>??? Error using ==\> DownloadPsychtoolbox  
> \> \> \> \> \>CHECKOUT failed.  
> \> \> \> \> \>  
> \> \> \> \> \>  
> \> \> \> \> \>  
> \> \> \> \> \>  
> \> \> \> \> \>  
> \> \> \> \> \>  
> \> \> \> \> \>Post your message to: psychtoolbox@yahoogroups.com  
> \> \> \> \> \>Please indicate OS9, OSX, or WIN version, and include your

full  

> \> name.  
> \> \> \> \> \>Denis Pelli, David Brainard, and Allen Ingling.  
> \> \> \> \> \>http://psychtoolbox.org  
> \> \> \> \> \>   
> \> \> \> \> \>Yahoo! Groups Links  
> \> \> \> \> \>  
> \> \> \> \> \>  
> \> \> \> \> \>  
> \> \> \> \> \>   
> \> \> \> \> \>  
> \> \> \> \> \>  
> \> \> \> \> \>  
> \> \> \> \> \>   
> \> \> \> \> \>  
> \> \> \> \>  
> \> \> \>  
> \> \>  
> \>
