Hi, all. I'm running an app under mod_wsgi, on Apache 2.2 and Python 2.6 on windows (at present). The app ran fine previously under paster.
In it, I have a custom encoding called "easyascii" which I use in various places. In my app.wsgi, I did a quick test to make sure that in it, this encoding is properly registered and works. I.e., codecs.lookup("easyascii") works without error. However, in the application code later on at some point, this is thrown in my apache errors log: [Mon May 24 10:46:02 2010] [error] Traceback (most recent call last): [Mon May 24 10:46:02 2010] [error] File "C:\\apptest\\daemon\\apt\ \library\\network.py", line 232, in _insertUsernameInterceptor [Mon May 24 10:46:02 2010] [error] su = u.encode('easyascii') [Mon May 24 10:46:02 2010] [error] LookupError: unknown encoding: easyascii Thus, the wsgi app dies. I'm slightly baffled by the situation. I can't quite figure out how the encoding can get forgotten like that. Anyone have a hint? Thanks in advance. --S -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to modw...@googlegroups.com. To unsubscribe from this group, send email to modwsgi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.