[Moin-user] how to enable css suport -- a new Moin-moin 1.2.3 standalone install with Python 2.3.4 and WinMe

Brian van den Broek bvande at po-box.mcgill.ca
Thu Oct 7 17:14:11 EDT 2004


Hi all,

I'm a brand new user of Moin-moin, and a beginning hobbyist programmer
who knows only Python. (As in: "My name is Brian, and I am not a
hacker".) I am using Python 2.3.4 and Moin-moin 1.2.3 under
WindowsMe.

Today I installed Moin-moin as a standalone (i.e. without an external
webserver) application. I am wanting to use m-m as a personal wiki/PIM
without web-exposure.

I figured out how to get it installed. Or mostly, anyway. The install
instructions that came with Moin-moin 1.2.3 indicated that it could not
be run as a standalone, and the wiki versions say that there standalone
instructions are not yet complete, so it is more than likely that in
trying to cobble it together, I did something goofy. I used instructions at:
<http://moinmoin.wikiwikiweb.de/HelpOnInstalling_2fOnWin32>
<http://moinmoin.wikiwikiweb.de/HelpOnInstalling_2fInfrastructureOnWin32>
<http://moinmoin.wikiwikiweb.de/HelpOnInstalling_2fWikiInstanceOnWin32> 
(this last was flagged as incomplete.)

What I am missing is any css features. (As in, no icons, images, 
horizontal lines, and the things like "FrontPage", "recentChanges" ,etc 
that look like horizontally arranged shaded buttons on 
moinmoin.wikiweb.de are in a vertical list, without shading or colour, 
and surrounded by ugly boxes, etc.) I'd like to know how to get 
Moin-moin to use css.

I apologize for how much text follows, but I don't know enough to be 
certain that anything I mention is not relevant.

The install package came with various css files and related material in
various subdirectories of \wiki\htdocs. I installed Moin-moin under
C:/Python23 (with stuff in /Lib, /Share, etc) by using the setup.py
script, and then created C:/moinwiki, C:/moinwiki/main (main being for
my "main" wiki), and C:/moinwiki/wikidata. The css related material of
\wiki\htdocs is now in both C:/Python23/share/moin/htdocs and
C:/moinwiki/main/htdocs. Moin-moin runs fine, but still without drawing
on the css, and it looks rather ugly without it.

When I installed, I made no changes to C:/moinwiki/main/moin.py. I did
change some lines of C:/moinwiki/main/moin_config.py to read:

> sitename = "Brian's Local Wiki" 
> interwikiname = None
> data_dir = './data/'
> url_prefix = 'C:/moinwiki/main/htdocs'


In trying to solve the issue myself, I poked around on
http://moinmoin.wikiwikiweb.de. But, I haven't been able to see how to
enable css support. I'm typing off-line right now, but have
http://localhost/HelpOnConfiguration_2fCascadingStyleSheetsall in front
of me, and it says I should:

> create a new .css file and use the @import function to import the
> original moinmoin.css file.

However, I do not have a moinmoin.css file anywhere on my HDD (neither
in the newly created directories, nor in the zip file of Moin-moin 1.2.3).


I have also noticed that the DOSbox that C:/moinwiki/main/moin.py brings
up displays some exceptions messages such as:

> Serving on localhost:80, documents in 'C:\Python23\share\moin\htdocs'
> 127.0.0.1 - - [07/Oct/2004 19:24:08] "GET /BrianFront HTTP/1.1" 200 -
> ----------------------------------------
> Exception happened during processing of request from ('127.0.0.1', 1275)
> ----------------------------------------
> ----------------------------------------
> Exception happened during processing of request from ('127.0.0.1', 1285)
> ----------------------------------------

I've not detected a pattern, beyond that they occur when I try to edit
some, but not all, pages of my local wiki. (They don't seem to stop me
from doing anything, though.)


I'm sure its just something foolish I've done or omitted doing, but I've
tried to figure it out and haven't been able. I would very much
appreciate an explanation (either by a reference to the web on this
list) for how to get my Moin-moin installation to use css. Either way,
my proficiency is not great, so simple explanations are better.

Thanks for your time. Best to all,

Brian vdB






More information about the Moin-user mailing list