From jh at web.de Thu Aug 1 11:14:49 2002 From: jh at web.de (Juergen Hermann) Date: Thu Aug 1 11:14:49 2002 Subject: [Moin-user] removing line numbers from Python source listings In-Reply-To: Message-ID: On Wed, 31 Jul 2002 17:35:02 -0700, Kevin Altis wrote: >I posted a fix to the line numbers displayed with Python source I did a better fix. ;) Ciao, J?rgen From jh at web.de Thu Aug 1 11:16:25 2002 From: jh at web.de (Juergen Hermann) Date: Thu Aug 1 11:16:25 2002 Subject: [Moin-user] run MoinMoin with Python server? In-Reply-To: Message-ID: On Wed, 31 Jul 2002 23:32:47 -0700, Kevin Altis wrote: >I would still like to hear about any other information related to running >MoinMoin with a simple Python web server instead of say Apache or IIS in >case there are other issues I should be aware of. I'm going to take this >opportunity to chase the socket issue to see if a workaround can be added to >the Python standard libs once and for all. Only recently, I explained on this list how to run the built-in server for a single-person wiki. Check the archives. Ciao, J?rgen From altis at semi-retired.com Mon Aug 5 10:40:02 2002 From: altis at semi-retired.com (Kevin Altis) Date: Mon Aug 5 10:40:02 2002 Subject: [Moin-user] run MoinMoin with Python server? In-Reply-To: Message-ID: Steve Holden and I found a fix for the POST handling on Windows this weekend. Guido has assigned the tracker item to Steve, so hopefully something will get checked in soon. http://sourceforge.net/tracker/?func=detail&aid=427345&group_id=5470&atid=10 5470 The fix turned out to be pretty simple. if self.command.lower() == "post" and nbytes > 0: data = self.rfile.read(nbytes) fi.write(data) # now throw away data past Content-length while select.select([self.rfile._sock], [], [], 0)[0] != []: waste = self.rfile._sock.recv(1) fi.close() Only the two lines below the comment are required along with an "import select" at the top of CGIHTTPServer.py. This is slightly verbose, so Steve may do something a bit tighter; the code block below is around line 247, just look for the: if self.command.lower() == "post" and nbytes > 0: Please refer to the bug tracker item for more info. Anyway, MoinMoin runs like a champ as a simple CGI with the built-in Python web server and CGI handler. Note that this fix was for servers running on Windows, it is still unclear whether Python code on Unix suffers from this same POST bug of not reading the extra CR/LF sent by IE. ka > -----Original Message----- > From: moin-user-admin at lists.sourceforge.net > [mailto:moin-user-admin at lists.sourceforge.net]On Behalf Of Kevin Altis > Sent: Wednesday, July 31, 2002 11:33 PM > To: Moin-User > Subject: RE: [Moin-user] run MoinMoin with Python server? > > > I should have done a little more investigation before my original > post. The > CGI POST problem does appear to be the same bug as already noted at: > > http://sourceforge.net/tracker/?func=detail&aid=427345&group_id=54 > 70&atid=10 > 5470 > > and > > http://sourceforge.net/tracker/?func=detail&aid=430160&group_id=54 > 70&atid=10 > 5470 > > The bug is specific to POST handling with IE on Windows, tested > with IE 5.5 > and IE 6. It is not a problem with say Netscape on Windows or > even IE on the > Mac. > > I would still like to hear about any other information related to running > MoinMoin with a simple Python web server instead of say Apache or IIS in > case there are other issues I should be aware of. I'm going to take this > opportunity to chase the socket issue to see if a workaround can > be added to > the Python standard libs once and for all. > > Thanks, > > ka > --- > Kevin Altis > altis at semi-retired.com > > > -----Original Message----- > > From: moin-user-admin at lists.sourceforge.net > > [mailto:moin-user-admin at lists.sourceforge.net]On Behalf Of Kevin Altis > > Sent: Wednesday, July 31, 2002 6:21 PM > > To: Moin-User > > Subject: [Moin-user] run MoinMoin with Python server? > > > > > > I'm trying to get MoinMoin working with a minimal Python server > > based on the > > HTTPServer and CGIHTTPRequestHandler in the Python Standard > > Libraries. I was > > able to get MoinMoin running with a minimal variation of the install > > instructions and I can post those instructions here if there is > > interest. I > > ended up putting moin.cgi and moin_config.py in a /cgi-bin > directory, the > > data is in a c:\moin\data directory and the images and css are > in a /wiki > > directory at the html (htdocs) root of the server. > > > > The problem I've run into is that even though I can do GETs and > POSTs with > > MoinMoin, some kind of failure occurs after the POST, so that while data > > from an edit appears to be accepted, there is a redirect or > something that > > is failing as part of the request. I've attached a copy/paste from the > > console (sorry about the wrapping) showing the error output on my > > box when I > > click the "Save Changes" button during an edit > > > > http://localhost/cgi-bin/moin.cgi/FrontPage?action=edit > > > > This could be related to some other bugs that have been reported > > with Python > > socket handling and Internet Explorer 5.x, but I don't know > MoinMoin well > > enough at this point to know what to look for. What I have now is > > essentially a read-only MoinMoin, which isn't particularly > useful, so I'm > > looking for a fix. > > > > I'm wondering whether anyone has gotten MoinMoin working correctly on a > > Windows system using just the Python standard libs for the web > server? If > > so, how about on Windows, specifically Windows 2000? I really > > don't want to > > have to install IIS or Apache just to use MoinMoin locally, > > Python should be > > able to handle this out of the box. A basic web server in Python is very > > simple as the script referenced below shows. > > > > The PythonCard webserver sample comes with a console_server.py > script that > > essentially works the same as the GUI front-end web server. The latest > > version of the script is in cvs at the URL below. The script is > different > > from the one in release 0.6.8 because I added '.cgi' extension > support to > > the request handler to avoid having to change moin.cgi references in > > MoinMoin. I'm using Windows 2000 and Python 2.2.1, but the script should > > work without change on other systems. > > > > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pythoncard/PythonCa > rdPrototyp > e/samples/webserver/ > > Any feedback or ideas would be appreciated. I would love to get MoinMoin > working as a CGI with a simple Python server! > > ka > --- > Kevin Altis > altis at semi-retired.com From altis at semi-retired.com Tue Aug 6 13:33:03 2002 From: altis at semi-retired.com (Kevin Altis) Date: Tue Aug 6 13:33:03 2002 Subject: [Moin-user] diff on Windows? Message-ID: The one thing that doesn't seem to work in MoinMoin on my Windows 2000 box is diff which is used for RecentChanges. I'm assuming MoinMoin by default is trying to use the Unix diff? Is there a workaround for other platforms such as Windows, perhaps code that uses the Python difflib instead? http://www.python.org/doc/current/lib/module-difflib.html Sorry if this is a FAQ, I have been searching for an answer this morning without results. Thanks, ka From brian at dorseys.org Tue Aug 6 13:54:01 2002 From: brian at dorseys.org (Brian Dorsey) Date: Tue Aug 6 13:54:01 2002 Subject: [Moin-user] diff on Windows? In-Reply-To: References: Message-ID: <20020806210616.GA31123@dorseys.org> I've thought about diflib, or other pure python ideas, too. Long term, that's probably the way to go. But, I'm lazy... what I've done in the mean-time is install cygwin on my windows server and made sure it's bin dir is in my path. And since cygwin includes diff.. muahahah. Also, it looks like these guys have stand-alone ports of a bunch of gnu tools - no need for the cygwin dlls: http://gnuwin32.sourceforge.net That would probably work, too. Take care, -Brian On Tue, Aug 06, 2002 at 01:37:08PM -0700, Kevin Altis wrote: > The one thing that doesn't seem to work in MoinMoin on my Windows 2000 box > is diff which is used for RecentChanges. I'm assuming MoinMoin by default is > trying to use the Unix diff? Is there a workaround for other platforms such > as Windows, perhaps code that uses the Python difflib instead? > > http://www.python.org/doc/current/lib/module-difflib.html > > Sorry if this is a FAQ, I have been searching for an answer this morning > without results. > > Thanks, > > ka > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From s-i-m-o-n at paradise.net.nz Wed Aug 7 04:13:02 2002 From: s-i-m-o-n at paradise.net.nz (Simon -- One spam and this email address vanishes into the great big bucket in the sky) Date: Wed Aug 7 04:13:02 2002 Subject: [Moin-user] Help with Macros and entities Message-ID: <20020807111229.AC41BD1587@deborah.paradise.net.nz> I have a few questions at http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/Simon that I'd really appreciate some guidance on. In particular I want to be able to munge email address on MoinMoin pages so they can't be read by your average spam bot. Also I'd like to be able to include some html (to call javascript or insert formatting and links I can't otherwise do) {cf http://gracefieldtm.wellington.net.nz vs http://gracefieldtm.wellington.net.nz/moin.cgi} My difficulty is I can't seem to get the HTML macro to work - see details at the first URL above. Additionally entities (eg .) don't appear to work in URLs. Any constructive suggestions and advice are keenly sought TIA Simon From gritsch at iue.tuwien.ac.at Thu Aug 8 01:15:13 2002 From: gritsch at iue.tuwien.ac.at (Markus Gritsch) Date: Thu Aug 8 01:15:13 2002 Subject: [Moin-user] Long Delay on Page Saving with Win98SE Message-ID: <3D52284C.1060904@iue.tuwien.ac.at> Hi! MoinMoin (and WikiWiki in general) is great. I already got infected. However I made a strange observation: I installed MoinMoin 1.0 together with the current Apache on Win98SE. Everything works fine except that saving a page from the edit-page takes awful long: Navigation in the pages is snappy, pressing the preview button also deliveres almost immediate feedback (less than 0.5 seconds). However, when pressing the save button, it takes approx. 4 seconds until the updated page gets displayed. The machine is an AthlonXP 1700+ and saving is very snappy when I use MoinMoin on WinXP and SuSE 7.3, which I have also installed. Any ideas? Markus From gritsch at iue.tuwien.ac.at Thu Aug 8 01:24:05 2002 From: gritsch at iue.tuwien.ac.at (Markus Gritsch) Date: Thu Aug 8 01:24:05 2002 Subject: [Moin-user] moin.bat didn't work for me on WinXP Message-ID: <3D522A94.0@iue.tuwien.ac.at> Hi! I installed MoinMoin 1.0 on WinXP and want to share my experience: When installing it like described at HelpOnInstalling using a moin.bat file I got the following error message from Apache premature end of script file: moin.bat Double-clicking moin.bat however spilled out the start page correctly. So I am not sure if this .bat approach works in conjunction with Apache. I fixed the problem by changing ScriptAlias /mywiki "C:/Moin/mywiki/moin.bat" to ScriptAlias /mywiki "C:/Moin/mywiki/moin.cgi" in httpd.conf and changed the first line in moin.cgi from #! /usr/bin/env python to #! /python21/python This worked fine. Have fun, Markus From gritsch at iue.tuwien.ac.at Thu Aug 8 01:35:02 2002 From: gritsch at iue.tuwien.ac.at (Markus Gritsch) Date: Thu Aug 8 01:35:02 2002 Subject: [Moin-user] Markup Suggestion Message-ID: <3D522D18.80203@iue.tuwien.ac.at> Hi! TWiki uses *this* to make the output bold and _this_ to get italics which I find quite convenient. How about making a switch in moin_config.py which optionally allows this notation additionally to '''this''' and ''this''? Have fun, Markus From oli at aragne.com Thu Aug 8 01:49:02 2002 From: oli at aragne.com (Olivier Laurent) Date: Thu Aug 8 01:49:02 2002 Subject: [Moin-user] Help with Macros and entities In-Reply-To: <20020807111229.AC41BD1587@deborah.paradise.net.nz> References: <20020807111229.AC41BD1587@deborah.paradise.net.nz> Message-ID: <20020808084717.GA1341@debian> On mer, 07 ao? 2002, at 23:12, Simon wrote: > In particular I want to be able to munge email address on MoinMoin pages so they can't be read by your average spam bot. > Also I'd like to be able to include some html (to call javascript or insert formatting and links I can't otherwise do) {cf http://gracefieldtm.wellington.net.nz vs > http://gracefieldtm.wellington.net.nz/moin.cgi} > > My difficulty is I can't seem to get the HTML macro to work - see details at the first URL above. > Additionally entities (eg .) don't appear to work in URLs. You told on your page that you put the macro with the BR macro. So I suppose it's in /usr/lib/python/site-package/MoinMoin/macro (or something like that). These are the global macros and I didn't put the HTML macro at that place. I put it in /var/www/moinwikis/mywiki/data/plugin/macro/ (that place depends on your configuration of course) This is the place for local or personal macros. The file is called HTML.py Note that HTML is in uppercase. I don't know if it's of importance. Normally, if you visit your SystemInfo page, you'll see HTML in the 'Local extension macros' section. -- Olivier Laurent. P3B ? ?: Club Python(-Zope) Belge --------- http://www.p3b.org OS3B ? : Club Open-Software(-Linux) Carolo ?http://www.os3b.org Aragne : Python-Zope Solutions & Formations http://www.aragne.com From roete142 at planet.nl Thu Aug 8 12:47:04 2002 From: roete142 at planet.nl (Jeroen Roeterd) Date: Thu Aug 8 12:47:04 2002 Subject: [Moin-user] Markup Suggestion References: <3D522D18.80203@iue.tuwien.ac.at> Message-ID: <3D52CAA2.9080209@planet.nl> Markus Gritsch wrote: > Hi! > > TWiki uses *this* to make the output bold and _this_ to get italics > which I find quite convenient. How about making a switch in > moin_config.py which optionally allows this notation additionally to > '''this''' and ''this''? > > Have fun, > Markus > Hello, I would like this also. I don't know Twiki but I had Openwiki installed before I switched to MoinMoin and I find it's markup language more "natural". Just my 2 cents. Greetings, Jeroen Roeterd From whisper at oz.net Thu Aug 8 12:56:04 2002 From: whisper at oz.net (David LeBlanc) Date: Thu Aug 8 12:56:04 2002 Subject: [Moin-user] Markup Suggestion In-Reply-To: <3D52CAA2.9080209@planet.nl> Message-ID: I am in general agreement about moin markup vs. TWiki and other wiki's markup. David LeBlanc Seattle, WA USA > -----Original Message----- > From: moin-user-admin at lists.sourceforge.net > [mailto:moin-user-admin at lists.sourceforge.net]On Behalf Of Jeroen > Roeterd > Sent: Thursday, August 08, 2002 12:47 > To: moin-user > Subject: Re: [Moin-user] Markup Suggestion > > > Markus Gritsch wrote: > > > Hi! > > > > TWiki uses *this* to make the output bold and _this_ to get italics > > which I find quite convenient. How about making a switch in > > moin_config.py which optionally allows this notation additionally to > > '''this''' and ''this''? > > > > Have fun, > > Markus > > > Hello, > > I would like this also. I don't know Twiki but I had Openwiki installed > before I switched to MoinMoin and I find it's markup language more > "natural". > Just my 2 cents. > > Greetings, > Jeroen Roeterd > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From ashand at pixelworks.com Thu Aug 8 13:50:02 2002 From: ashand at pixelworks.com (Adam Shand) Date: Thu Aug 8 13:50:02 2002 Subject: [Moin-user] python help with include partial page macro Message-ID: <1028839752.24699.227.camel@isashand> Hey. A friend is helping me write a moin macro and we're a little stumped with how Moin works. If anyone has any advice for it would be much appreciated. The source we're using is below and you can see the error message here: http://www.spack.org/index.cgi/WikiSandBox It's supposed to work just like the IncludePage macro except exit at the first instance of "^----". I guess our question is, what gets returned by: raw = Page(pagename).get_raw_body() part = raw.splitlines() I was assuming that part was just a list (ie. part = [line1, line2, ...] ) but if its of another format, I'll have to structure the list I send to Page().set_raw_body() Adam. From schmid at ice.mpg.de Sun Aug 11 15:06:01 2002 From: schmid at ice.mpg.de (Karl Schmid) Date: Sun Aug 11 15:06:01 2002 Subject: [Moin-user] Installation problem Message-ID: <1029105280.6294.5.camel@blossom> Hi, I tried to install MoinMoin 1.0 on a RedHat 7.3 Linux system. All the installation instructions were followed carefully (I successfully installed MoinMoin on SuSE 8.0 systems). However, I can not get it to work when I try to access the front page. I get server error 500 and the following error message from Apache: Traceback (innermost last): File "/usr/local/share/moin/genwiki/moin.cgi", line 2, in ? from MoinMoin import cgimain ImportError: No module named MoinMoin [Sun Aug 11 23:57:37 2002] [error] [client 217.3.224.152] Premature end of script headers: /usr/local/share/moin/genwiki/moin.cgi Interestingly, when I start python from the command line on this machine (as user root) I can import the MoinMoin module and even get html output (as text, of course...): [root at kiwi genwiki]# python Python 2.2.1 (#1, Jul 2 2002, 12:37:29) [GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-110)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import MoinMoin >>> from MoinMoin import cgimain >>> cgimain.run() FrontPage - An Unnamed MoinMoin Wiki Any idea what I could do to solve the problem? Maybe I am missing something obvious here... -- Karl From gritsch at iue.tuwien.ac.at Sun Aug 11 23:55:02 2002 From: gritsch at iue.tuwien.ac.at (Markus Gritsch) Date: Sun Aug 11 23:55:02 2002 Subject: [Moin-user] Installation problem References: <1029105280.6294.5.camel@blossom> Message-ID: <3D575B82.3040007@iue.tuwien.ac.at> Karl Schmid wrote: > Hi, > > I tried to install MoinMoin 1.0 on a RedHat 7.3 Linux system. All the > installation instructions were followed carefully (I successfully > installed MoinMoin on SuSE 8.0 systems). > > However, I can not get it to work when I try to access the front page. I > get server error 500 and the following error message from Apache: > > Traceback (innermost last): > File "/usr/local/share/moin/genwiki/moin.cgi", line 2, in ? > from MoinMoin import cgimain > ImportError: No module named MoinMoin > [Sun Aug 11 23:57:37 2002] [error] [client 217.3.224.152] Premature end > of script headers: /usr/local/share/moin/genwiki/moin.cgi > > Interestingly, when I start python from the command line on this machine > (as user root) I can import the MoinMoin module and even get html output > (as text, of course...): > > [root at kiwi genwiki]# python > Python 2.2.1 (#1, Jul 2 2002, 12:37:29) > [GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-110)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>>>import MoinMoin >>>>from MoinMoin import cgimain >>>>cgimain.run() >>> > > > FrontPage - An Unnamed MoinMoin Wiki > > > > > Any idea what I could do to solve the problem? Maybe I am missing > something obvious here... *) user and group id is set according to the webservers' one? (as told on http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/HelpOnInstalling_2fApacheOnUnix) *) Is Python 2.0 or higher installed and available as the command python for the webserver user? Markus From gritsch at iue.tuwien.ac.at Mon Aug 12 01:48:02 2002 From: gritsch at iue.tuwien.ac.at (Markus Gritsch) Date: Mon Aug 12 01:48:02 2002 Subject: [Moin-user] moin-email icons Message-ID: <3D57760A.2030204@iue.tuwien.ac.at> Hi! The moin-email-x.gif icon seems to be broken to me and the moin-email.gif icon is to pale in my eyes. I have attached new versions of them and I would be happy if they find their way into the MoinMoin CVS. Have fun, Markus -------------- next part -------------- A non-text attachment was scrubbed... Name: moin-email-x.gif Type: image/gif Size: 96 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: moin-email.gif Type: image/gif Size: 96 bytes Desc: not available URL: From bragiba at simi.is Mon Aug 12 04:33:17 2002 From: bragiba at simi.is (bragiba at simi.is) Date: Mon Aug 12 04:33:17 2002 Subject: [Moin-user] Preview and premature end of script headers Message-ID: We have just installed MoinMoin ($Id: moin.cgi,v 1.2 2002/03/11 21:48:48 jhermann Exp $) on a HP-UX. We can successfully edit a page but once you submit your changes we get a script header error in the apache error log on the preview page as shown below: /usr/lib/dld.sl: Unresolved symbol: inet_pton (code) from /usr/local/lib/python2.2/lib-dynload/_socket.sl [Mon Aug 12 11:26:55 2002] [error] [client 157.157.254.30] Premature end of script headers: /usr/axe/centrica/WWW/moin/share/moin/mobile/moin.cgi Seems to be some sort of a shared library error. Has anyone experienced similar difficulties/have a fix? Me? kve?ju/Best Regards Bragi Baldursson GPRS Kerfisverkfr??ingur/GPRS Systems Engineer S?mi/Tel.: +354 550 63 08 mailto:bragiba at siminn.is Fax: +354 550 63 39 www:http://www.siminn.is Gsm: +354 892 63 08 - S?minn au?veldar samskipti - _______________________________________________________________________ ?essi t?lvup?stur og vi?hengi hans g?tu innihaldi? tr?na?aruppl?singar eing?ngu ?tla?ar ?eim sem hann er st?la?ur ?. Efni t?lvup?stsins og vi?hengi er ? ?byrg? sendanda ef ?a? tengist ekki starfsemi S?mans. Sj? n?nar: http://www.siminn.is/control/index?pid=6164 This e-mail and its attachments may contain confidential and privileged information only intended for the person or entity to which it is addressed. Further information: http://www.siminn.is/control/index?pid=6772 _______________________________________________________________________ From mariuss at lightspeed.ca Mon Aug 12 11:49:04 2002 From: mariuss at lightspeed.ca (Marius Scurtescu) Date: Mon Aug 12 11:49:04 2002 Subject: [Moin-user] shared hosting install Message-ID: <3D580317.3040905@lightspeed.ca> Hi, Does anybody know how to install MoinMoin in a shared-hosting environment? The hosting company is running Linux and Apache. For some reason I feel that instalation is more complicated than needed. I used a few other Wiki clones and so far MoinMoin is the best! Great work. Thanks, Marius From pobrien at orbtech.com Mon Aug 12 12:00:08 2002 From: pobrien at orbtech.com (Patrick K. O'Brien) Date: Mon Aug 12 12:00:08 2002 Subject: [Moin-user] shared hosting install In-Reply-To: <3D580317.3040905@lightspeed.ca> Message-ID: [Marius Scurtescu] > > Does anybody know how to install MoinMoin in a shared-hosting > environment? The hosting company is running Linux and Apache. > > For some reason I feel that instalation is more complicated > than needed. I have to agree. I wrote up some tips for the host I use. They should apply to any host running Linux and Apache, so take a look and see if they help: http://www.orbtech.com/wiki/MoinMoinOnCornerHost -- Patrick K. O'Brien Orbtech ----------------------------------------------- "Your source for Python programming expertise." ----------------------------------------------- Web: http://www.orbtech.com/web/pobrien/ Blog: http://www.orbtech.com/blog/pobrien/ Wiki: http://www.orbtech.com/wiki/PatrickOBrien ----------------------------------------------- From mariuss at lightspeed.ca Mon Aug 12 13:31:03 2002 From: mariuss at lightspeed.ca (Marius Scurtescu) Date: Mon Aug 12 13:31:03 2002 Subject: [Moin-user] shared hosting install References: Message-ID: <3D581AC9.4070006@lightspeed.ca> Thanks Patrick, I will follow your intructions and keep you updated on what happened. One more question, is the latest MoinMoin (1.0) working fine with Python 1.5.2? This is what my hosting has installed. Thanks, Marius Patrick K. O'Brien wrote: > [Marius Scurtescu] > >>Does anybody know how to install MoinMoin in a shared-hosting >>environment? The hosting company is running Linux and Apache. >> >>For some reason I feel that instalation is more complicated >>than needed. > > > I have to agree. I wrote up some tips for the host I use. They should apply > to any host running Linux and Apache, so take a look and see if they help: > > http://www.orbtech.com/wiki/MoinMoinOnCornerHost > > -- > Patrick K. O'Brien > Orbtech > ----------------------------------------------- > "Your source for Python programming expertise." > ----------------------------------------------- > Web: http://www.orbtech.com/web/pobrien/ > Blog: http://www.orbtech.com/blog/pobrien/ > Wiki: http://www.orbtech.com/wiki/PatrickOBrien > ----------------------------------------------- From pobrien at orbtech.com Mon Aug 12 13:59:02 2002 From: pobrien at orbtech.com (Patrick K. O'Brien) Date: Mon Aug 12 13:59:02 2002 Subject: [Moin-user] shared hosting install In-Reply-To: <3D581AC9.4070006@lightspeed.ca> Message-ID: [Marius Scurtescu] > > One more question, is the latest MoinMoin (1.0) working > fine with Python 1.5.2? This is what my hosting has > installed. The notes indicate that 1.0 is the last version that will include support for Python 1.5.2. Future versions will not. Details are here: http://sourceforge.net/project/shownotes.php?release_id=88958 -- Patrick K. O'Brien Orbtech ----------------------------------------------- "Your source for Python programming expertise." ----------------------------------------------- Web: http://www.orbtech.com/web/pobrien/ Blog: http://www.orbtech.com/blog/pobrien/ Wiki: http://www.orbtech.com/wiki/PatrickOBrien ----------------------------------------------- From mariuss at lightspeed.ca Mon Aug 12 15:44:02 2002 From: mariuss at lightspeed.ca (Marius Scurtescu) Date: Mon Aug 12 15:44:02 2002 Subject: [Moin-user] shared hosting install References: Message-ID: <3D583A2E.40604@lightspeed.ca> I have a partial install under 1.5.2 and I get the following error when invoking the test page: MoinMoin CGI Diagnosis ====================== Package "MoinMoin" sucessfully imported. Python version: 1.5.2 (#1, Jul 5 2001, 03:02:19) [GCC 2.96 20000731 (Red Hat Linux 7.1 2 Release 1.0 Revision 1.159 Traceback (innermost last): File "moin.cgi", line 23, in ? cgimain.test() File "/home/scur/python/site-packages/MoinMoin/cgimain.py", line 43, in test local_request = socket.getfqdn(os.environ.get('SERVER_NAME')) == \ AttributeError: getfqdn I added the "Python version" line. The "getfqdn" method causing the problem was added in Python 2.0. This may not be a show stopper though. I get a read-only version of MoinMoin for now. I cannot modify anything, I will have to check write permissions... Marius Patrick K. O'Brien wrote: > [Marius Scurtescu] > >>One more question, is the latest MoinMoin (1.0) working >>fine with Python 1.5.2? This is what my hosting has >>installed. > > > The notes indicate that 1.0 is the last version that will include support > for Python 1.5.2. Future versions will not. Details are here: > > http://sourceforge.net/project/shownotes.php?release_id=88958 > > -- > Patrick K. O'Brien > Orbtech > ----------------------------------------------- > "Your source for Python programming expertise." > ----------------------------------------------- > Web: http://www.orbtech.com/web/pobrien/ > Blog: http://www.orbtech.com/blog/pobrien/ > Wiki: http://www.orbtech.com/wiki/PatrickOBrien > ----------------------------------------------- > > > From mariuss at lightspeed.ca Mon Aug 12 16:39:03 2002 From: mariuss at lightspeed.ca (Marius Scurtescu) Date: Mon Aug 12 16:39:03 2002 Subject: [Moin-user] user preferences saving error Message-ID: <3D584729.6040207@lightspeed.ca> Hi, I just installed MoinMoin under Python 1.5.2 in a shared hosting environment. The only problem I encountered so far is a crash when I try to save the user preferences. I attached the error page as an HTML file. Saving edited pages works just fine. Any clues are appreciated. Thanks, Marius -------------- next part -------------- An HTML attachment was scrubbed... URL: From bragiba at simi.is Wed Aug 14 04:14:08 2002 From: bragiba at simi.is (bragiba at simi.is) Date: Wed Aug 14 04:14:08 2002 Subject: [Moin-user] Preview and premature end of script headers Message-ID: Does anyone have an idea of what might be causing this or how to investigate this further? Me? kve?ju/Best Regards Bragi Baldursson GPRS Kerfisverkfr??ingur/GPRS Systems Engineer S?mi/Tel.: +354 550 63 08 mailto:bragiba at siminn.is Fax: +354 550 63 39 www:http://www.siminn.is Gsm: +354 892 63 08 - S?minn au?veldar samskipti - ----- Forwarded by Bragi Baldursson/Fars?mad/Fjarsknet/S?minn on 14.08.2002 11:13 ----- Bragi Baldursson To: "MoinMoin Users" cc: Erlingur Bjarnason/Fars?mad/Fjarsknet/S?minn at Simi 12.08.2002 Subject: Preview and premature end of script headers(Document 11:32 link: Bragi Baldursson) We have just installed MoinMoin ($Id: moin.cgi,v 1.2 2002/03/11 21:48:48 jhermann Exp $) on a HP-UX. We can successfully edit a page but once you submit your changes we get a script header error in the apache error log on the preview page as shown below: /usr/lib/dld.sl: Unresolved symbol: inet_pton (code) from /usr/local/lib/python2.2/lib-dynload/_socket.sl [Mon Aug 12 11:26:55 2002] [error] [client 157.157.254.30] Premature end of script headers: /usr/axe/centrica/WWW/moin/share/moin/mobile/moin.cgi Seems to be some sort of a shared library error. Has anyone experienced similar difficulties/have a fix? Me? kve?ju/Best Regards Bragi Baldursson GPRS Kerfisverkfr??ingur/GPRS Systems Engineer S?mi/Tel.: +354 550 63 08 mailto:bragiba at siminn.is Fax: +354 550 63 39 www:http://www.siminn.is Gsm: +354 892 63 08 - S?minn au?veldar samskipti - _______________________________________________________________________ ?essi t?lvup?stur og vi?hengi hans g?tu innihaldi? tr?na?aruppl?singar eing?ngu ?tla?ar ?eim sem hann er st?la?ur ?. Efni t?lvup?stsins og vi?hengi er ? ?byrg? sendanda ef ?a? tengist ekki starfsemi S?mans. Sj? n?nar: http://www.siminn.is/control/index?pid=6164 This e-mail and its attachments may contain confidential and privileged information only intended for the person or entity to which it is addressed. Further information: http://www.siminn.is/control/index?pid=6772 _______________________________________________________________________ _______________________________________________________________________ ?essi t?lvup?stur og vi?hengi hans g?tu innihaldi? tr?na?aruppl?singar eing?ngu ?tla?ar ?eim sem hann er st?la?ur ?. Efni t?lvup?stsins og vi?hengi er ? ?byrg? sendanda ef ?a? tengist ekki starfsemi S?mans. Sj? n?nar: http://www.siminn.is/control/index?pid=6164 This e-mail and its attachments may contain confidential and privileged information only intended for the person or entity to which it is addressed. Further information: http://www.siminn.is/control/index?pid=6772 _______________________________________________________________________ From Pierre.Blanchet at solsoft.fr Wed Aug 14 08:00:05 2002 From: Pierre.Blanchet at solsoft.fr (Pierre Blanchet) Date: Wed Aug 14 08:00:05 2002 Subject: [Moin-user] Preview and premature end of script headers In-Reply-To: Your message of "Wed, 14 Aug 2002 11:13:50 -0000." References: Message-ID: On August 14 2002 at 11:13, bragiba at simi.is wrote: > Does anyone have an idea of what might be causing this or how to > investigate this further? > [...] > - S?minn au?veldar samskipti - > ----- Forwarded by Bragi Baldursson/Fars?mad/Fjarsknet/S?minn on 14.08.2002 > 11:13 ----- [...] > We have just installed MoinMoin ($Id: moin.cgi,v 1.2 2002/03/11 21:48:48 > jhermann Exp $) on a HP-UX. We can successfully edit a page but once > you submit your changes we get a script header error in the apache error > log on the preview page as shown below: > > /usr/lib/dld.sl: Unresolved symbol: inet_pton (code) from > /usr/local/lib/python2.2/lib-dynload/_socket.sl [...] I guess this can be the source of your problem. Did you compile pyhton yourself ? Or is this a binary install ? I don't really know how/what HP-UX works/is but same symptoms have been seen on Solaris already (e.g. compile on a fully patched machine, install on another one not patched and bang) or under Linux with a bad /etc/ld.so.conf. Hope this helps, Pierre. -- Pierre Blanchet Support Engineer GPG 0xED89D256 : 0952 C8A7 7B97 BAE5 0560 8614 E690 9368 ED89 D256 http://www.solsoft.com Pierre.Blanchet at solsoft.fr Tel.: +33 147 15 55 00 Fax: +33 147 15 55 09 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From hendrik at mans.de Thu Aug 15 12:02:05 2002 From: hendrik at mans.de (Hendrik Mans) Date: Thu Aug 15 12:02:05 2002 Subject: [Moin-user] Line break behaviour Message-ID: <000101c2448e$37a266b0$0100a8c0@metzelbert> Hey everyone, I'd like to modify moin so it adds
tags for linefeeds in text passages like this: --- One line Another line A third line --- I'm aware of the [[BR]] tag, but using that feels sort of anti-Wikish, IMO. What is the most straight forward way of modifying moin's code so I can change this? Thanks, Hendrik From brian at dorseys.org Thu Aug 15 14:14:02 2002 From: brian at dorseys.org (Brian Dorsey) Date: Thu Aug 15 14:14:02 2002 Subject: [Moin-user] Line break behaviour In-Reply-To: <000101c2448e$37a266b0$0100a8c0@metzelbert> References: <000101c2448e$37a266b0$0100a8c0@metzelbert> Message-ID: <20020815212657.GA16844@dorseys.org> One easy thing you can do is wrap your text in tripple curly braces, this will tell MoinMoin to treat the section as literal text, and will disply in a non-proportional font and keep new lines. For example: --- {{{ One line Another line A third line }}} --- By default, MoinMoin will put this on a yellow background, but you can change that in the style sheet if you prefer something different. Take care, -Brian On Thu, Aug 15, 2002 at 09:01:52PM +0200, Hendrik Mans wrote: > Hey everyone, > > I'd like to modify moin so it adds
tags for linefeeds in text > passages like this: > > --- > One line > Another line > A third line > --- > > I'm aware of the [[BR]] tag, but using that feels sort of anti-Wikish, > IMO. What is the most straight forward way of modifying moin's code so I > can change this? > > Thanks, > Hendrik > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From wari at wari.per.sg Tue Aug 20 03:53:01 2002 From: wari at wari.per.sg (Wari Wahab) Date: Tue Aug 20 03:53:01 2002 Subject: [Moin-user] Application with Moin integration Message-ID: <20020820105152.GA14049@celestix.com> Hi there, I've been looking around the moin source code searching high and low for ways to use moin as a library (Yup, not as the server). Moin is setup to work fine. But I've got an application that would benefit Moin's library to format plain text into html. Something like: from Moin.format import text_html text = """Some *plain* and multiline text""" output_html = format.some_function(text, html(or xml, etc)) The result should be the text formatted without header/footer (like a print layout) Of course, I'm pulling the above code from the air, but I'd like to know if something like that is possible. Moin is a good library for this (seems to be a lot faster than docutils) and it should not be necessary to reinvent the wheel. -- Regards: Wari Wahab http://roughingit.subtlehints.net/ From benh at uk2.net Tue Aug 20 15:52:02 2002 From: benh at uk2.net (Ben H) Date: Tue Aug 20 15:52:02 2002 Subject: [Moin-user] "internal server" error - permissions? Message-ID: I've messed up installing Moin Moin on Mandrake 8.1. I did what the Help page on the MoinMoin wiki said. As far as I can tell I have entered the right directories for things in the config files. My Apache seems to be working OK. However, when I go to http://localhost/mywiki (and similar), I get a 500 Internal Server error. Looking at the end of the log I see this: [Tue Aug 20 22:55:09 2002] [error] [client 127.0.0.1] Premature end of script headers: /usr/share/moin/mywiki/moin.cgi Traceback (most recent call last): File "/usr/share/moin/mywiki/moin.cgi", line 32, in ? cgimain.run() File "/usr/lib/python2.1/site-packages/MoinMoin/cgimain.py", line 103, in run sys.stderr = open(os.path.join(config.data_dir, 'err_log'), 'at') IOError: [Errno 13] Permission denied: 'data/err_log' [Tue Aug 20 22:55:11 2002] [error] [client 127.0.0.1] Premature end of script headers: /usr/share/moin/mywiki/moin.cgi So this seems to be a permissions thing, but I can't fix it. I have done chmod -R a+rX /usr/share/moin/mywiki/data/ so that the web server user can change files there. I have done the same for /usr/lib/python2.1/site-packages/MoinMoin I have tried starting the webserver as root by commenting out the User directive in httpd.conf. I'm sure there's something obvious I'm missing, but can anyone suggest what? This wiki is for use on the local machine only, if that's any help. Many thanks for any suggestions. I append the diagnosis output: lynx --dump http://localhost/mywiki?test MoinMoin CGI Diagnosis ====================== Package "MoinMoin" sucessfully imported. Release 1.0 Revision 1.159 Checking directories... data directory tests OK (set to '/usr/share/moin/mywiki/data') text directory tests OK (set to '/usr/share/moin/mywiki/data/text') user directory tests OK (set to '/usr/share/moin/mywiki/data/user') backup directory tests OK (set to '/usr/share/moin/mywiki/data/backup') *** The edit log 'data/editlog' is not writable! Found an external diff: "diff - GNU diffutils version 2.7" Server Environment: DOCUMENT_ROOT = '/var/www/html' SERVER_ADDR = '127.0.0.1' SERVER_PORT = '80' GATEWAY_INTERFACE = 'CGI/1.1' HTTP_ACCEPT_LANGUAGE = 'en' REMOTE_ADDR = '127.0.0.1' SERVER_NAME = 'localhost.localdomain' HTTP_USER_AGENT = 'Lynx/2.8.5dev.2 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9. 6a' HTTP_ACCEPT = 'text/html, text/plain, text/sgml, video/mpeg, image/jpeg, im age/tiff, image/x-rgb, image/png, image/x-xbitmap, image/x-xbm, image/gif, appl ication/postscript, */*;q=0.01' REQUEST_URI = '/mywiki?test' PATH = '/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin' QUERY_STRING = 'test' SCRIPT_FILENAME = '/usr/share/moin/mywiki/moin.cgi' SCRIPT_URL = '/mywiki' HTTP_HOST = 'localhost' REQUEST_METHOD = 'GET' SERVER_SIGNATURE = '
Apache-AdvancedExtranetServer/1.3.22 Server at localhost.localdomain Port 80
\n' SCRIPT_URI = 'http://localhost.localdomain/mywiki' SCRIPT_NAME = '/mywiki' SERVER_ADMIN = 'root at localhost' SERVER_SOFTWARE = 'Apache-AdvancedExtranetServer/1.3.22 (Mandrake Linux/10. 1mdk) PHP/4.0.6' SERVER_PROTOCOL = 'HTTP/1.0' REMOTE_PORT = '32992' From wari at wari.per.sg Tue Aug 20 17:03:09 2002 From: wari at wari.per.sg (Wari Wahab) Date: Tue Aug 20 17:03:09 2002 Subject: [Moin-user] "internal server" error - permissions? References: Message-ID: <3D62D99A.3080101@wari.per.sg> Ben H wrote: > So this seems to be a permissions thing, but I can't fix it. > I have done chmod -R a+rX /usr/share/moin/mywiki/data/ so that the web >server user can change files there. I have done the same for >/usr/lib/python2.1/site-packages/MoinMoin > > Moin needs to create/write some files or create directories, like the data/editlog below. I think what you need to do is to issue this command chmod a+rwx /usr/share/moin/mywiki/data >Checking directories... > data directory tests OK (set to '/usr/share/moin/mywiki/data') >*** The edit log 'data/editlog' is not writable! > From gerhard.haering at gmx.de Sat Aug 24 08:24:02 2002 From: gerhard.haering at gmx.de (Gerhard =?iso-8859-1?Q?H=E4ring?=) Date: Sat Aug 24 08:24:02 2002 Subject: [Moin-user] Installing moin at Sourceforge Message-ID: <20020824152256.GA1226@lilith.ghaering.test> Has anybody managed to do that? I think it cannot really be that difficult, but the lack of a HTTPD error logs made me gave up for now. Are there really no error logs available on Sourceforge? -- mail: gerhard bigfoot de registered Linux user #64239 web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id AD24C930 public key fingerprint: 3FCC 8700 3012 0A9E B0C9 3667 814B 9CAA AD24 C930 reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b'))) From wari at celestix.com Sun Aug 25 19:26:03 2002 From: wari at celestix.com (Wari Wahab) Date: Sun Aug 25 19:26:03 2002 Subject: [Moin-user] Application with Moin integration References: <20020820105152.GA14049@celestix.com> Message-ID: <3D699150.3080003@celestix.com> Wari Wahab wrote: >I've been looking around the moin source code searching high and low for >ways to use moin as a library (Yup, not as the server). >Moin is setup to work fine. But I've got an application that would >benefit Moin's library to format plain text into html. >Moin is a good library for this and it should not be necessary >to reinvent the wheel. > Now I'm answering my own question as I've not recieved any. But anyway, I've got something working at least, and the best thing about this is the fact that macros, Interwikis and what nots work very well indeed. The only question I have now is: Is this the right way to do it? ---------------------- """This code assumes that you have moin_config.py easily loadable and your ./data directory is correct in the configuration""" from MoinMoin.parser.wiki import Parser from MoinMoin.formatter.text_html import Formatter from MoinMoin.request import Request from MoinMoin.Page import Page from MoinMoin.user import User from cStringIO import StringIO import sys class WikiText: def __init__(self, text = ''): self.text = text def Wikify(self): s = StringIO() oldstdout = sys.stdout form = None page = Page(None) page.hilite_re = None request = Request() request.user = User() formatter = Formatter(request) formatter.setPage(page) # stdout needs to be redirected as MoinMoin uses print sys.stdout = s Parser(self.text, request).format(formatter, form) sys.stdout = oldstdout result = s.getvalue() s.close() return result if __name__ == '__main__': text = """Hello, and welcome to MoinMoin, Refer to HelpOnFormatting for Formatting guidelines""" wiki = WikiText(text) print wiki.Wikify() -- Regards: Wari Wahab http://roughingit.subtlehints.net/ From MarvinGS at sternpost.de Mon Aug 26 07:07:09 2002 From: MarvinGS at sternpost.de (MarvinGS at sternpost.de) Date: Mon Aug 26 07:07:09 2002 Subject: [Moin-user] Problem with Markup of nested Lists and Text Message-ID: <200208261404.QAA21375@jsclin1.jsc.nord.de> Hi! I want to switch to a current Version of Moin but if trying so my old Markup becomes messed up. What do i have to change (or where do i have to look) to change a current Moin so the Markup in this special Case stays the same? Example: * Hello Hello is the first Word * World The World is really huge! is formatted like this in my old Moin: o Hello Hello is the first Word o World The World is really huge! and like this in a current Moin: o Hello Hello is the first Word o World The World is really huge! (There are blank lines in front of any Text inside Lists. If you have large Lists like * Butter * Bread * Salt We '''really'' need Salt, lots of it! * Pepper that really sucks. You dont want Newlines, but you get them :( Can anybody help? From wari at wari.per.sg Mon Aug 26 07:49:04 2002 From: wari at wari.per.sg (Wari Wahab) Date: Mon Aug 26 07:49:04 2002 Subject: [Moin-user] Problem with Markup of nested Lists and Text References: <200208261404.QAA21375@jsclin1.jsc.nord.de> Message-ID: <3D6A40DD.7090808@wari.per.sg> MarvinGS at sternpost.de wrote: >Hi! > >I want to switch to a current Version of Moin but if trying so my old Markup becomes messed up. What do i have to change (or where do i have to look) to change a current Moin so the Markup in this special Case stays the same? > >Example: > > * Hello > Hello is the first Word > > It works well when I do this: * Hello[[BR]] Hello That is a space and a *, and the second line is a space and the word.. From jschull at softlock.com Mon Aug 26 12:45:03 2002 From: jschull at softlock.com (jon schull) Date: Mon Aug 26 12:45:03 2002 Subject: [Moin-user] (no subject) Message-ID: Is there any problem with password protecting a whole moinmoin site so only a select few can read OR write? (This is to begin as a private collaboration space.) ? ------------------------------------------ Jonathan Schull, Ph.D. Founder, SoftLock.com dba Digital Goods Schull at DigitalGoods.com 36 Brunswick St., Rochester NY 14607 recent bio: http://conferences.oreillynet.com/cs/p2pweb2001/view/e_spkr/1017 weblog: http://radio.weblogs.com/0104369/ 585-738-6696 <<<< References: Message-ID: <1030393520.3467.523.camel@isashand> On Mon, 2002-08-26 at 12:44, jon schull wrote: > Is there any problem with password protecting a whole moinmoin site so only > a select few can read OR write? > (This is to begin as a private collaboration space.) ? Hey Jon :-) There is no problem with restricting access via apache's directives. I already do this for a sub-set of our pages using apache's regex stuff. (note that it's not bullet proof). AuthType Basic AuthName "Restricted To The Special Ops Team" AuthUserFile /etc/apache/htpasswd AuthGroupFile /etc/apache/htgroup require group ops However since moin uses the same CGI for read/write access you can't do read only access via the mechanism, it's pretty much all or nothing. One mechanism you can do (that I haven't played with yet) is to restrict access to POST using apache to stop submits. Also with recent moin's you can "chmod 444" on files to make them globally read only and moin deals with this gracefully. Also there is the beginning of a framework for doing these sorts of things from with moin but as of yet there is no documentation/examples that I've been able to follow. Perhaps your python foo is stronger then mine :) Adam. -- "Make the invisible visible. Let people see." -- Bruce Sterling From jeff at corrt.com Mon Aug 26 13:28:05 2002 From: jeff at corrt.com (Jeff Kunce) Date: Mon Aug 26 13:28:05 2002 Subject: [Moin-user] MoinMoin Access Permissions (was: no subject) In-Reply-To: Message-ID: <5.1.0.14.0.20020826152009.00abcf38@corrt.com> At 03:44 PM 8/26/2002 -0400, jon schull wrote: >Is there any problem with password protecting a whole moinmoin site so only >a select few can read OR write? >(This is to begin as a private collaboration space.) ? The easiest way is to just password protect the directory where your moin.cgi file is. For a pretty complete user identification and access permission scheme for MoinMoin 0.11 - see: http://starship.python.net/crew/jjkunce/MoinMoin/ I should have a MoinMoin 1.0 version done soon. --Jeff From jeff at corrt.com Mon Aug 26 13:40:03 2002 From: jeff at corrt.com (Jeff Kunce) Date: Mon Aug 26 13:40:03 2002 Subject: [Moin-user] (no subject) In-Reply-To: <1030393520.3467.523.camel@isashand> References: Message-ID: <5.1.0.14.0.20020826152842.00b07890@corrt.com> At 01:25 PM 8/26/2002 -0700, Adam Shand wrote: >On Mon, 2002-08-26 at 12:44, jon schull wrote: >... >However since moin uses the same CGI for read/write access you can't do >read only access via the mechanism, it's pretty much all or nothing. You can have two (or more!) separate directories - one with moin.cgi and moin_config.py configured for read/write - one with moin.cgi and moin_config.py configured for read-only both pointing to the same wiki. Use your web server directives to give different access permissions to each. --Jeff From jschull at softlock.com Mon Aug 26 13:42:06 2002 From: jschull at softlock.com (jon schull) Date: Mon Aug 26 13:42:06 2002 Subject: [Moin-user] (no subject) In-Reply-To: <5.1.0.14.0.20020826152842.00b07890@corrt.com> Message-ID: cool thank you both I'm try these things momentarily ------------------------------------------ Jonathan Schull, Ph.D. Founder, SoftLock.com dba Digital Goods Schull at DigitalGoods.com 36 Brunswick St., Rochester NY 14607 recent bio: http://conferences.oreillynet.com/cs/p2pweb2001/view/e_spkr/1017 weblog: http://radio.weblogs.com/0104369/ 585-738-6696 <<<< -----Original Message----- > From: Jeff Kunce [mailto:jeff at corrt.com] > Sent: Monday, August 26, 2002 4:33 PM > To: Adam Shand; jon schull > Cc: MoinMoin Users > Subject: Re: [Moin-user] (no subject) > > > At 01:25 PM 8/26/2002 -0700, Adam Shand wrote: > >On Mon, 2002-08-26 at 12:44, jon schull wrote: > >... > >However since moin uses the same CGI for read/write access you can't do > >read only access via the mechanism, it's pretty much all or nothing. > > You can have two (or more!) separate directories > - one with moin.cgi and moin_config.py configured for read/write > - one with moin.cgi and moin_config.py configured for read-only > both pointing to the same wiki. Use your web server directives to > give different access permissions to each. > > --Jeff > > From pcremin at origin.ea.com Mon Aug 26 13:46:03 2002 From: pcremin at origin.ea.com (Cremin, Patrick) Date: Mon Aug 26 13:46:03 2002 Subject: [Moin-user] Editing Conflicts Message-ID: <9B8090A2F0EBDB4ABD59B08E81C1A68436BBFC@osi-postal.osi.ad.ea.com> Is there a way to keep multiple people from editing the same page at the same time? Have had lots of problems with two people editing the same page, and the person who submits last gets screwed. Patrick Cremin QA -------------- next part -------------- An HTML attachment was scrubbed... URL: From jh at web.de Mon Aug 26 15:58:07 2002 From: jh at web.de (Juergen Hermann) Date: Mon Aug 26 15:58:07 2002 Subject: [Moin-user] Application with Moin integration In-Reply-To: <3D699150.3080003@celestix.com> Message-ID: On Mon, 26 Aug 2002 10:24:16 +0800, Wari Wahab wrote: >Now I'm answering my own question as I've not recieved any. But anyway, I've got something working at least, and the best thing about this is the fact that macros, Interwikis and what nots work very well indeed. The only question I have now is: Is this the right way to do it? Compare against MoinMoin/scripts/moin_dump.py and see if you're missing something. Ciao, J?rgen From jh at web.de Mon Aug 26 16:04:03 2002 From: jh at web.de (Juergen Hermann) Date: Mon Aug 26 16:04:03 2002 Subject: [Moin-user] Preview and premature end of script headers In-Reply-To: Message-ID: On Wed, 14 Aug 2002 11:13:50 +0000, bragiba at simi.is wrote: >/usr/lib/dld.sl: Unresolved symbol: inet_pton (code) from >/usr/local/lib/python2.2/lib-dynload/_socket.sl This is a problem of your python installation, namely the socket module is broken, likely due to a non-suitable Setup.local. You prolly need a -lnsl or something similar. The right place to ask is news:c.l.p, or checking the Python FAQs. I'm sure you are not the 1st to have this problem. Ciao, J?rgen