Fatal Error?

Ben Wolfson wolfson at midway.uchicago.edu
Thu Jan 4 23:35:52 EST 2001


There seems to be a bug in in binascii.b2a_base64, at least in
threaded environments.

When I reach the code

    data = StringIO.StringIO()
    fn = getname(file)
    print 'preparing %s' % fn
    mimetools.encode(file, data, 'base64')
    print 'encoded'

in one of my scripts, execution stops with the message:

"""
preparing Aphex Twin - To Cure A Weakling Child.mp3
Fatal Python error: Interpreter not initialized (version mismatch?)

abnormal program termination
"""

However, when I call the encoding from a non-threaded interpreter
session, it encodes just fine.

-- 
Barnabas T. Rumjuggler
I say, an object can move whether or not an "external (male, masculine) 
force" chooses to act upon (rape) it!
 -- David Zacuto



More information about the Python-list mailing list