Installing Psychtoolbox failure

I am trying to install Psychtoolbox but it seems to fail. The message reads ‘FILEATTRIB failed. Psychtoolbox will still work properly for you and other users […]. You can now use your newly installed ‘beta’-flavor Psychtoolbox.’
However, when I searched for relevant folders that should be installed in my computer (‘psychtool’) I got nothing.

we need more details, whats the context of that error message?
Are you installing in a location that you have write access to? If not, chose another location. Thats my first guess

I made another attempt that went a little better, but still doesn’t work. According to the message, there is some synchronization failure.

The (whole) message I get now is the following:

Psychtoolbox_installer

DownloadPsychtoolbox(‘C:\Users\chsi\Desktop\Research\UAud\Autumn-Winter_2021-22\Matlab_UAud_App\Study_protocol\Cognitive_testing\Digit_Span’,‘beta’,‘’, 0, 0)

Requested flavor is: beta

Requested location for the Psychtoolbox folder is inside: C:\Users\chsi\Desktop\Research\UAud\Autumn-Winter_2021-22\Matlab_UAud_App\Study_protocol\Cognitive_testing\Digit_Span

Using optimal client for subversion checkout.

Good. Your privileges suffice for the requested installation into folder C:\Users\chsi\Desktop\Research\UAud\Autumn-Winter_2021-22\Matlab_UAud_App\Study_protocol\Cognitive_testing\Digit_Span.

I will now download the latest Psychtoolbox for Windows.

Requested flavor is: beta

Target folder for installation: C:\Users\chsi\Desktop\Research\UAud\Autumn-Winter_2021-22\Matlab_UAud_App\Study_protocol\Cognitive_testing\Digit_Span

Downloading via Matlabs integrated SVNKit: This can take multiple minutes.

There may be no output to this window to indicate progress until the download is complete.

Please be patient …

Download of SVN revision 12781 succeeded!

Now adding the new Psychtoolbox folder (and all its subfolders) to your MATLAB / OCTAVE path.

Success.

Now setting permissions to allow everyone to write to the Psychtoolbox folder. This will

allow future updates by every user on this machine without requiring administrator privileges.

Success.

You can now use your newly installed ‘beta’-flavor Psychtoolbox. Enjoy!

Whenever you want to upgrade your Psychtoolbox to the latest ‘beta’ version, just

run the UpdatePsychtoolbox script.

Running post-install routine…

Creating a startup.m file for Psychtoolbox at C:\Users\chsi\Desktop\Research\UAud\Autumn-Winter_2021-22\Matlab_UAud_App\Study_protocol\Cognitive_testing\Digit_Span\Psychtoolbox\PsychInitialize\startup.m

PsychStartup: Adding path of installed GStreamer runtime to library path. [C:\gstreamer\1.0\msvc_x86_64\bin]

Matlab release 2014b or later detected. Will prepend the following

folder to your Matlab path: C:\Users\chsi\Desktop\Research\UAud\Autumn-Winter_2021-22\Matlab_UAud_App\Study_protocol\Cognitive_testing\Digit_Span\Psychtoolbox\PsychBasic\MatlabWindowsFilesR2007a\ …

*** Matlab’s Static Java classpath definition file modified. You will have to restart Matlab to enable use of the new Java components. ***

Press RETURN or ENTER to confirm you read and understood the above message.

PTB-INFO: Multi-display setup in explicit multi-display mode detected. Using the following mapping:

PTB-INFO: Screen 0 corresponds to the full Windows desktop area. Useful for stereo presentations in stereomode=4 …

PTB-INFO: Screen 1 corresponds to the display area of the monitor with the Windows-internal name \.\DISPLAY2 …

PTB-INFO: Screen 2 corresponds to the display area of the monitor with the Windows-internal name \.\DISPLAY3 …

PTB-INFO: Your version of Matlab 64-Bit is global system DPI aware. On Windows-8 or later, fullscreen onscreen windows will only work

PTB-INFO: properly timing-wise when displayed on displays with the same pixel density as your systems primary display monitor.

PTB-INFO: For your multi-display setup the stimulus display monitor must have a DPI of (96, 96), matching that of

PTB-INFO: your primary display monitor. Ideally you will only display on the primary display in the first place.

PTB-INFO: Displaying on anything with a different DPI will cause mysterious visual timing problems, sync failures etc.

