Mac OS X, can't open offscreen window

Hello,

Panda3d crashes with the following traceback:

======================================================================
ERROR: setUpClass (__main__.TestCalibration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_calibration.py", line 43, in setUpClass
    cls.w = World(manual, 'config_test.py')
  File "/Users/maria/panda3d/buffalo_lab/calibrate/calibration.py", line 114, in __init__
    self.base = ShowBase()
  File "/Developer/Panda3D/direct/showbase/ShowBase.py", line 265, in __init__
    self.openDefaultWindow(startDirect = False, props=props)
  File "/Developer/Panda3D/direct/showbase/ShowBase.py", line 909, in openDefaultWindow
    self.openMainWindow(*args, **kw)
  File "/Developer/Panda3D/direct/showbase/ShowBase.py", line 945, in openMainWindow
    self.openWindow(*args, **kw)
  File "/Developer/Panda3D/direct/showbase/ShowBase.py", line 694, in openWindow
    raise StandardError, 'Could not open window.'
StandardError: Could not open window.

----------------------------------------------------------------------

The only remarkable thing I am doing is opening an offscreen window:
loadPrcFileData("", “window-type offscreen”)

This code runs fine on Windows. Any ideas? Do others have this problem or is it just me? On both Windows and Mac I am using 1.9.0 SDK.

thanks,
Maria

Unfortunately, Apple has decided to deprecate and remove support for PBuffers in their Cooca API. This means that (unless I missed something important) it’s not possible to create an offscreen buffer without first opening a window.

Well, that’s a bummer. Thanks for the heads up.

~maria