Experiment won't open on a computer with no internet connection

Hi!

We are trying to run a PsychoPy task using a standalone version. For several reasons, we cannot connect internet to the computer that we are working with. PsychoPy program opens just fine, but when we try to run a task, it crashes with the message that I copied below. It looks like the problem might be that the computer has no internet connection, but when we try to run the same task on a different computer without internet connection, it works fine. So the problem must be somwhere else.

Could anyone please help us understand how to solve this problem? Here is the error message that we get:

93.6825 WARNING Couldn’t connect to psychopy.org
Check internet settings (and proxy setting in PsychoPy Preferences.
391.6528 INFO Loaded monitor calibration from [‘2024_02_26 11:42’]
Generating PsychoPy script…

############ Running: E:\Psychopy_uzdevumi\Oddball_task_lastrun.py #############
399.1728 INFO Loaded monitor calibration from [‘2024_02_26 11:42’]
pygame 2.1.0 (SDL 2.0.16, Python 3.8.10)
Hello from the pygame community. Contribute - pygame wiki
11.7005 WARNING User requested fullscreen with size [1024 768], but screen is actually [1280, 1024]. Using actual size
Traceback (most recent call last):
12.2113 WARNING Trying to use a framebuffer object but GL_EXT_framebuffer_object is not supported. Disabled
12.2114 WARNING Trying to use a framebuffer object but GL_ARB_texture_float is not supported. Disabling
File “E:\Psychopy_uzdevumi\Oddball_task_lastrun.py”, line 1051, in
win = setupWindow(expInfo=expInfo)
File “E:\Psychopy_uzdevumi\Oddball_task_lastrun.py”, line 160, in setupWindow
win = visual.Window(
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 616, in init
self._monitorFrameRate = self.getActualFrameRate()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 3342, in getActualFrameRate
self.showMessage(
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 3288, in showMessage
self._splashTextbox = TextBox2(
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\textbox2\textbox2.py”, line 218, in init
self.shader = alphaShader = shaders.Shader(
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\shaders.py”, line 42, in init
self.handle = GL.glCreateProgramObjectARB()
File “C:\Program Files\PsychoPy\lib\site-packages\pyglet\gl\lib_wgl.py”, line 107, in call
return self.func(*args, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\pyglet\gl\lib.py”, line 64, in MissingFunction
raise MissingFunctionException(name, requires, suggestions)
pyglet.gl.lib.MissingFunctionException: glCreateProgramObjectARB is not exported by the available OpenGL driver. ARB_shader_objects is required for this functionality.
################# Experiment ended with exit code 1 [pid:6812] #################
415.5293 INFO Loaded monitor calibration from [‘2024_02_26 11:42’]

What version of PsychoPy are you using. I think this error was fixed.

This error was on PsychoPy-2023.2.3.
I am trying to run it now, but the problem is still there. Everything works fine until I try to run a task.
Would reinstalling PsychoPy help?

Looking at our bug log, I think this was fixed in 2024 (so try the latest release). It wasn’t spotted initially because it not be a problem when Python 3.10 is used (but Python 3.8 is still recommended because of other issues with 3.10 such as the translation of nested lists into JS).

Thanks for your response! We tried downloading the latest version, but the problem is still there. Could there be any other reason for this problem?

I’m not sure if the error message is any different from before, but here it is:
11.0165 EXP Imported tones.xlsx as conditions, 5 conditions, 4 params
11.0166 WARNING Parameters not known to this version of PsychoPy have come from your experiment file: plCompanionCameraCalibration. This experiment may not run correctly in the current version.
11.0639 INFO Loaded monitor calibration from [‘2024_02_26 11:42’]
11.0972 EXP Imported tones.xlsx as conditions, 5 conditions, 4 params
11.0974 WARNING Parameters not known to this version of PsychoPy have come from your experiment file: plCompanionCameraCalibration. This experiment may not run correctly in the current version.
11.1081 INFO Loaded monitor calibration from [‘2024_02_26 11:42’]
11.1824 EXP Imported tones.xlsx as conditions, 5 conditions, 4 params
11.1826 WARNING Parameters not known to this version of PsychoPy have come from your experiment file: plCompanionCameraCalibration. This experiment may not run correctly in the current version.
Generating PsychoPy script…

I don’t know the appropriate default value for a ‘allowedKeys’ parameter. Please email the mailing list about this error
I don’t know the appropriate default value for a ‘allowedKeys’ parameter. Please email the mailing list about this error
############ Running: E:\Psychopy_uzdevumi\Oddball_task_lastrun.py #############
11.3538 WARNING Couldn’t connect to psychopy.org
Check internet settings (and proxy setting in PsychoPy Preferences.
pygame 2.1.0 (SDL 2.0.16, Python 3.8.10)
Hello from the pygame community. Contribute - pygame wiki
8.5476 WARNING User requested fullscreen with size [1024 768], but screen is actually [1280, 1024]. Using actual size
Traceback (most recent call last):
8.6500 WARNING Trying to use a framebuffer object but GL_EXT_framebuffer_object is not supported. Disabled
8.6500 WARNING Trying to use a framebuffer object but GL_ARB_texture_float is not supported. Disabling
8.7326 EXP Created window1 = Window(allowGUI=True, allowStencil=False, autoLog=True, backendConf=UNKNOWN, backgroundFit=<method-wrapper ‘getattribute’ of attributeSetter object at 0x000001DBA1B9AFA0>, backgroundImage=<method-wrapper ‘getattribute’ of attributeSetter object at 0x000001DBA1B9AF40>, bitsMode=UNKNOWN, blendMode=‘avg’, bpc=(8, 8, 8), color=array([0, 0, 0]), colorSpace=‘rgb’, depthBits=8, fullscr=<method-wrapper ‘getattribute’ of attributeSetter object at 0x000001DBA1B9AD90>, gamma=None, gammaErrorPolicy=‘raise’, infoMsg=UNKNOWN, lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x000001DBA1E920A0>, multiSample=False, name=‘window1’, numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1280, 1024]), stencilBits=0, stereo=False, title=‘PsychoPy’, units=‘height’, useFBO=False, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType=‘pyglet’)
8.7327 EXP window1: mouseVisible = True
8.7327 EXP window1: backgroundImage = ‘’
8.7327 EXP window1: backgroundFit = ‘none’
8.7330 EXP window1: mouseVisible = True
8.7332 EXP window1: mouseVisible = True
8.7362 EXP window1: mouseVisible = True
8.7375 EXP window1: mouseVisible = True
8.7493 EXP window1: mouseVisible = True
File “E:\Psychopy_uzdevumi\Oddball_task_lastrun.py”, line 1141, in
win = setupWindow(expInfo=expInfo)
File “E:\Psychopy_uzdevumi\Oddball_task_lastrun.py”, line 206, in setupWindow
win.getActualFrameRate(infoMsg=‘Attempting to measure frame rate of screen, please wait…’)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 3486, in getActualFrameRate
self.showMessage(infoMsg)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 3429, in showMessage
self._splashTextbox = TextBox2(
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\textbox2\textbox2.py”, line 217, in init
self.shader = alphaShader = shaders.Shader(
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\shaders.py”, line 42, in init
self.handle = GL.glCreateProgramObjectARB()
File “C:\Program Files\PsychoPy\lib\site-packages\pyglet\gl\lib_wgl.py”, line 107, in call
return self.func(*args, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\pyglet\gl\lib.py”, line 64, in MissingFunction
raise MissingFunctionException(name, requires, suggestions)
pyglet.gl.lib.MissingFunctionException: glCreateProgramObjectARB is not exported by the available OpenGL driver. ARB_shader_objects is required for this functionality.
################# Experiment ended with exit code 1 [pid:9124] #################