Your message dated Sun, 28 Jun 2009 11:44:21 +0200
with message-id <[email protected]>
and subject line python2.3-moinmoin: Add note on when to not use unicode
has caused the Debian Bug report #377938,
regarding python2.3-moinmoin: Add note on when to not use unicode
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
377938: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377938
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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/'
--- End Message ---
--- Begin Message ---
found 377938 1.5.3-1
notfound 377938 1.5.3-1.2etch2
thanks
Hello,
I can't reproduce this bug in DebianEtch (1.5.3-1.2etch2). I don't know
if it is because Etch uses python2.4 or because Etch defaults to UTF8,
(or something else).
I believe the bug doesn't occur anymore, as we would have load of bugs.
Also, If I understood the bug correctly, the root of the problem is due
to a configuration error (data_dir should not be an utf8 string).
I therefore close the bug.
Feel free to re-open the bug if you can reproduce it in Etch.
Thank you for your feedback
Franklin
-- System Information:
Debian Release: 4.0
APT prefers oldstable
APT policy: (500, 'oldstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-xen-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages python-moinmoin depends on:
ii moinmoin-common 1.5.3-1.2etch2 Python clone of WikiWiki - common
ii python 2.4.4-2 An interactive high-level object-o
ii python-support 0.5.6 automated rebuilding support for p
Versions of packages python-moinmoin recommends:
pn exim4 | mail-transport-agent <none> (no description available)
-- no debconf information
--- End Message ---