← Back to team overview

gasp-dev team mailing list archive

[Question #96846]: GASP not working properly on Windows

 

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

I was having the same problem as another user who got the glib...gerror message. So I tried running the installer as the answer to that user suggested. When I ran the installer under Vista, it would give me 3 errors during installation. "Could not create: gasp-py2.6"; "Could not set key value: Python 2.6 gasp-0.3.2"; and "C:\Python26\Removegasp.ext" -u "C:\Python26\gasp-wininst.log". After a while, I tried running the installer with admin privileges and it didn't give me those error messages.

However, now when I try to run a simple program using GASP, I get an endless sequence of console errors and efforts to open a window and the window closes. Here is the text of the script I was trying to run:

from gasp import *

begin_graphics()

Line((200,100),(100,300))

update_when('key_pressed')

end_graphics()

I'm wondering if the problem with not getting GASP to work has to do with gtk+. I'm guessing that because the instructions for installing gasp said this:

BEGIN QUOTE:
3. Microsoft Windows

There is an .EXE installer for GASP which can be downloaded from launchpad.net. In order for GASP to work, you must install the following packages first:
PyGTK
PyCairo
PyGObject
GTK+

END QUOTE

Now, PyGTK, PyCairo, and PyGObject all have installers that are .exe and ran without issue on my system. The GTK+ didn't have that kind of installer. Not knowing which gtk+ to download, I downloaded the 23mb bundle with everything and followed the readme instructions to:

Then add the bin folder to your PATH. Make sure you have no other
versions of GTK+ in PATH. Run:
    pkg-config --cflags gtk+-2.0
and verify that it prints out something reasonable. Run:
    gtk-demo
and verify that it works.

The gtk-demo works fine on my system. The path only has one reference to the bin folder of GTK+.  I'm not sure what else could be preventing GASP from working.  My thoughts are that I didn't properly install the GTK+.

Any ideas?

Also, I think it would be helpful to know what the first error messages are that come up on the console.  However, the console only displays so much and I can never catch the scroll bar quick enough to see the first few messages.

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