[Moin-user] Unicode error from decodeUserInput when attaching non-text files (Win32)

Andy Grundman andy at mixdepot.net
Wed Aug 17 08:11:23 EDT 2005


Hi,

I'm currently running Moin 1.3.5 on a Win2k3 server.  Everything is 
working great except for attachment uploading.  When I try to attach an 
image file, or any non-text file, I get the following error:

request.print_exception handler
Traceback (most recent call last):

   File "C:\Python24\lib\site-packages\MoinMoin\request.py", line 756, 
in run
     self.args = self.setup_args()
   File "C:\Python24\lib\site-packages\MoinMoin\request.py", line 1764, 
in setup_args
     i = wikiutil.decodeUserInput(i, self.decode_charsets)
   File "C:\Python24\lib\site-packages\MoinMoin\wikiutil.py", line 95, 
in decodeUserInput
     raise UnicodeError('The string "%s" cannot be decoded.' % s)
UnicodeError: The string "GIF89aY ...<contents of file here>..." cannot 
be decoded.

Thanks,
--
Andy Grundman




More information about the Moin-user mailing list