[Moin-user] Attachments

Eric Davis endavis at gmail.com
Thu Mar 10 11:04:31 EST 2005

Ok, I have a problem with attachments on my 1.3.3 wiki.

Windows XP
     SP1 with latest patches
Python Version
     2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)]
MoinMoin Version
     Release 1.3.3 [Revision 1.3.3 release]
Apache Version
mod_python Version
     build 203 for Python 2.3

Every time I try to save an attachment, I get a traceback:
   File "d:/mystuff/webstuff/moin1.3\MoinMoin\request.py", line 736, in run
     self.args = self.setup_args()
   File "d:/mystuff/webstuff/moin1.3\MoinMoin\request.py", line 1677, in 
     i = wikiutil.decodeUserInput(i, self.decode_charsets)
   File "d:/mystuff/webstuff/moin1.3\MoinMoin\wikiutil.py", line 72, in 
     raise UnicodeError('The string "%s" cannot be decoded.' % s)

If I put sitecustomize.py in the site-packages dir and uncomment line 16 
in request.py


then I can get text attachments to work, such as css,html,txt, etc...
However, binary files such as image files and zip files will still not 

I cannot find the solution to this problem.

My config is on my personal wiki, which you can get from my userpage on 
the moin wiki.

Any help would be greatly appreciated


Eric Davis

More information about the Moin-user mailing list