Revision [1459]
This is an old revision of FaqDownloadFails made by TobiasWolf on 2008-09-29 05:34:03.
FAQ
Q: Why does DownloadPsychtoolbox persistently fail with svn CHECKOUT and PROPFIND errors?
A: This can occur not because of problems with the svn server at berlios.de, but because the computer you are using to to download the Psychtoolbox is behind a firewall and access to the repository is routed through a proxy host. The proxy host blocks direct 'svn', 'http' and even 'https' requests and so the download falls over. To use svn with a proxy host, follow the instructions below:
- You need to provide svn with the name of the proxy host, its port number and your username and password. Your system administrator can provide the host name and port number. Alternatively, details of the proxy host will have been used to configure your browser to access the internet, you can extract the information from your browser preferences.
- To identify the proxy host for svn (for Mac OS X) you have to use a Unix editor to edit a file called ‘servers’ that is in a hidden directory called ".subversion" (note the dot) to provide the required information.
- Open a Unix shell (using Terminal or XTerm). An Xterm shell usually starts up when X11 does, with Matlab. Terminal is in the "Utilities" folder in "Applications"
- With a Unix shell open, at the prompt type:
cd .subversion
pico servers
With the servers file open, use the down arrow or Control-V to scroll down to the bottom of the file (it's about 75 lines long). There you'll see the following block of text:
pico servers
Pico is the least worst of the unix editors (at least it has a list of commands at the bottom of the editor window. Note, in pico ^ is the control key, so ^X is Control-X).
With the servers file open, use the down arrow or Control-V to scroll down to the bottom of the file (it's about 75 lines long). There you'll see the following block of text:
[global] # http-proxy-exceptions = *.exception.com, www.internal-site.org # http-proxy-host = Proxy host # http-proxy-port = Port number # http-proxy-username = username # http-proxy-password = password # http-compression = no # No http-timeout, so just use the builtin default. # No neon-debug-mask, so neon debugging is disabled. # ssl-authority-files = /path/to/CAcert.pem;/path/to/CAcert2.pem
- Replace "Proxy host" and "Port number" with the information your System Administrator provides. "username" and "password" are those for your system-wide account (i.e., used to check your email, access the internet, etc).
- Delete the # and the space to its right. It's crucial that the 'http-etc' strings start in the first column. Control-O, [Return], and Control-X saves the changes to the file and returns you to the Unix shell.
- Cross fingers!
- Retry DownloadPsychtoolbox.