<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am in the process of installing moinmoin.  
As an initial attempt I am installing it on my personal LAN as a standalone 
wiki.  The specific machine is running Windows 2000 and already has Python 
2.4 installed at C:\Python24.  Here is what has transpired so 
far:</FONT></DIV>
<DIV><!--StartFragment --> </DIV>
<LI>following <A 
href="http://wiki.python.org/moin/HelpOnInstalling/BasicInstallation" 
target=_new>http://wiki.python.org/moin/HelpOnInstalling/BasicInstallation</A> 
<UL>
  <LI>downloaded the install file and unpacked it into <A 
  href="file:///D:\work\JOBS\2005Applications\OTI\wiki\moin-1.3.5">file:///D:\work\JOBS\2005Applications\OTI\wiki\moin-1.3.5</A> 

  <UL>
    <LI>needed to upgrade WinRAR before this was successful. </LI></UL></LI>
  <LI>command line install appears to have worked, install.log contains 814 
  entries 
  <UL>
    <LI>all entries installed under C:\moin </LI>
    <LI>predicted message about the search path did not appear </LI></UL></LI>
  <LI>added c:\moin to the python path</LI>
  <LI>No messages in response to <EM>import MoinMoin</EM> 
  <UL>
    <LI>appears that the MoinMoin source code is located in 
    C:\moin\Lib\site-packages\MoinMoin\ 
    <UL>
      <LI>Note that the predicted <EM>python2.4</EM> is 
      missing                                                                             
      issue A</LI></UL></LI>
    <LI>appears that the templates are located in C:\moin\share\moin\ </LI>
    <LI>appears that some scripts that help to use the MoinMoin shell commands 
    are located in C:\moin\Scripts </LI></UL></LI></UL></LI>
<LI>following <A 
href="http://wiki.python.org/moin/HelpOnInstalling/WikiInstanceCreation" 
target=_new>http://wiki.python.org/moin/HelpOnInstalling/WikiInstanceCreation</A> 
</LI>
<UL>
  <LI>Not sure I found the 'dedicated pages' being referred to
  <UL>
    <LI>assuming this refers to the Installation scenarios section of <A 
    href="http://wiki.python.org/moin/HelpOnInstalling" 
    target=_new>http://wiki.python.org/moin/HelpOnInstalling</A> 
    .  </LI></UL></LI>
  <LI><!--StartFragment --> for first instance will use the name of 
  <B>trial</B> and be at <B>C:\moin\wikis\trial</B> </LI>
  <LI>
  <UL>
    <LI>PREFIX=C:\moin </LI>
    <LI>SHARE=$PREFIX\share\moin </LI>
    <LI>WIKILOCATION=$PREFIX\wikis </LI>
    <LI>INSTANCE=trial </LI></UL></LI>
  <LI>copied the relevant files to C:\moin\wikis\trial </LI>
  <LI>permissions set so the directory is not shared, but everyone on this 
  machine has access. This is the windows default. </LI>
  <LI>editing wikiconfig.py 
  <UL>
    <LI>changing line 36 sitename = u'Untitled Wiki' to sitename = u'Trial Wiki' 
    </LI>
    <LI>changing line 83 #acl_rights_before = 
    u"YourName:read,write,delete,revert,admin" to acl_rights_before = 
    u"lee:read,write,delete,revert,admin" 
    <UL>
      <LI>see <A href="http://wiki.python.org/moin/HelpOnAccessControlLists" 
      target=_new>http://wiki.python.org/moin/HelpOnAccessControlLists</A> 
    </LI></UL></LI>
    <LI>changing line 96 mail_smarthost = "" to mail_smarthost = "mail.storm.ca" 

    <UL>
      <LI>looking up SMTP server: Outlook Express -> Tools -> Accounts: 
      pop.storm.ca -> properties: servers </LI></UL></LI>
    <LI>changing line 99 mail_from = "" to mail_from = "Wiki Trial<LEE.JAMES 
    @ieee.org="">" </LEE.JAMES></LI></UL></LI></UL>
<LI>following <A 
href="http://wiki.python.org/moin/HelpOnInstalling/StandaloneServer" 
target=_new>http://wiki.python.org/moin/HelpOnInstalling/StandaloneServer</A> 
<UL>
  <LI>copied moin.py from C:\moin\share\moin\server to C:\moin\wikis\trial </LI>
  <LI>editing moin.py 
  <UL>
    <LI>changing line 15 sys.path.insert(0, '/path/to/wikiconfig') to 
    sys.path.insert(0, 'C:/moin/wikis/trial') </LI>
    <LI>changing line 32 docs = '/usr/share/moin/htdocs' to docs = 
    'C:/moin/share/moin/htdocs' </LI>
    <LI>changing line 44 interface = 'localhost' to interface = '' </LI>
    <LI>changing line 49 ## logPath = 'moin.log' to logPath = 'moin.log' 
  </LI></UL></LI>
  <LI>try running by double-clicking moin.py 
  <UL>
    <LI>failed to find MoinMoin.server.standalone to import 
    from                                                     
    issue B</LI></UL></LI>
  <LI>moved MoinMoin from C:\moin\Lib\site-packages to 
  C:\Python24\Lib\site-packages </LI>
  <LI>try running by running moin.py from cmd 
  window                                                                           
  issue C
  <UL>
    <LI>File "C:\moin\Lib\site-packages\MoinMoin\server\standalone.py", line 
    485, in run </LI>
    <LI>AttributeError: 'module' object has no attribute 'getuid' </LI></UL></LI>
  <LI>copied MoinMoin back so it appears as both C:\moin\Lib\site-packages and 
  C:\Python24\Lib\site-packages </LI>
  <LI>try running by running moin.py from cmd window and by doulble clicking
  <UL>
    <LI>File "C:\moin\Lib\site-packages\MoinMoin\server\standalone.py", line 
    485, in run </LI>
    <LI>if os.getuid() == 0 and os.name == 
    'posix':                                                                          
    issue D</LI>
    <LI>AttributeError: 'module' object has no attribute 'getuid' 
</LI></UL></LI></UL></LI>
<DIV><FONT face=Arial size=2>I am left with several confusions:</FONT></DIV>
<DIV><FONT face=Arial size=2>A: I presume that if I had followed the 
instructions for downloading Python, instead of already having it installed, I 
would have had the default directory structure</FONT></DIV>
<DIV><FONT face=Arial size=2>B: given that c:\moin is in the pythonpath, why 
would python be unable to find this file?</FONT></DIV>
<DIV><FONT face=Arial size=2>C: how is it the error is being reported in a file 
that does not exist where it is being reported to be.  Is this a bug?  
In Python or MoinMoin?</FONT></DIV>
<DIV><FONT face=Arial size=2>D: getuid is only defined for UNIX systems 
apparently.  How did I get to be executing Unix code in a windows 
installation.  Is this a MoinMoin bug?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I hope someone can help de-confuse me on some or 
all of these issues!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanx</FONT></DIV>
<DIV><FONT face=Arial size=2>Lee James<BR>8161 Fallowfield Road<BR>Ashton 
ON  K0A 1B0<BR>Telephone: 613 253-6154<BR>e-mail: <A 
href="mailto:lee.james@ieee.org">lee.james@ieee.org</A><BR></FONT></DIV></BODY></HTML>