<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1505" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=613235707-27092005><FONT face=Arial color=#0000ff 
size=2>Lee,</FONT></SPAN></DIV>
<DIV><SPAN class=613235707-27092005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=613235707-27092005><FONT face=Arial color=#0000ff size=2>I have 
no idea if you've received any replies as this list replies directly to the 
sender.</FONT></SPAN></DIV>
<DIV><SPAN class=613235707-27092005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=613235707-27092005><FONT face=Arial color=#0000ff size=2>I run 
exactly the same configuration as you are trying to get 
going.</FONT></SPAN></DIV>
<DIV><SPAN class=613235707-27092005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=613235707-27092005><FONT face=Arial color=#0000ff size=2>Issue 
A - I don't understand what you're saying here.</FONT></SPAN></DIV>
<DIV><SPAN class=613235707-27092005><FONT face=Arial color=#0000ff size=2>Issue 
B - you need a new line in Moin.py - "sys.path.insert(0, 
r'c:\moin\lib\site-packages')"</FONT></SPAN></DIV>
<DIV><SPAN class=613235707-27092005><FONT face=Arial color=#0000ff size=2>Issue 
C - See B</FONT></SPAN></DIV>
<DIV><SPAN class=613235707-27092005><FONT face=Arial color=#0000ff size=2>Issue 
D - This is a reported bug, change that line to read "<FONT 
face="Times New Roman" color=#000000 size=3>if os.name == 'posix' and 
os.getuid() == 0<FONT face=Arial color=#0000ff size=2>:</FONT></FONT>" so that 
the os check happens first.</FONT></SPAN></DIV>
<DIV><SPAN class=613235707-27092005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=613235707-27092005><FONT face=Arial color=#0000ff 
size=2>Craig</FONT></SPAN></DIV>
<DIV><SPAN class=613235707-27092005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma 
size=2>-----Original Message-----<BR><B>From:</B> 
moin-user-admin@lists.sourceforge.net 
[mailto:moin-user-admin@lists.sourceforge.net] <B>On Behalf Of </B>Lee 
James<BR><B>Sent:</B> 26 September 2005 05:05 PM<BR><B>To:</B> 
Moin-user@lists.sourceforge.net<BR><B>Subject:</B> [Moin-user] Sources of advice 
while setting up a moinmoin<BR><BR></FONT></DIV>
<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>command line install appears to have worked, install.log contains 814 
  entries 
  <UL>
    <LI>all entries installed under C:\moin 
    <LI>predicted message about the search path did not appear </LI></UL>
  <LI>added c:\moin to the python path 
  <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>appears that the templates are located in C:\moin\share\moin\ 
    <LI>appears that some scripts that help to use the MoinMoin shell commands 
    are located in C:\moin\Scripts </LI></UL></LI></UL>
<LI>following <A 
href="http://wiki.python.org/moin/HelpOnInstalling/WikiInstanceCreation" 
target=_new>http://wiki.python.org/moin/HelpOnInstalling/WikiInstanceCreation</A> 

<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><!--StartFragment --> for first instance will use the name of 
  <B>trial</B> and be at <B>C:\moin\wikis\trial</B> 
  <LI>
  <UL>
    <LI>PREFIX=C:\moin 
    <LI>SHARE=$PREFIX\share\moin 
    <LI>WIKILOCATION=$PREFIX\wikis 
    <LI>INSTANCE=trial </LI></UL>
  <LI>copied the relevant files to C:\moin\wikis\trial 
  <LI>permissions set so the directory is not shared, but everyone on this 
  machine has access. This is the windows default. 
  <LI>editing wikiconfig.py 
  <UL>
    <LI>changing line 36 sitename = u'Untitled Wiki' to sitename = u'Trial Wiki' 

    <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>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>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>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>changing line 32 docs = '/usr/share/moin/htdocs' to docs = 
    'C:/moin/share/moin/htdocs' 
    <LI>changing line 44 interface = 'localhost' to interface = '' 
    <LI>changing line 49 ## logPath = 'moin.log' to logPath = 'moin.log' 
</LI></UL>
  <LI>try running by double-clicking moin.py 
  <UL>
    <LI>failed to find MoinMoin.server.standalone to import 
    from                                                     
    issue B</LI></UL>
  <LI>moved MoinMoin from C:\moin\Lib\site-packages to 
  C:\Python24\Lib\site-packages 
  <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>AttributeError: 'module' object has no attribute 'getuid' </LI></UL>
  <LI>copied MoinMoin back so it appears as both C:\moin\Lib\site-packages and 
  C:\Python24\Lib\site-packages 
  <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>if os.getuid() == 0 and os.name == 
    'posix':                                                                          
    issue D 
    <LI>AttributeError: 'module' object has no attribute 'getuid' 
</LI></UL></LI></UL>
<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></LI>
<HR>

<DIV align=center><FONT color=#ff0000><STRONG><EM>Please note that Edcon's 
e-Mail addresses have changed. Please update your address book with the new 
e-Mail address as displayed in the "From:" field.</EM></STRONG></FONT> </DIV>
<HR align=center>

<DIV align=center><FONT color=#0080ff>------------------Edcon Disclaimer 
-------------------------<BR>This email is private and confidential and its 
contents and attachments are the property of Edcon. It is solely for the named 
addressee. Any unauthorised use or interception of this email, or the review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance upon the contents of this email, by persons or entities other than the 
intended recipient, is prohibited.Save for communications relating to the 
official business of Edcon, the company does not accept any responsibility for 
the contents of this email or any opinions expressed in this email or its 
attachments .If you are not the named addressee please notify us immediately by 
reply email and delete this email and any attached files.Due to the nature of 
email Edcon cannot ensure and accepts no liability for the integrity of this 
email and any attachments, nor that they are free of any virus.Edcon accepts no 
liability for any loss or damage whether direct or indirect or consequential, 
however caused, whether by negligence or otherwise, which may result directly or 
indirectly from this communication or any attached files. Edgars Consolidated 
Stores LTD ,Post office box 200 Crown Mines, Telephone: (011) 
495-6000</FONT></DIV>
</BODY></HTML>