Download Psychtoolbox without internet connection

15 views (last 30 days)
I am trying to download psychtoolbox onto a machine that is not connected to the internet and I keep running into the below errors. I have psychtoolbox on a few machines that are connected to the internet and have not had these problems. Do I need to be connected for the download to work or is there a workaround since I cannot connect it to the internet
(I know that I am downloading an old version I am using windows XP, and MatLab 2015 32 bit)
Error using DownloadPsychtoolbox>svndownload (line 798)
Java exception occurred:
org.tmatesoft.svn.core.SVNException: svn: E175002: unknown host
svn: E175002: OPTIONS request failed on '/Psychtoolbox-3/Psychtoolbox-3/branches/Psychtoolbox-3.0.10/Psychtoolbox'
Error in DownloadPsychtoolbox (line 711)
svndownload(targetRevision, dflavor, p, downloadmethod);
798 revactual = svn_client.doCheckout(url, java.io.File(p), org.tmatesoft.svn.core.wc.SVNRevision.UNDEFINED, revision, org.tmatesoft.svn.core.SVNDepth.INFINITY, true);
  5 Comments
Jan
Jan on 28 Mar 2022
@Geoff Hayes: This seems to be the solution. Please post it as an answer.
Dax Cvancara
Dax Cvancara on 6 Jun 2022
@Sophie Dawn Blankenheim I am attempting to complete the same task with the same setup (windows and MatLab R2015 32 bit) and would really appreciate any insight that you may have learned from the process. Feel free to reach out to me at djcvan@uw.edu.

Sign in to comment.

Answers (1)

Shreshth
Shreshth on 24 Nov 2023
Hello Sophie,
I understand that the errors you're encountering indicate that the machine is trying to reach an external SVN repository to download Psychtoolbox, but it cannot connect to the host because the machine is not connected to the internet. The SVN (Subversion) error E175002 is a network error that typically occurs when the SVN client cannot reach the server.
To install Psychtoolbox on a machine without internet access, you will need to use an alternative method that involves manually transferring the necessary files. Here are a few ways using which you can achieve your task:
1. Copy Psychtoolbox from Another Computer:
If you have Psychtoolbox already installed on another machine, you can simply copy the entire Psychtoolbox folder to the offline machine. After copying the folder, do the following:
- Start MATLAB or Octave on the offline machine.
- Change the working directory to the copied Psychtoolbox folder using the `cd` command.
- Run the `SetupPsychtoolbox` script by typing `SetupPsychtoolbox` in the MATLAB or Octave command window. This script will configure the copied Psychtoolbox for use with MATLAB or Octave on the new machine.
2. Download ZIP File:
If you cannot use SVN to download Psychtoolbox, you can download the ZIP file of the entire project from a machine with internet access. After downloading, do the following:
- Extract the ZIP file to a folder.
- Transfer this folder to the offline machine using a USB drive or other storage media.
- Start MATLAB or Octave on the offline machine.
- Change the working directory to the Psychtoolbox folder within the extracted ZIP folder.
- Run the `SetupPsychtoolbox` script as described above.
3. Install Required Dependencies:
Before running `SetupPsychtoolbox`, make sure to install any required dependencies such as GStreamer or other packages, and perform any necessary operating system or MATLAB/Octave configuration steps as mentioned in the Psychtoolbox installation guide.
4. Verify Installation:
After running `SetupPsychtoolbox`, you can verify the installation by executing Psychtoolbox commands or running example scripts to ensure everything is set up correctly.
By following these instructions, you should be able to install Psychtoolbox on a Windows XP machine with MATLAB 2015 32-bit without an internet connection. Remember to address any additional dependencies that Psychtoolbox might require and ensure they are also installed on the offline machine.
Please refer to the link below for reference on installing Psychtoolbox:
Thank you,
Shubham Shreshth.

Products


Release

R2015a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!