Fatal Python error: GC object already tracked - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Fatal Python error: GC object already tracked

jadeite100jadeite100 Posts: 13Member
Hi:

In the UT web site it says we're suppose to use Python 2.52:
http://www.cdf.utoronto.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_file()
>>> pic = media.load_picture(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_file()
>>> pic = media.load_picture(f)
>>> medial.show(pic)


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

Yours,

Frustrated.
Sign In or Register to comment.