PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08 Sep 2017 01:41 PM by  John Meyer
Image(): Failure to acquire window rendering context
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

SoulYell



New Member


Posts:32
New Member


--
25 Jan 2016 11:44 PM
    I am using Linux Debian and IDL 8.4. Recently I used a Samsung TV Set as my monitor. I encountered this issue here: When I call IMAGE() to show an image picture, inside IDLDE, it will print out the following error message and hang: % IDLITWINDOW::ONEXPOSE: Failure to acquire window rendering context. % Unable to acquire device context. Can someone tell me how to deal with this?

    David Starbuck



    Basic Member


    Posts:133
    Basic Member


    --
    27 Jan 2016 01:04 PM
    I found an old article that discusses this error: http://www.exelisvis.com/Support/Help... It look this error usually occurs when using Software rendering and IDLDE. If you switch from software rendering to hareware rendering (Window > Preferences > IDL > Graphics), does the error still occur? If switching to hardware rendering doesn't help with the problem, then the workaround might be to use command-line IDL instead of the IDL workbench to use the IDL Function Graphics.

    John Meyer



    New Member


    Posts:6
    New Member


    --
    08 Sep 2017 01:39 PM
    I was receiving a similar error when trying to use PLOT in the Workbench.

    % Compiled module: PLOTAXY.
    % IDLITWINDOW::ONEXPOSE: Unable to acquire device context.
    % Unable to acquire device context.
    % Execution halted at: PLOTAXY 5 Z:\adit\PhD_Research\Data\Data_to_use_for_testing\ENVI_Data\Default\plotaxy.pro
    % $MAIN$

    Interestingly, when I followed the above, 'hardware' was already selected. I switched it to 'software' and now my plots are working.

    John

    John Meyer



    New Member


    Posts:6
    New Member


    --
    08 Sep 2017 01:41 PM
    Sorry, I forgot to mention that I am running IDL on a Windows 10 machine.
    You are not authorized to post a reply.


    MOST RECENT

    Extract Actionable Information with Advanced ENVI Image Analytics on GBDX | Live Webinar

    3/13/2018

    Live Webinar hosted by DigitalGlobe | April 5 ENVI analytics are available directly within... more »

    ENVI Crop Science | DEMO

    3/13/2018

    Watch this video for a demonstration of ENVI Crop Science and learn about the features available in the... more »

    SIGN UP & STAY INFORMED

    Sign up to receive the latest news, events, technologies and special offers.

    SIGN ME UP