[Moin-user] Re: Re: Import of configuration file "wikiconfig.py" failed because of SyntaxError
Alexander Schremmer
2004b at usenet.alexanderweb.de
Fri Feb 25 14:17:06 EST 2005
On Fri, 25 Feb 2005 14:59:28 +0100, Gerhard Marini wrote:
>>> SyntaxError: invalid syntax (wikiconfig.py, line 58).
>>> line 58 is: data_dir = r'F:\moin\myWiki\data'
> interwikiname = None
>
>
> # Critical setup ---------------------------------------------------
>
> # Misconfiguration here will render your wiki unusable. Check that
> # 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.
>
> # Where your mutable wiki pages are. You want to make regular
> # backups of this directory.
> data_dir = r'F:\moin\myWiki\data'
You indented it improperly. Be sure to just use spaces and indent any line
with the same amount of spaces.
Kind regards,
Alexander
More information about the Moin-user
mailing list