[Tutor] Re: [wxPython-users] Re: Error Fedora Code 1 and CPickle

Mike Wagman mwagman at charter.net
Fri Apr 16 11:14:29 EDT 2004


Still getting the same error. Tried upgrading the pthon and
python-developers on Fedora - no help. 

I keep getting Failed to load PyunicodeUCS_EncodeUTF8 - even with the
change. 

It seems to only happen with code that uses cPickle.

On Fri, 2004-04-16 at 09:05, Chris Green wrote:
> Mike Wagman <mwagman at charter.net> writes:
> 
> > 	I'm getting an error in Cpickle using Fedora Code 1. Something about a
> > bad unicode ASUTF8St5ring. Specifically I am using cx_freeze on code
> > that import cPickle.
> >
> > 	I'm run into some reference to this problem before - but have not found
> > a solution. Has anyone run into this - and if so what is the
> > solution.
> 
> I think that is related to the codecs functionality.  I ran into a
> similar problem when trying to use 4suite + wxPython.  I traced it
> down to the codecs module trying to dynamically __import__ the utf-8
> charset.
> 
> To get cx_Freeze to pick it up, I added a kludge:
> 
>   import encodings.utf_8
> 
> to my main module.  This works well enough since utf_8 is the only
> thing I support.




More information about the Tutor mailing list