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. 
-- 
View this message in context: 
http://old.nabble.com/Python-error%3A-GC-object-already-tracked-tp30702737p30702737.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to