← Back to team overview

gasp-dev team mailing list archive

[Question #84704]: end_graphics() fails to close window

 

New question #84704 on GASP Core:
https://answers.launchpad.net/gasp-core/+question/84704

My environment:
Python 2.6
Ubuntu 9.04 (GNOME 2.26.1)
gasp version (whichever version is from apt-get install python-gasp)

Am following the very beginning docs at http://www.openbookproject.net/pybiblio/gasp/course/G-gasp.html in the interpreter:

start_graphics() opens a window fine, however end_graphics() doesn't appear to do anything. Nor can I click the close button on the top right of the window or right click > close in the panel. The window does close during garbage collection (quit()), however.

Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) 
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gasp import *
>>> begin_graphics(width=800, height=600, title="My Game", background=color.YELLOW)
>>> end_graphics()
>>> quit()

Is there any way to run diagnostics to see why the window isn't closing?

-- 
You received this question notification because you are a member of GASP
Development Team, which is an answer contact for GASP Core.