Error updating Psychtoolbox with command line

Hi,

I get an error when trying to update the PsychToolbox using the Matlab console. Information about the issue can be found below. Anyone has an idea on how to fix this?

PTB version: ‘3.0.18 - Flavor: Manual Install, 23-dec-2021 10:01:16’
Platform: MacOS 12.3.1
Matlab version: R2022a

>> UpdatePsychtoolbox
UpdatePsychtoolbox('/Users/benjaminvolpe/Library/Application Support/MathWorks/MATLAB Add-Ons/Collections/Psychtoolbox-3/Psychtoolbox') 

The targetdirectory spec contains white-space. This should work, but has not been tested extensively.
Updating via Matlabs integrated SVNKit: This can take multiple minutes.
There may be no output to this window to indicate progress until the update is complete.
Please be patient ...
Error using UpdatePsychtoolbox
Java exception occurred:
org.tmatesoft.svn.core.SVNException: svn: E155007: None of the targets are working copies
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:70)
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:57)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:54)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:18)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
	at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
	at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1239)
	at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
	at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:311)
	at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:291)
	at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:387)
 

The error seems to suggest that psychtoolbox wasn’t installed through
SVN, and thus svn can’t be used to update it. Please reinstall PTB
instead of update, using the install script, and then hopefully it’ll
work next time.

1 Like