Python

Moderators: None (Apply to moderate this forum)
Number of threads: 474
Number of posts: 1166

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Fatal Python error: GC object already tracked Posted by jadeite100 on 18 Jan 2011 at 11:19 AM
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.
Thread Tree
jadeite100 Fatal Python error: GC object already tracked on 18 Jan 2011 at 11:19 AM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.