[visionegg] Re: [visionegg]

  • From: "Dave Bissig" <dbissig@xxxxxxxxx>
  • To: visionegg@xxxxxxxxxxxxx
  • Date: Sat, 15 Dec 2007 02:13:09 -0500

In display_dc_restoration.py,

The error arises (@line 62) with screen = ... in
#**#######################
for bpp in bpps:
    success = False
    for size in sizes:
        print 'trying to initialize fullscreen %d x %d, %d bpp'%(
            size[0], size[1], bpp)
        try:
            screen = VisionEgg.Core.Screen( size          = size,
                                            fullscreen    = True,
                                            preferred_bpp = bpp,
                                            maxpriority   = False,
                                            hide_mouse    = True,
                                            sync_swap     = True,
                                            )
#**######################



In grating.py,

The error arises (@line 19) with screen = ... in

#**######################
screen = get_default_screen()
#**######################

Hope this helps.

-Dave Bissig


On 12/14/07, Andrew Straw <astraw@xxxxxxxxxxx> wrote:
>
> Hi Dave,
>
> This is hard to debug, but it looks like there's an incompatibility
> between some of the modules you've installed.  In an attempt to narrow
> it down, could you try putting print statements in your script to see at
> what command it crashes? Typically, I've seen these most often when the
> version of Numeric used is different than the version that PyOpenGL was
> compiled with.
>
> As far as py2exe -- I haven't used it in a long time, but it did work...
>
> Dave Bissig wrote:
> >
> > Hi,
> >
> > I haven't been able to get VisionEgg to work.
> >
> > It doesn't seem to be a simple installation problem...
> > (About a year ago, I got everything to work on a couple of computers
> > following your download/install instrux).
> > here's the output from check-config.py :
> >
> > ###################################
> > Version checklist:
> >
> > Python version 2.4.4 <OK>
> > extra Python info: <#71, Oct 18, 2006, 08:34:43> [MSC v.1310 32 bit
> > <Intel>]
> > Numeric version 24.2 <OK>
> > PyOpenGL <package "OpenGL"> version 2.0.2.01 <http://2.0.2.01> <OK>
> > pygame version 1.7.1release <OK>
> > Python Imaging Library <package "image"> version 1.1.6 <OK>
> >
> > Optional module<s>:
> >
> > Pyro failed
> > winioport failed
> > ###################################
> >
> > So, suppose I try to run display_dc_restoration.py.
> > It doesn't work, and I get the following error message:
> >
> > ###################################
> > trying to initialize fullscreen 640 x 480, 32 bpp
> > No handlers could be found for logger "VisionEgg.Core"
> > Fatal Python error: <pygame parachute> Segmentation Fault
> >
> > This application has requested the Runtime to terminate it in an
> > unusual way.
> > Please contact the application's support team for more information.
> > ###################################
> >
> > If I try to tun e.g. grating.py, the Vision Egg - Graphics
> > configuation window comes up,
> > and upon hitting ok (after either leaving the default values
> > everywhere, or playing with those a bit),
> > the program closes, leaving the error message:
> >
> > ###################################
> > Fatal Python error: <pygame parachute> Segmentation Fault
> >
> > This application has requested the Runtime to terminate it in an
> > unusual way.
> > Please contact the application's support team for more information.
> > ###################################
> >
> > (flames_pygame.py works fine, btw).
> >
> > I've gotten the same type of error, even after trying a fresh
> > download/install on a different computer,
> > and trying older and newer versions of everything.
> > ...kind of baffling, since I have working copies sitting around on
> > other PCs.
> >
> > Thoughts on what I'm doing wrong?
> >
> > PS
> >
> > Can you give some more detailed info on how to rig things up for using
> > py2exe?
> >
> > -Dave Bissig
> >
>
> ======================================
> The Vision Egg mailing list
> Archives: //www.freelists.org/archives/visionegg
> Website: http://www.visionegg.org/mailinglist.html
>

Other related posts: