# Cannot update or download PTB; problem with subversion client?

**URL:** <https://psychtoolbox.discourse.group/t/cannot-update-or-download-ptb-problem-with-subversion-client/224>\
**Category:** Uncategorized\
**Created:** [August 25, 2015, 4:29pm UTC](https://psychtoolbox.discourse.group/t/cannot-update-or-download-ptb-problem-with-subversion-client/224 "2015-08-25T16:29:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![philko78](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@philko78](https://psychtoolbox.discourse.group/u/philko78)\
**Post date:** [August 25, 2015, 4:29pm UTC](https://psychtoolbox.discourse.group/t/cannot-update-or-download-ptb-problem-with-subversion-client/224/1 "2015-08-25T16:29:59Z")

</div>

Dear colleagues -&nbsp;

I am having trouble using the 'UpdatePsychtoolbox' and 'DownloadPsychtoolbox' scripts. The error that I get is:

About to update your working copy of the OpenGL-based Psychtoolbox-3.

Will execute the following update command:

/usr/bin/svn update &nbsp;"/Applications/Psychtoolbox"

svn: E200002: /Users/pk/.subversion/servers:113: Option expected

Sorry. The update command failed:

For reason, see output above.

Error using UpdatePsychtoolbox (line 177)

Update failed.

There appears to be some issue with the subversion client.&nbsp;I browsed postings in the PTB group for similar problems, and tried a few things, including re-installing Xcode with command line tools, and re-installing the subversion client with Homebrew.

Now I get a similar error when I open the Terminal window and type:

\>\> svn --version

(This happened after I re-installed Xcode, and continued after I re-installed the subversion client with Homebrew.)

Any other suggestions? Thank you in advance.

---

<div class="post-metadata">

**Author:** ![dfencsik](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@dfencsik](https://psychtoolbox.discourse.group/u/dfencsik)\
**Post date:** [August 25, 2015, 4:54pm UTC](https://psychtoolbox.discourse.group/t/cannot-update-or-download-ptb-problem-with-subversion-client/224/2 "2015-08-25T16:54:42Z")

</div>

It looks like an error in a subversion configuration file. The relevant error line is:
  

 svn: E200002: /Users/pk/.subversion/servers:113: Option expected  

  

If you intentionally changed subversion's server settings, then you should look at line 113 in /Users/pk/.subversion/servers. If not, then open a Terminal window and type the following commands:

  

> 

\> mv .subversion/servers .subversion/servers-old

\> svn --version

  
 

The first line moves the problematic config file out of the way, and the second line creates a new config file.

  

Best,

David
  

> On Tue, Aug 25, 2015 at 9:29 AM, [p.ko@...](mailto:p.ko@...) [PSYCHTOOLBOX] \<[PSYCHTOOLBOX@yahoogroups.com](mailto:PSYCHTOOLBOX@yahoogroups.com)\> wrote:  
> 
> > Dear colleagues -
> > 
> > I am having trouble using the 'UpdatePsychtoolbox' and 'DownloadPsychtoolbox' scripts. The error that I get is:
> > 
> > About to update your working copy of the OpenGL-based Psychtoolbox-3.
> > 
> > Will execute the following update command:
> > 
> > /usr/bin/svn update "/Applications/Psychtoolbox"
> > 
> > svn: E200002: /Users/pk/.subversion/servers:113: Option expected
> > 
> > Sorry. The update command failed:
> > 
> > For reason, see output above.
> > 
> > Error using UpdatePsychtoolbox (line 177)
> > 
> > Update failed.
> > 
> > There appears to be some issue with the subversion client. I browsed postings in the PTB group for similar problems, and tried a few things, including re-installing Xcode with command line tools, and re-installing the subversion client with Homebrew.
> > 
> > Now I get a similar error when I open the Terminal window and type:
> > 
> > \>\> svn --version
> > 
> > (This happened after I re-installed Xcode, and continued after I re-installed the subversion client with Homebrew.)
> > 
> > Any other suggestions? Thank you in advance.
