My solution works,
BUT: Fedex does not work now for addresses with "ä, ö and ü".
Can someone help me on that?
Thaks for input!
ionic
On Wed, 2011-08-10 at 11:37 +0200, ionic drive wrote:
> I have fixed the issue now with the following method:
>
> in /usr/lib/python2.6/ssl.py
>
> line 175 --: v = self._sslobj.write(data)
> line 175 ++: v = self._sslobj.write(data.encode("utf-8"))
>
> I have tried it and it works.
> BUT, does anybody of you professionals know if this will lead somewhere
> else to troubles, or does this solution satisfy all needs?
>
> Or should i fix this in a totally different way?
>
> Thanks for your answers!
> ionic
>
>
> On Wed, 2011-08-10 at 07:56 +0200, ionic drive wrote:
> > hello friends,
> >
> > in checkout i do get an internal server error 500.
> >
> > the last 2 lines of traceback:
> > ------------------------------
> > File "/usr/lib/python2.6/ssl.py", line 95, in <lambda>
> > self.send = lambda data, flags=0: SSLSocket.send(self, data, flags)
> >
> > File "/usr/lib/python2.6/ssl.py", line 175, in send
> > v = self._sslobj.write(data)
> >
> > Error:
> > -----
> > UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in
> > position 641: ordinal not in range(128)
> >
> > Reason:
> > ------
> > If the user has an "ä,ö or ü" in the address, than this error occurs.
> >
> > As you can see in the traceback, SSL is activated.
> > What is the proper way to solve this issue?
> >
> > Thanks a lot!
> > ionic
> >
> >
> >
>
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.