cant open window

cant open window
Hello-

I am wondering if someone might be able to help.  I  am trying to open a window, and every time my computer comes up to a blank screen.  I am unable to type in the command window, even though it should be active in the background.  Anyway, to diagnose the problem, we hooked up a 2nd monitor and ran the following code:


% Test program so my window doesnt disappear
 
try
    w=Screen('Openwindow', 1);
    Screen('Close',w)
   
catch
    Screen(
'CloseAll')
    rethrow(lasterror)
   
end


The screen on the external monitor went blank, and we received the following error in the command window:


INTERNAL PSYCHTOOLBOX ERROR
     >error:                PsychError_internal
       general description:  Unspecified error, probably a Psychtoolbox bug
    specific description: Unrecognized window type
  module name:          Screen
    subfunction call:     CloseAll
  file name:            /Users/kleinerm/projects/Psychtoolbox/trunk/PsychSourceGL/Source/Comm >on/Screen/PsychWindowSupport.c
       function name:        PsychCloseWindow
  line number:          743
??? (null)

Error in ==> seminar_PTB_2 at 14
    Screen('CloseAll')


Any ideas?  I am running the 1.0.6 Beta version of PTB, but this also occurred in the stable version.  My MatLab version is: 7.2and my OSX is:10.4.6

Thank you in advance for your comments/help.

Joe

>---------------------------------------------------------------------------------------------
Joseph Carroll, Ph.D.
The Medical College of Wisconsin
Department of Ophthalmology
925 North 87th Street
Milwaukee, WI 53226-4812

Phone:  (414) 456-2052
FAX:  (414) 456-6690
E-mail:  jcarroll@...

http://www.mcw.edu/ophthalmology/faculty/jcarroll.htm
>---------------------------------------------------------------------------------------------