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

Andy Grundman andy at hybridized.org
Tue Aug 23 06:59:26 EDT 2005

Hi again,

Does anyone have any experience running Moin in a win32 environment?  Do 
I need to open up a bug on the Moin Wiki for this to be looked at?


Andy Grundman wrote:
> 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