
Apparently, a pygame font is used but not found? 3.5219 ERROR Couldn't find font on the system. It does solve the issue with the GammaRamp, but it unfortunately leads to new problems:įirst, the mouse can no longer be initialzed: File "/home/usb/Dokumente/experiments/myexperiment.py", line 60, in įile "/home/usb/miniconda3/lib/python2.7/site-packages/psychopy/event.py", line 578, in _init_įile "/home/usb/miniconda3/lib/python2.7/site-packages/psychopy/event.py", line 772, in setVisibleĪttributeError: 'LP_GLFWwindow' object has no attribute 'set_mouse_visible'Ĭommenting out the mouse initialization temporarily for more debugging there is a new problem with text stimuli. I tried your suggestion and installed the glfw backend ( glfw and pyglfw on PIP). Do you have an advice how I could fix the problem? Or, how I could fix the ugly look of pygame?
#Psychopy demos driver
Is there a solution other than switching to pygame? With pygame, the text stimuli look terrible in my experiment (font, spacing and one simply disappeared).Īpparently the i915 driver is contained in the installed xf86-video-intel. On Ubuntu 18.04 with an Intel graphics chip Beschreibung: VGA compatible controllerįähigkeiten: vga_controller bus_master cap_list rom > Exception AttributeError: "'NoneType' object has no attribute 'close'" in > ignored > RuntimeError: Gamma ramp size is reported as 0. > raise RuntimeError("Gamma ramp size is reported as 0.")

> File "/home/usb/miniconda3/lib/python2.7/site-packages/psychopy/visual/backends/gamma.py", line 285, in getGammaRampSize > rampSize = getGammaRampSize(screenID, xDisplay=xDisplay)

> File "/home/usb/miniconda3/lib/python2.7/site-packages/psychopy/visual/backends/gamma.py", line 120, in getGammaRamp > return getGammaRamp(self.screenID, self.xDisplay) > File "/home/usb/miniconda3/lib/python2.7/site-packages/psychopy/visual/backends/pygletbackend.py", line 326, in getGammaRamp > self._origGammaRamp = self.getGammaRamp() > File "/home/usb/miniconda3/lib/python2.7/site-packages/psychopy/visual/backends/pygletbackend.py", line 227, in _init_ > File "/home/usb/miniconda3/lib/python2.7/site-packages/psychopy/visual/backends/_init_.py", line 32, in getBackend > self.backend = backends.getBackend(win=self, *args, **kwargs) I just came across the same problem: > File "/home/usb/miniconda3/lib/python2.7/site-packages/psychopy/visual/window.py", line 375, in _init_ I reinstalled them but the issue remains. Py2.7.egg/psychopy/monitors/MonitorCenter.py", line 817, in onCalibGammaBtnįile "/usr/local/lib/python2.7/dist-packages/PsychoPy-1.90.2-py2.7.egg/psychopy/monitors/calibTools.py",line 955, in getLumSeriesįor the Gamma Calibration the black window just hangs there and doesn’t close.Īny ideas? I read that it may be to do with my graphics card drivers. I get the following message when I try and run the Gamma Calibration from the Monitor Center: Exception AttributeError: "'NoneType' object has no attribute 'close'" in > ignored RuntimeError: Gamma ramp size is reported as 0.Įxception AttributeError: "'NoneType' object has no attribute 'close'" in > ignored Raise RuntimeError("Gamma ramp size is reported as 0.") Py2.7.egg/psychopy/visual/backends/gamma.py", line 285, in getGammaRampSize RampSize = getGammaRampSize(screenID, xDisplay=xDisplay) Py2.7.egg/psychopy/visual/backends/gamma.py", line 120, in getGammaRamp Return getGammaRamp(self.screenID, self.xDisplay) Py2.7.egg/psychopy/visual/backends/pygletbackend.py", line 326, in getGammaRamp

Self._origGammaRamp = self.getGammaRamp() Py2.7.egg/psychopy/visual/backends/pygletbackend.py", line 227, in _init_ Py2.7.egg/psychopy/visual/backends/_init_.py", line 32, in getBackend Self.backend = backends.getBackend(win=self, *args, **kwargs)

Py2.7.egg/psychopy/demos/coder/stimuli/shapes.py", line 15, in Creating a temporary one.įile "/usr/local/lib/python2.7/dist-packages/PsychoPy-1.90.2. Py2.7.egg/psychopy/demos/coder/stimuli/shapes.py #Ġ.6906 WARNING Monitor specification not found. # Running: /usr/local/lib/python2.7/dist-packages/PsychoPy-1.90.2.
#Psychopy demos windows
The ‘shapes.py’ demo briefly flashes two black windows and then I get this output: Problem compiling: Permission denied: '/usr/local/lib/python2.7/dist-packages/PsychoPy-1.90.2.
#Psychopy demos code
Using Psychopy v1.90.2 (running on Ubuntu 18.04) I am getting the following error message (below) when I attempt to run any code that involves a window (including the demos).