PTB-INFO: Read ‘help RetinaDisplay’ for more info on this topic.

Trying to trigger an update of the fontconfig cache if that should prove neccessary.

This may take a couple of seconds, or sometimes even minutes. Please be patient…

----- ! PTB - ERROR: SYNCHRONIZATION FAILURE ! -----

One or more internal checks (see Warnings above) indicate that synchronization

of Psychtoolbox to the vertical retrace (VBL) is not working on your setup.

This will seriously impair proper stimulus presentation and stimulus presentation timing!

Please read ‘help SyncTrouble’ for information about how to solve or work-around the problem.

You can force Psychtoolbox to continue, despite the severe problems, by adding the command

Screen(‘Preference’, ‘SkipSyncTests’, 1); at the top of your script, if you really know what you are doing.

Warning: Something went wrong with high-quality text renderer setup. Read ‘help DrawTextPlugin’ for troubleshooting.

In PsychtoolboxPostInstallRoutine (line 705)

In Psychtoolbox_installer (line 785)

Press Return key to continue.

Done with post-installation. Psychtoolbox is ready for use.

GENERAL LICENSING CONDITIONS AND TERMS OF USE:


Almost all of the material contained in the Psychtoolbox-3 distribution

is free-software and/or open-source software under a OSI (http://www.opensource.org/)

approved license. Most material is covered by the MIT license or a MIT compatible license.

A few internal libraries and components are covered by other free software

licenses which we understand to be compatible with the MIT license, e.g., the GNU LGPL

license, or BSD and Apache-2.0 licenses, or they are in the public domain.

3rd-party components which are freely useable and redistributable for non-commercial

research use, due to the authors permissions, but are not neccessarily free / open-source

software, can be found in the “PsychContributed” subfolder of the Psychtoolbox distribution,

accompanied by their respective licenses.

A few components are licensed under the GNU GPL v2 license with a special linking

exception for use with Mathworks proprietary Matlab application. A very few components,

e.g., the PsychCV() function are currently covered by the standard GPL v2 license and

cannot be used with Matlab. These are only available for use with GNU/Octave.

Please read the license text and copyright info in the Psychtoolbox file

License.txt carefully before you use or redistribute Psychtoolbox-3.

Use of Psychtoolbox-3 components implies that you have read, understood and accepted

the licensing conditions.

However, in a nutshell, if you just use Psychtoolbox for your research, our licenses

don’t restrict you in any practically relevant way. Commercial users, developers or

redistributors should make sure they understood the licenses for the components they use.

If in doubt, contact one of the Psychtoolbox developers, or the original authors of the

components you want to use, modify, merge or redistribute with other software.

Your standard Psychtoolbox distribution comes without the source code for

the binary plugins (the MEX files). If you want to access the corresponding

source code, please type “help UseTheSource” for specific download instructions.

BEGINNERS READ THIS:


If you are new to the Psychtoolbox, you might try this:

help Psychtoolbox

Psychtoolbox website, which also links to a tutorial for basic use cases:

web http://www.psychtoolbox.org -browser

Please make sure that you have a look at the detailed ECVP 2013 tutorial slides

in the PDF file PTBTutorial-ECVP2013.pdf

in the Psychtoolbox/PsychDocumentation subfolder for an overview of differences

between Psychtoolbox-2 and Psychtoolbox-3 and proper use of basic features. That

folder contains various additional helpful information for use of Psychtoolbox.

Please also familiarize yourself with the demos contained in the PsychDemos subfolder

and its subfolders. They show best practices for many common tasks and are generally

well documented.

IMPORTANT NEWS:

You can now financially contribute to Psychtoolbox sustainability, upkeep and continued

improvement by buying a community membership, which also includes some paid support

for questions regarding its use, or issues you may have with it. We also offer paid

feature development and other useful commercial services.

Please type ‘PsychPaidSupportAndServices’ to learn more.

Enjoy!

Press RETURN or ENTER to confirm you read and understood the above message.

your install was successful. read help SyncTrouble or search on the forum as the message suggests

1 Like

Indeed. That sync failure was a false alert. I’ve just improved the code to deal with this better from now on.

You may want to run UpdatePsychtoolbox to update to that fixed release and to make sure the step of rebuilding the fontconfig cache actually executes instead of failing due to false alert.

-mario