Revision [1475]
Last edited on 2008-10-10 08:05:17 by TobiasWolf [make line calling editor a oneliner]Additions:
%%(bash)pico ~/.subversion/servers%%
Deletions:
##pico servers##
Additions:
''If it still does not work it might be that your institutions proxy does not support the HTTP methods listed in the Subversion FAQ: http://subversion.tigris.org/faq.html#http-methods .''
Revision [1463]
Edited on 2008-09-29 06:16:07 by TobiasWolf [Updated this FAQ (Added section for Notepad, general formatting)]Additions:
~- Save the changes, the ##[global]## section should now look something like this:
Deletions:
Revision [1462]
Edited on 2008-09-29 06:14:04 by TobiasWolf [Updated this FAQ (Added section for Notepad, general formatting)]Additions:
%%(robots)
%%(robots)
%%(robots)
Deletions:
%%(bash)
Revision [1461]
Edited on 2008-09-29 06:09:07 by TobiasWolf [Updated this FAQ (Added section for Notepad, general formatting)]No Differences
Revision [1460]
Edited on 2008-09-29 06:07:57 by TobiasWolf [Updated this FAQ (Added section for Notepad, general formatting)]Additions:
**Q:** Why does [[PsychtoolboxDownload DownloadPsychtoolbox]] persistently fail with svn CHECKOUT and PROPFIND errors?
~- 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 web browser preferences.
-----
~- **On Windows:**
Go to Start → Run and paste this command: ##notepad %APPDATA%\Subversion\servers##
~- **On OSX or Linux:**
~- You have to use an 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:
>>Pico is the least bad 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).>>
##cd .subversion##
##pico servers##
-----
~- With the servers file open, scroll down to the bottom of the file (it's about 75 lines long).
There you'll see the following block of text:
%%(bash)
%%
~- 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).
~- Remove the ## # ## and the following space. It's //crucial// that the 'http-etc' strings start in the first column.
~- Save the changes, the global section should look something like this:
%%(bash)
http-proxy-exceptions = *.
http-proxy-host = something.edu
http-proxy-port = 8080
http-proxy-username = myusername
http-proxy-password = mypassword
%%
~- Cross fingers!
~- Retry DownloadPsychtoolbox.
~- 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 web browser preferences.
-----
~- **On Windows:**
Go to Start → Run and paste this command: ##notepad %APPDATA%\Subversion\servers##
~- **On OSX or Linux:**
~- You have to use an 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:
>>Pico is the least bad 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).>>
##cd .subversion##
##pico servers##
-----
~- With the servers file open, scroll down to the bottom of the file (it's about 75 lines long).
There you'll see the following block of text:
%%(bash)
%%
~- 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).
~- Remove the ## # ## and the following space. It's //crucial// that the 'http-etc' strings start in the first column.
~- Save the changes, the global section should look something like this:
%%(bash)
http-proxy-exceptions = *.
http-proxy-host = something.edu
http-proxy-port = 8080
http-proxy-username = myusername
http-proxy-password = mypassword
%%
~- Cross fingers!
~- Retry DownloadPsychtoolbox.
Deletions:
- 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 >>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:
%%
%%
- 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.
Additions:
=== [[http://psychtoolbox.org/wikka.php?wakka=PsychtoolboxFaq FAQ]] ===
- 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.
Just a final note, your username and password are now hard-coded in the servers file so if your institution requires you to change your password periodically, it won’t be updated in the servers file automatically, you'll have to update it manually (by editing the servers file). If you don’t, DownloadPsychtoolbox or UpdatePsychtoolbox may fail in the future because the proxy host rejects your out-of-date password.
- 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.
Just a final note, your username and password are now hard-coded in the servers file so if your institution requires you to change your password periodically, it won’t be updated in the servers file automatically, you'll have to update it manually (by editing the servers file). If you don’t, DownloadPsychtoolbox or UpdatePsychtoolbox may fail in the future because the proxy host rejects your out-of-date password.
Deletions:
- 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.
Just a final note, your username and password are now hard-coded in the servers file so if your institution requires you to change your password periodically, it won’t be updated in the servers file automatically, you'll have to update it manually (by editing the servers file). If you don’t, DownloadPsychtoolbox or UpdatePsychtoolbox may fail in the future because the proxy host rejects your out-of-date password.