[visionegg] Re: Cannot get rid of screens....

Excellent! Thanks.

I suppose I need to strengthen my knowledge of Python...

Lyle
  ----- Original Message ----- 
  From: Simeon Fitch 
  To: visionegg@xxxxxxxxxxxxx 
  Sent: Tuesday, September 27, 2005 7:59 PM
  Subject: [visionegg] Re: Cannot get rid of screens....


  Lyle:

  From what you posted below, it looks like all you are doing is dereferencing 
the method objects, not actually calling them. Try adding parens "()" at the 
end. e.g.:

  s = Screen()
  s.close()
  pygame.quit()


  Simeon


  On 9/27/05, Lyle J. Graham <lyle@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
    Dear all,

    I have a problem with VisionEgg (0.9.9) screens hanging. When I try to do 
the minimum from the Python shell, the screen remains after s.close:

      Python 2.2.1 (#34, Apr  9 2002, 19:34:33) [MSC 32 bit (Intel)] on win32
      Type "help", "copyright", "credits" or "license" for more information.
      >>> from VisionEgg.Core import *
      >>> s = Screen()
      No handlers could be found for logger "VisionEgg.Core"
      >>> s.close
      <bound method Screen.close of <VisionEgg.Core.Screen object at 
0x00B20C40>>
      >>>
    FWIW, pygame.quit does not seem to do anything:

      >>> pygame.quit
      <built-in function quit>
      >>>
    Thanks very much for any suggestions, and apologies if I am doing something 
basically wrong!


    Lyle J. Graham
    Laboratory of Neurophysics and Physiology, CNRS UMR 8119
    www.neurophys.biomedicale.univ-paris5.fr/~graham 
    UFR Biomédicale de l'Université René Descartes
    45 rue des Saint-Pères, 75006 Paris
     
    Tel: 33 1 42 86 20 92 (Secrétariat: 33 1 42 86 21 38) Fax: 33 1 49 27 90 62




  -- 
  Simeon H.K. Fitch, Owner 
  Mustard Seed Software
  1634 Brandywine Drive
  Charlottesville, VA  22901
  210.867.1616 


------------------------------------------------------------------------------


  No virus found in this incoming message.
  Checked by AVG Anti-Virus.
  Version: 7.0.344 / Virus Database: 267.11.7/112 - Release Date: 9/26/2005

Other related posts: