Package: python2.3-moinmoin
Version: 1.5.3-1
Severity: wishlist
Tags: patch

As per

http://moinmoin.wikiwikiweb.de/MoinMoinBugs/AttachmentPageFailsWhenReturnedUnicodeFilenames

if data_dir is unicode encoded, MoinMoin will crash when you add an
attachment to a page.  The attached patch gives you a warning in the
farmconfig files, and will hopefully save someone else a few hours :)

Thanks,

-i

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages python2.3-moinmoin depends on:
ii  moinmoin-common               1.5.3-1    Python clone of WikiWiki - common 
ii  python2.3                     2.3.5-14   An interactive high-level object-o

Versions of packages python2.3-moinmoin recommends:
ii  exim4                         4.62-2     metapackage to ease exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.62-2     lightweight exim MTA (v4) daemon

-- no debconf information
--- farmconfig.py       2006-02-05 08:20:02.000000000 +1100
+++ farmconfig-new.py   2006-07-12 10:14:25.000000000 +1000
@@ -78,7 +78,7 @@
     # all directories are accessible by the web server or moin server.
 
     # If you encounter problems, try to set data_dir and data_underlay_dir
-    # to absolute paths.
+    # to absolute paths.  Also, these should NOT be unicode strings!
 
     # Where your mutable wiki pages are. You want to make regular
     # backups of this directory.
--- mywiki.py   2006-02-05 08:02:19.000000000 +1100
+++ mywiki-new.py       2006-07-12 10:15:51.000000000 +1000
@@ -30,5 +30,7 @@
     # b) if wiki content is maintained in many languages
     page_front_page = u"FrontPage"
 
+    # data directory location where pages, attachments etc are
+    # stored.  Must be writable by the webserver [not Unicode] 
     data_dir = '/org/mywiki/data/'
 

Reply via email to