Package: python-moinmoin
Version: 1.7.0-3
Severity: important

I can't figure out how to run Moin in standalone mode. Having copied
over the data and underlay directories, there are several ways to
proceed.

<http://moinmo.in/DesktopEdition> says that running 'python moin.py'
doesn't work. Ok, so this is because moin's files live in sys.path
rather than in the current directory, but running simply 'moin' just
spits out an error about not specifying a command.

Maybe those instructions are just bogus however. Looking at
<http://moinmo.in/HelpOnInstalling/StandaloneServer> it should be
possible to run 'moin --config-dir=/etc/moin server standalone
--docs=/usr/share/moin/htdocs', but this complains that the module
wikiserverconfig cannot be found. I tried creating a wikiserverconfig.py
based on /usr/share/moin/config/wikiconfig.py, but that gave me
'TypeError: __init__() takes exactly 2 arguments (1 given)'. Ok, I guess
I need to look elsewhere.

/usr/share/python-support/python-moinmoin/MoinMoin/server/server_standalone.py
contains some inline instructions for creating a server, and their code
runs, but then trying to access the wiki yields 'ImportError: No module
named wikiconfig'... renaming the script to wikiconfig.py gives me
'RuntimeError: You can run only one server per process!'. Hm...

I noticed that the original moin source archive contains a top-level
wikiserverconfig.py file that seems to do the job, except that accessing
the wiki complains that /org/mywiki/data does not exist. Even if I try
overriding data_dir in wikiserverconfig.py does not change this error.
It looks like the clever Debian /etc/moin directory containing the
farmconfig stuff is getting in the way, even though I don't want to use
it and am not importing anything from that directory (at least
deliberately).

Anyway I am giving up for now, hopefully someone can help by providing
some instructions to run moin in standalone/desktop mode. :)

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-moinmoin depends on:
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-support                0.8.1      automated rebuilding support for P

Versions of packages python-moinmoin recommends:
ii  exim4                         4.69-5     meta-package to ease Exim MTA (v4)
ii  exim4-daemon-light [mail-tran 4.69-5+b1  lightweight Exim MTA (v4) daemon
ii  python-xapian                 1.0.5-1    Xapian search engine interface for

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to