Python error: GC object already tracked

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jadeite100
    New Member
    • Mar 2007
    • 7

    Python error: GC object already tracked

    Hi:

    In the UT web site it says we're suppose to use Python 2.52:
    http://www.cdf.utoront o.ca/~csc148h/winter/python.shtml
    I am currently using Windows XP SP3 in my laptop.

    When I ran the following code in my home computer I get the following exception after the highlighted line in yellow:
    >>> import media
    >>> f = media.choose_fi le()
    >>> pic = media.load_pict ure(f)
    >>> Fatal Python error: GC object already tracked

    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.

    I checked the UT labs and they're using also Python 2.52.
    I downloaded and install the following libraries:

    ?Python Imaging Library (PIL)
    ?pygame
    ?numpy
    ?PyGraphics 2

    Am I missing something on my laptop to get the above error? How can I tell which software above is install? Maybe I am missing some software?
    At the UT lab I was able to run the following successfully and see the picture:
    >>> import media
    >>> f = media.choose_fi le()
    >>> pic = media.load_pict ure(f)
    >>> medial.show(pic )


    Has anybody managed to get the following code working in Windows XP SP3:
    >>> import media
    >>> f = media.choose_fi le()
    >>> pic = media.load_pict ure(f)
    >>> media.show(pic)

    Yours,

    Frustrated.
Working...