crash with fullscreen mode on mac OS X lion

147 views
Skip to first unread message

Martin Batholdy

unread,
Aug 10, 2012, 8:49:17 PM8/10/12
to psychop...@googlegroups.com
Hi,


I get the following error messages when I try to start an experiment in fullscreen:


CarbonException: 'invalid fullscreen drawable'

function __init__ in visual.py at line 292
elif self.winType == "pyglet":
self._setupPyglet()

function _setupPyglet in visual.py at line 889
style=style

function __init__ in __init__.py at line 686
self._create()

function _create in __init__.py at line 549
_aglcheck()

function _aglcheck in __init__.py at line 1365
raise
CarbonException(cast(agl.aglErrorString(err),
c_char_p).value)


I use Python 2.6.6 (EPD 6.3-2 -32bit) on Mac OS X mountain lion.
In window mode everything works fine.


thanks for any help!



Jeremy Gray

unread,
Oct 24, 2012, 9:28:33 AM10/24/12
to psychop...@googlegroups.com
I get a similar message, but only intermittently. This is with EPD
python 2.7, Mac OS 10.8.2. Carbon is deprecated on 10.8

v1.75.01
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 313, in 'calling callback function'
File "/Library/Frameworks/Python.framework/Versions/7.0/lib/python2.7/site-packages/pyglet/window/carbon/__init__.py",
line 1294, in _on_window_bounds_change
self._update_drawable()
File "/Library/Frameworks/Python.framework/Versions/7.0/lib/python2.7/site-packages/pyglet/window/carbon/__init__.py",
line 890, in _update_drawable
_aglcheck()
File "/Library/Frameworks/Python.framework/Versions/7.0/lib/python2.7/site-packages/pyglet/window/carbon/__init__.py",
line 1365, in _aglcheck
raise CarbonException(cast(agl.aglErrorString(err), c_char_p).value)
pyglet.window.carbon.CarbonException: invalid drawable

When it decides to go bad, my screen is compressed vertically with
black top and bottom edges, and the visual display is like (0, 0) is
shifted up and right.

Drawing DotStim with a fieldmask='circle' seems to cause problems, but
its hard to track down since it seems to come and go with a mind of
its own.

--Jeremy
> --
> You received this message because you are subscribed to the Google Groups "psychopy-users" group.
> To post to this group, send email to psychop...@googlegroups.com.
> To unsubscribe from this group, send email to psychopy-user...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
Reply all
Reply to author
Forward
0 new messages