From brian at dorseys.org Wed Jan 2 09:35:18 2002 From: brian at dorseys.org (Brian Dorsey) Date: Wed Jan 2 09:35:18 2002 Subject: [Moin-user] Preventing FunctionNames from becoming WikiWords? Message-ID: <20020102092816.A3322@dorseys.org> Hello all! I've got a question about MoinMoin which seems simple, but I didn't find the answer in the help... I'd like to escape certain words (function names, in this case) so that they're not considered WikiWords even though they look like them. I found one reference to using 6 single quotes on each side of the word, which seems to work in Ward's wiki, but doesn't seem to work in (at least my installation of) MoinMoin. Any hints? Thanks a bunch, -Brian From brian at dorseys.org Wed Jan 2 10:01:03 2002 From: brian at dorseys.org (Brian Dorsey) Date: Wed Jan 2 10:01:03 2002 Subject: [Moin-user] Preventing FunctionNames from becoming WikiWords? In-Reply-To: <20020102092816.A3322@dorseys.org>; from brian@dorseys.org on Wed, Jan 02, 2002 at 09:28:16AM -0800 References: <20020102092816.A3322@dorseys.org> Message-ID: <20020102095905.B3322@dorseys.org> And to answer my own question for the archives: the 6 single quotes are supposed to be used in between the words instead of surrounding the whole thing: This''''''Is''''''Not''''''A''''''Wiki''''''Word Another way which works better for my current purposes is to mark the word as code: {{{ThisIsAFunctionName}}} Apologies for wasting everyone's time. ;) Take care, -Brian On Wed, Jan 02, 2002 at 09:28:16AM -0800, Brian Dorsey wrote: > Hello all! > > I've got a question about MoinMoin which seems simple, but I didn't find the answer in the help... > > I'd like to escape certain words (function names, in this case) so that they're not considered WikiWords even though they look like them. I found one reference to using 6 single quotes on each side of the word, which seems to work in Ward's wiki, but doesn't seem to work in (at least my installation of) MoinMoin. > > Any hints? > > Thanks a bunch, > -Brian > > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From j.her at t-online.de Wed Jan 2 11:48:08 2002 From: j.her at t-online.de (Juergen Hermann) Date: Wed Jan 2 11:48:08 2002 Subject: [Moin-user] Preventing FunctionNames from becoming WikiWords? In-Reply-To: <20020102095905.B3322@dorseys.org> Message-ID: <16LrLc-1c17uSC@fwd07.sul.t-online.com> On Wed, 2 Jan 2002 09:59:05 -0800, Brian Dorsey wrote: >the 6 single quotes are supposed to be used in between the words instead of surrounding the whole thing: This''''''Is''''''Not''''''A''''''Wiki''''''Word > >Another way which works better for my current purposes is to mark the word as code: {{{ThisIsAFunctionName}}} And there is `shorter way for inline code` (0.11), and !NotAWikiWord (needs bang_meta=1 in the config). Ciao, J?rgen From cmedcoff at home.com Wed Jan 2 18:07:02 2002 From: cmedcoff at home.com (Charles Medcoff) Date: Wed Jan 2 18:07:02 2002 Subject: [Moin-user] IIS and hanging searches References: Message-ID: <002a01c193fb$3f157610$0201a8c0@roalok1.mi.home.com> I to am observing this problem. I also see it on submits to page edits and when using FileAttach. I am using code out of CVS date about 12/22/01 rather than a particular release. ----- Original Message ----- From: To: "MoinMoin Users" Sent: Thursday, December 13, 2001 5:04 AM Subject: [Moin-user] IIS and hanging searches > > I have a bizarre problem: > > When I type in a full text search such as search for the word install in > the text field at the bottom of the page and hit the magnifying glass I > never get any result and my cgi times out (timeout set to 30 minutes). If > I however type the same search using the FindPage I get a result back in > about 3.7 seconds. > > I still also get timeouts whenever I edit a page. It just displays the > "Thank you for your changes...." message and then hangs. If I stop and > reload I get my changes. > Has anyone come across similar problems using IIS? > > > Me? kve?ju/Best Regards > Bragi Baldursson > GPRS Kerfisverkfr??ingur/GPRS Systems Engineer > S?mi/Tel.: 550 63 08 mailto:bragiba at siminn.is > Fax: 550 63 39 www:http://www.siminn.is > Gsm: 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/um_okkur/almennt/tolvupostur.asp > > 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/english/about_us/email.asp > _______________________________________________________________________2^??? ?T??Sx%S?L?)????S?l???X???(?? ~S?zw??X????S?b???s^???? From cmedcoff at home.com Wed Jan 2 18:12:01 2002 From: cmedcoff at home.com (Charles Medcoff) Date: Wed Jan 2 18:12:01 2002 Subject: [Moin-user] IIS Installation References: Message-ID: <003901c193fc$09fef4f0$0201a8c0@roalok1.mi.home.com> I'm confused on to install/setup for IIS based on the new directory structure. I've tried creating a new wiki from scratch rather than using my old data. It seems like the intent is to set the virtual dir to point at htdocs but then the cgi-bin dir is outside of the virtual dir. That doesn't make sense to me and it doesn't work either. I've copied the index.html file up one dir and changed the URI's in it to point to the cgi-bin dir and it works then except none of the images show up. By the way, the new edit preview, FileAttach and security features are great! Thanks Juergen! ----- Original Message ----- From: "Juergen Hermann" To: ; "MoinMoin Users" Sent: Friday, December 07, 2001 4:10 PM Subject: [Moin-user] IIS Installation On Fri, 7 Dec 2001 15:36:07 +0000, bragiba at simi.is wrote: >Given the new directory structure the IIS installation instructions are >outdated. I could update them if someone clears up a few questions I >have. >1. In my IIS setup I create a virtual directory pointing to C. >\Work\moin\wiki\ >2. Then I set my homepage to be http://localhost/wiki/cgi-bin/moin.cgi >which works fine except that I need to change the url_prefix from > url_prefix = '/wiki' to url_prefix = '/wiki/htdocs' > as my virtual directory does not points to the base wiki directory which >contains the following directories: > > (Embedded image moved to file: pic17410.pcx) > 3. According to Juergens instructions I assume he is using Apache he is setting his base directory as > wiki/htdocs > How does he then get to wiki/cgi-bin/moin.cgi to run the MoinMoin application? > > I am still a little confused as to what is the correct setup. Consider that installing can overwrite both your (maybe changed) moin.cgi and moin_config.py, so it's a good idea to copy them anyway. Alas, copy them to your server's cgi-bin. Also copy the .../wiki/data dir, don't use the original one directly. Given that, it's no problem to point your /wiki virtual url to the .../wiki/htdocs dir (and that is the intended use). Finally, you should strongly consider to use "python setup.py install" and THEN point your IIS to the _INSTALLED_ files & package. Ciao, J?rgen _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From Bruce.Durling at equifax.com Thu Jan 3 00:31:04 2002 From: Bruce.Durling at equifax.com (Bruce.Durling at equifax.com) Date: Thu Jan 3 00:31:04 2002 Subject: [Moin-user] MoinMoin and Python 2.2 Message-ID: Hello all, I've been using MoinMoin 0.8 for a while now with Python 2.0 on Solaris very happily. Do to some insourcing (I love that word). I have to move it to a new box. That box has Python 2.2 on it. I'd like to upgrade to MoinMoin 0.10 and Python 2.2, but I'm getting some exceptions thrown. I've been trying different versions of MoinMoin to see if that would solve the problem. Here is the traceback with a combination of MoinMoin 0.8 and Python 2.2 Any help would be appreciated. Do I have to go back to Python 2.1 or 2.0? Should I raise a bug in the sf.net bug tracker or is this list a better place to post it? I've had a look at the python in there and I have to admit that I get lost in some of the regular expressions. I'll have more of a look though. cheers, bld Here come the tracebacks with the different combinations. Here is the traceback with a combination of MoinMoin 0.8 and Python 2.2 Traceback (most recent call last): File "/opt/apps/ntg/support/moinmoin/MoinMoin/cgimain.py", line 129, in run Page(query).send_page(form) File "/opt/apps/ntg/support/moinmoin/MoinMoin/Page.py", line 246, in send_page Parser(body).format(self.formatter, form) File "/opt/apps/ntg/support/moinmoin/MoinMoin/parser/wiki.py", line 465, in format sys.stdout.write(re.sub(scan_re, self.replace, line + " ")) File "/opt/apps/ntg/devel/lib/python2.2/sre.py", line 143, in sub return _compile(pattern, 0).sub(repl, string, count) File "/opt/apps/ntg/support/moinmoin/MoinMoin/parser/wiki.py", line 386, in replace return apply(getattr(self, '_' + type + '_repl'), (hit,)) AttributeError: Parser instance has no attribute '_hmarker_repl' With MoinMoin 0.10 and Python 2.2 test.cgi gives me the following: MoinMoin CGI Diagnosis ====================== Package "MoinMoin" sucessfully imported. Traceback (innermost last): File "/opt/apps/ntg/support/moinmoin/cgi-bin/test.cgi", line 42, in ? run() File "/opt/apps/ntg/support/moinmoin/cgi-bin/test.cgi", line 32, in run cgimain.test() File "/opt/apps/ntg/support/moinmoin/MoinMoin/cgimain.py", line 22, in test from MoinMoin import config, util, version, editlog File "/opt/apps/ntg/support/moinmoin/MoinMoin/editlog.py", line 16, in ? from MoinMoin.Page import Page File "/opt/apps/ntg/support/moinmoin/MoinMoin/Page.py", line 13, in ? from MoinMoin.cgimain import request ImportError: cannot import name request MoinMoin 0.10 and Python 2.2 looking at the WikiSandBox gives the following: Python 2.2 /opt/apps/ntg/devel/bin/python AttributeError A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call last. /opt/apps/ntg/support/moinmoin/MoinMoin/cgimain.py in run(properties={}) ??165?????????try: ??166?????????????from?MoinMoin.support?import?cgitb ??167?????????????cgitb.handler() ?????? cgitb?= , handler?= undefined ??168?????????except: ??169?????????????cgi.print_exception() /opt/apps/ntg/support/moinmoin/MoinMoin/Page.py in send_page(self =, form=FieldStorage(None, None, []), msg='', **keywords={}) ??281?????????else: ??282?????????????#?parse?the?text?and?send?the?page?content ??283?????????????Parser(body).format(self.formatter,?form) ?????? Parser?= , body = "Please feel free to experiment here...\n\n'''Ti...''' more interesting than the First Section.''\n", global format?= undefined, self = , global formatter?= undefined, form?= FieldStorage(None, None, []) ??284 ??285?????????#?end?document?output /opt/apps/ntg/support/moinmoin/MoinMoin/parser/wiki.py in format (self =, formatter =, form=FieldStorage(None, None, [])) ??479?????????????????sys.stdout.write(self.highlight_scan(scan_re,?line +?"?")) ??480?????????????else: ??481?????????????????sys.stdout.write(re.sub(scan_re,?self.replace,?line +?"?")) ?????? global sys?= , global stdout?= undefined, global write?= undefined, global re?= , global sub?= undefined, scan_re?= <_sre.SRE_Pattern object at 0x2334a8>, self = , global replace?= undefined, line?= '== The First Section ==' ??482 ??483?????????????if?self.in_pre: /opt/apps/ntg/devel/lib/python2.2/sre.py in sub (pattern=<_sre.SRE_Pattern object at 0x2334a8>, repl=>, string='== The First Section == ', count=0) ??141?????non-overlapping?occurrences?of?the?pattern?in?string?by?the ??142?????replacement?repl""" ??143?????return?_compile(pattern,?0).sub(repl,?string,?count) ?????? global _compile?= , pattern?= <_sre.SRE_Pattern object at 0x2334a8>, global sub?= , repl?= >, string?= '== The First Section == ', count?= 0 ??144 ??145?def?subn(pattern,?repl,?string,?count=0): /opt/apps/ntg/support/moinmoin/MoinMoin/parser/wiki.py in replace(self =, match=<_sre.SRE_Match object at 0x220820>) ??394?????????????????????return?self.highlight_text(hit) ??395?????????????????else: ??396?????????????????????return?apply(getattr(self,?'_'?+?type?+?' _repl'),?(hit,)) ?????? global apply?= undefined, global getattr?= undefined, self = , type?= 'hmarker', hit = '==' ??397?????????else: ??398?????????????import?pprint AttributeError: Parser instance has no attribute '_hmarker_repl' ??????__doc__?= 'Attribute not found.' ??????__getitem__?= > ??????__init__?= > ??????__module__?= 'exceptions' ??????__str__?= > ??????args?= ("Parser instance has no attribute '_hmarker_repl'",) This message contains information from Equifax, Inc. which may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify by e-mail postmaster at equifax.com. From jh at web.de Thu Jan 3 03:01:04 2002 From: jh at web.de (Juergen Hermann) Date: Thu Jan 3 03:01:04 2002 Subject: [Moin-user] MoinMoin and Python 2.2 In-Reply-To: Message-ID: On Thu, 3 Jan 2002 08:28:11 +0000, Bruce.Durling at equifax.com wrote: >Should I raise a bug in the sf.net bug tracker or is this list a better >place to post it? Apply this: --- parser/wiki.py 2001/12/20 23:26:32 1.63 +++ parser/wiki.py 2002/01/03 10:58:10 @@ -622,7 +622,7 @@ def replace(self, match): #hit = filter(lambda g: g[1], match.groupdict().items()) for type, hit in match.groupdict().items(): - if hit is not None: + if hit is not None and type != "hmarker": ##print "###", cgi.escape(`type`), cgi.escape(`hit`), "###" if self.in_pre and type not in ['pre', 'ent']: return self.highlight_text(hit) Or get the latest CVS version. Ciao, J?rgen From Bruce.Durling at equifax.com Thu Jan 3 04:06:06 2002 From: Bruce.Durling at equifax.com (Bruce.Durling at equifax.com) Date: Thu Jan 3 04:06:06 2002 Subject: [Moin-user] MoinMoin and Python 2.2 Message-ID: Thanks for the patch. It works a treat. I'd love to get the latest version out of cvs, but firewalls prevent me from pointing anything at it. Is there a nightly tar ball that I've missed? I love the wiki syntax in MoinMoin. Its kept me from going with either Twiki or ZWiki. In fact I find most other Structured Text things to be a little deficient in comparison. Keep up the good work. I'll keep looking around for ways to contribute. cheers, bld "Juergen Hermann" To: "Bruce.Durling at equifax.com" Sent by: , "moin-user at lists.sourceforge.net" moin-user-admin at lists.sourc eforge.net cc: Subject: Re: [Moin-user] MoinMoin and Python 2.2 01/03/02 10:59 AM Please respond to "Juergen Hermann" On Thu, 3 Jan 2002 08:28:11 +0000, Bruce.Durling at equifax.com wrote: >Should I raise a bug in the sf.net bug tracker or is this list a better >place to post it? Apply this: --- parser/wiki.py 2001/12/20 23:26:32 1.63 +++ parser/wiki.py 2002/01/03 10:58:10 @@ -622,7 +622,7 @@ def replace(self, match): #hit = filter(lambda g: g[1], match.groupdict().items()) for type, hit in match.groupdict().items(): - if hit is not None: + if hit is not None and type != "hmarker": ##print "###", cgi.escape(`type`), cgi.escape(`hit`), " ###" if self.in_pre and type not in ['pre', 'ent']: return self.highlight_text(hit) Or get the latest CVS version. Ciao, J?rgen _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From bragiba at simi.is Thu Jan 3 04:15:20 2002 From: bragiba at simi.is (bragiba at simi.is) Date: Thu Jan 3 04:15:20 2002 Subject: [Moin-user] MoinMoin and Python 2.2 Message-ID: I was just looking for a tarball myself and had real trouble finding one. Is it possible that you could set up a tarball every night made from the latest CVS distribution? For people that do not want to use CVS or cannot this is a very good option. Me? kve?ju/Best Regards Bragi Baldursson GPRS Kerfisverkfr??ingur/GPRS Systems Engineer S?mi/Tel.: 550 63 08 mailto:bragiba at siminn.is Fax: 550 63 39 www:http://www.siminn.is Gsm: 892 63 08 - S?minn au?veldar samskipti - Bruce.Durling at equifax.com Sent by: To: "Juergen Hermann" moin-user-admin at lists.sourc cc: "Bruce.Durling at equifax.com" , eforge.net "moin-user at lists.sourceforge.net" Subject: Re: [Moin-user] MoinMoin and Python 2.2 03.01.2002 12:03 Thanks for the patch. It works a treat. I'd love to get the latest version out of cvs, but firewalls prevent me from pointing anything at it. Is there a nightly tar ball that I've missed? I love the wiki syntax in MoinMoin. Its kept me from going with either Twiki or ZWiki. In fact I find most other Structured Text things to be a little deficient in comparison. Keep up the good work. I'll keep looking around for ways to contribute. cheers, bld "Juergen Hermann" To: "Bruce.Durling at equifax.com" Sent by: , "moin-user at lists.sourceforge.net" moin-user-admin at lists.sourc eforge.net cc: Subject: Re: [Moin-user] MoinMoin and Python 2.2 01/03/02 10:59 AM Please respond to "Juergen Hermann" On Thu, 3 Jan 2002 08:28:11 +0000, Bruce.Durling at equifax.com wrote: >Should I raise a bug in the sf.net bug tracker or is this list a better >place to post it? Apply this: --- parser/wiki.py 2001/12/20 23:26:32 1.63 +++ parser/wiki.py 2002/01/03 10:58:10 @@ -622,7 +622,7 @@ def replace(self, match): #hit = filter(lambda g: g[1], match.groupdict().items()) for type, hit in match.groupdict().items(): - if hit is not None: + if hit is not None and type != "hmarker": ##print "###", cgi.escape(`type`), cgi.escape(`hit`), " ###" if self.in_pre and type not in ['pre', 'ent']: return self.highlight_text(hit) Or get the latest CVS version. Ciao, J?rgen _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user _______________________________________________________________________ ?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/um_okkur/almennt/tolvupostur.asp 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/english/about_us/email.asp _______________________________________________________________________ From jh at web.de Thu Jan 3 04:53:02 2002 From: jh at web.de (Juergen Hermann) Date: Thu Jan 3 04:53:02 2002 Subject: [Moin-user] Re: moin to static html In-Reply-To: <20020102170709.GA1161@ecn.org> Message-ID: On Wed, 2 Jan 2002 17:07:09 +0000, void wrote: >there is a way to save wiki into static html and convert >href's WikiName to local .html pages? >there is available a script somewhere? See the "moin-dump" command line tool in the current CVS. Ciao, J?rgen From jh at web.de Thu Jan 3 05:56:10 2002 From: jh at web.de (Juergen Hermann) Date: Thu Jan 3 05:56:10 2002 Subject: [Moin-user] MoinMoin and Python 2.2 In-Reply-To: Message-ID: On Thu, 3 Jan 2002 12:14:30 +0000, bragiba at simi.is wrote: >I was just looking for a tarball myself and had real trouble finding one. There was none. Look out for the new "Nightly CVS tarball" link on the homepage. Ciao, J?rgen From brian at dorseys.org Thu Jan 3 09:16:06 2002 From: brian at dorseys.org (Brian Dorsey) Date: Thu Jan 3 09:16:06 2002 Subject: [Moin-user] long delays with CVS snapshot Message-ID: <20020103091426.B17850@dorseys.org> I'm also experiencing the long delays with using the search feature in the footer. I'm running a fresh install of last night's tarball on windows with IIS. I'm also noticing the delay when saving pages, although previews seem to work perfectly. When saving a page, my browser will timeout waiting for the new page to come up... but if I stop and manually refresh, the new contents are available immediately, so the pages are getting saved, but not refreshing somehow? I'll be happy to help troubleshoot more, but I'm not sure where to go from here. Take care, -Brian From jh at web.de Thu Jan 3 10:02:05 2002 From: jh at web.de (Juergen Hermann) Date: Thu Jan 3 10:02:05 2002 Subject: [Moin-user] long delays with CVS snapshot In-Reply-To: <20020103091426.B17850@dorseys.org> Message-ID: On Thu, 3 Jan 2002 09:14:26 -0800, Brian Dorsey wrote: >I'm also experiencing the long delays with using the search feature in the footer. I'm running a fresh install of last night's tarball on windows with IIS. ALWAYS when you use that, or only on some submits? If always, add some debug prints before and after the cgi parameter parsing in cgimain.py (i.e. before and after the fieldstorage instantiation). Ciao, J?rgen From brian at dorseys.org Thu Jan 3 10:43:07 2002 From: brian at dorseys.org (Brian Dorsey) Date: Thu Jan 3 10:43:07 2002 Subject: [Moin-user] long delays with CVS snapshot In-Reply-To: ; from jh@web.de on Thu, Jan 03, 2002 at 07:01:27PM +0100 References: <20020103091426.B17850@dorseys.org> Message-ID: <20020103104122.E17850@dorseys.org> I'm seeing it every time I save a page and whenever I do a title search using the footer text box. I wasn't quite sure what to add, so I added these print statements in cgimain.py: # parse request data print 'before request.form = cgi.FieldStorage()' try: request.form = cgi.FieldStorage() print 'after request.form = cgi.FieldStorage()' path_info = webapi.getPathinfo() I then stopped and started IIS to make sure it wasn't caching anything. I think I probably added the wrong thing, though, because I'm never seeing the prints, either in the browser or in the source of the partial web pages which return. When I try to do a search, it immediately redraws the header, including 'Title search for "database"' (database was my search string, so the values are being passed) but the rest of the page times out. Here is a text version of the results: Title search for "database" Brian Dorsey Database Group Wiki FrontPage RecentChanges TitleIndex WordIndex WantedPages OrphanedPages Help -------------------------------------------------------------------------------- HTTP/1.1 502 Gateway Error Server: Microsoft-IIS/5.0 Date: Thu, 03 Jan 2002 18:39:57 GMT Connection: close Content-Length: 186 Content-Type: text/html CGI TimeoutThe specified CGI application exceeded the allowed time for processing. The server has deleted the process. Perhaps I added the wrong print statements? or added them in the wrong place? I'm definately new to web apps in python. Take care, -Brian On Thu, Jan 03, 2002 at 07:01:27PM +0100, Juergen Hermann wrote: > On Thu, 3 Jan 2002 09:14:26 -0800, Brian Dorsey wrote: > > >I'm also experiencing the long delays with using the search feature in > the footer. I'm running a fresh install of last night's tarball on > windows with IIS. > > ALWAYS when you use that, or only on some submits? > > If always, add some debug prints before and after the cgi parameter > parsing in cgimain.py (i.e. before and after the fieldstorage > instantiation). > > > Ciao, J?rgen > > > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From j.her at t-online.de Thu Jan 3 13:42:02 2002 From: j.her at t-online.de (Juergen Hermann) Date: Thu Jan 3 13:42:02 2002 Subject: [Moin-user] long delays with CVS snapshot In-Reply-To: <20020103104122.E17850@dorseys.org> Message-ID: <16MFbe-2FcieWC@fwd11.sul.t-online.com> On Thu, 3 Jan 2002 10:41:22 -0800, Brian Dorsey wrote: >When I try to do a search, it immediately redraws the header, including 'Title search for "database"' (database was my search string, so the values are being passed) but the rest of the page times out. When you see partial results, it obviously blocks later. What seems fishy here is the display of a content-length header, as a streaming application moinmoin does not send one (except for attachements, where the length is known). And you need to print to sys.stderr (which goes to the err_log file), since everything printed normally goes to the browser and thus adds further confusion. Add this at the very end of cgimain: print >>sys.stderr, "before flush" sys.stdout.flush() print >>sys.stderr, "after flush" If you do not see these outputs in err_log, try to add more of these in various parts of the program (especially the send_page method in Page.py) to find the place the system blocks. Also try to add sys.stdout.close() after the flush (we get desperate here :). Ciao, J?rgen From brian at dorseys.org Fri Jan 4 08:41:12 2002 From: brian at dorseys.org (Brian Dorsey) Date: Fri Jan 4 08:41:12 2002 Subject: [Moin-user] long delays with CVS snapshot In-Reply-To: <16MFbe-2FcieWC@fwd11.sul.t-online.com>; from j.her@t-online.de on Thu, Jan 03, 2002 at 10:41:14PM +0100 References: <20020103104122.E17850@dorseys.org> <16MFbe-2FcieWC@fwd11.sul.t-online.com> Message-ID: <20020104083940.C6868@dorseys.org> Ok, I've got these prints added: before parsing -- in cgimain.py begin send_page -- in Page.py end send_page -- in Page.py before flush -- in cgimain.py after flush -- in cgimain.py I'm tailing err_log and while clicking through the wiki looking at existing pages, and I see all five prints in the order above. But, when I try to do a search using the bottom search box, I don't see any of them... yet I'm still seeing the MoinMoin header correctly. Perhaps the err_log messages aren't getting added because Python isn't exiting normally? Also, it looks to me like the Content-Length header is getting added by IIS iteself, because it's way down at the end of the page, just for kicks, I'm going to append the HTML to the end of this message. Should I try to set this version up on a Linux box as well, to see if it's IIS specific? Anyone else out there seen this happen? (timeouts whenever doing a search using the footer search box) Take care, -Brian ========================================================== Title search for "datga" - Database Group Wiki
MoinMoin   Title search for "datga" Brian Dorsey
 
 Database Group Wiki   FrontPage   RecentChanges   TitleIndex   WordIndex   WantedPages   OrphanedPages   Help 

HTTP/1.1 502 Gateway Error Server: Microsoft-IIS/5.0 Date: Fri, 04 Jan 2002 16:31:15 GMT Connection: close Content-Length: 186 Content-Type: text/html CGI Application Timeout

CGI Timeout

The specified CGI application exceeded the allowed time for processing. The server has deleted the process. ================================================================= On Thu, Jan 03, 2002 at 10:41:14PM +0100, Juergen Hermann wrote: > On Thu, 3 Jan 2002 10:41:22 -0800, Brian Dorsey wrote: > > >When I try to do a search, it immediately redraws the header, including 'Title search for "database"' (database was my search string, so the values are being passed) but the rest of the page times out. > > When you see partial results, it obviously blocks later. What seems > fishy here is the display of a content-length header, as a streaming > application moinmoin does not send one (except for attachements, where > the length is known). > > And you need to print to sys.stderr (which goes to the err_log file), > since everything printed normally goes to the browser and thus adds > further confusion. > > Add this at the very end of cgimain: > > print >>sys.stderr, "before flush" > sys.stdout.flush() > print >>sys.stderr, "after flush" > > If you do not see these outputs in err_log, try to add more of these in > various parts of the program (especially the send_page method in > Page.py) to find the place the system blocks. > > Also try to add sys.stdout.close() after the flush (we get desperate > here :). > > Ciao, J?rgen > From jh at web.de Fri Jan 4 09:49:01 2002 From: jh at web.de (Juergen Hermann) Date: Fri Jan 4 09:49:01 2002 Subject: [Moin-user] long delays with CVS snapshot In-Reply-To: <20020104083940.C6868@dorseys.org> Message-ID: On Fri, 4 Jan 2002 08:39:40 -0800, Brian Dorsey wrote: > when I try to do a search using the bottom search box, I don't see any of them... yet I'm still seeing the MoinMoin header correctly. Perhaps the err_log messages aren't getting added because Python isn't exiting normally? Add a sys.stderr.flush() after each print. Ciao, J?rgen From brian at dorseys.org Fri Jan 4 10:33:05 2002 From: brian at dorseys.org (Brian Dorsey) Date: Fri Jan 4 10:33:05 2002 Subject: [Moin-user] long delays with CVS snapshot In-Reply-To: ; from jh@web.de on Fri, Jan 04, 2002 at 06:45:30PM +0100 References: <20020104083940.C6868@dorseys.org> Message-ID: <20020104103129.B8175@dorseys.org> On Fri, Jan 04, 2002 at 06:45:30PM +0100, Juergen Hermann wrote: > Add a sys.stderr.flush() after each print. > Aha! Ok, I'm learning more now. Here is a section of cgimain.py with extra prints: ================================================================ if pagename and sys.prefix[:2] != '1.': try: dummy = unicode(pagename, 'ASCII') except UnicodeError: # we have something else than plain ASCII, try converting # from UTF-8 to local charset try: pagename = unicode(pagename, 'UTF-8').encode(config.charset) except UnicodeError: # give up, use URI value literally and see what happens pass print >>sys.stderr, "after handling request, before action" sys.stderr.flush() if action: print >>sys.stderr, "if action" sys.stderr.flush() handler = wikiaction.getHandler(action) if handler: handler(pagename or config.page_front_page, request.form) else: webapi.http_headers() print "

" + _("Unknown action") print >>sys.stderr, "if action, end" sys.stderr.flush() else: print >>sys.stderr, "if not action" sys.stderr.flush() ============================================================= If I try to run the search I get up to "after handling request, before action" but never see "if action" .... So, I guess that means it's crashing on the if action line? Is that possible? From brian at dorseys.org Fri Jan 4 10:43:04 2002 From: brian at dorseys.org (Brian Dorsey) Date: Fri Jan 4 10:43:04 2002 Subject: [Moin-user] long delays with CVS snapshot In-Reply-To: <20020104103129.B8175@dorseys.org>; from brian@dorseys.org on Fri, Jan 04, 2002 at 10:31:29AM -0800 References: <20020104083940.C6868@dorseys.org> <20020104103129.B8175@dorseys.org> Message-ID: <20020104104109.C8175@dorseys.org> Ok, I lied, it's moving beyond "if action".. I'm following it into do_inlinesearch now... -Brian On Fri, Jan 04, 2002 at 10:31:29AM -0800, Brian Dorsey wrote: > On Fri, Jan 04, 2002 at 06:45:30PM +0100, Juergen Hermann wrote: > > Add a sys.stderr.flush() after each print. > > > Aha! Ok, I'm learning more now. > > Here is a section of cgimain.py with extra prints: > ================================================================ > if pagename and sys.prefix[:2] != '1.': > try: > dummy = unicode(pagename, 'ASCII') > except UnicodeError: > # we have something else than plain ASCII, try converting > # from UTF-8 to local charset > try: > pagename = unicode(pagename, 'UTF-8').encode(config.charset) > except UnicodeError: > # give up, use URI value literally and see what happens > pass > > print >>sys.stderr, "after handling request, before action" > sys.stderr.flush() > > if action: > print >>sys.stderr, "if action" > sys.stderr.flush() > > handler = wikiaction.getHandler(action) > if handler: > handler(pagename or config.page_front_page, request.form) > else: > webapi.http_headers() > print "

" + _("Unknown action") > print >>sys.stderr, "if action, end" > sys.stderr.flush() > else: > print >>sys.stderr, "if not action" > sys.stderr.flush() > > ============================================================= > > If I try to run the search I get up to "after handling request, before action" but never see "if action" .... So, I guess that means it's crashing on the if action line? Is that possible? > > > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From brian at dorseys.org Fri Jan 4 11:04:07 2002 From: brian at dorseys.org (Brian Dorsey) Date: Fri Jan 4 11:04:07 2002 Subject: [Moin-user] long delays with CVS snapshot In-Reply-To: <20020104104109.C8175@dorseys.org>; from brian@dorseys.org on Fri, Jan 04, 2002 at 10:41:09AM -0800 References: <20020104083940.C6868@dorseys.org> <20020104103129.B8175@dorseys.org> <20020104104109.C8175@dorseys.org> Message-ID: <20020104110156.D8175@dorseys.org> The print trick isn't working from within wikiaction.py... stderr probably isn't connected to err_log? What do you recommend to continue onward trying to find where it's stopping? Should we move this discussion to the Moin developer list instead? I'm not really developing anyting, but this series of mails probably isn't interesting to most users... -Brian On Fri, Jan 04, 2002 at 10:41:09AM -0800, Brian Dorsey wrote: > Ok, I lied, it's moving beyond "if action".. I'm following it into do_inlinesearch now... > > -Brian > > On Fri, Jan 04, 2002 at 10:31:29AM -0800, Brian Dorsey wrote: > > On Fri, Jan 04, 2002 at 06:45:30PM +0100, Juergen Hermann wrote: > > > Add a sys.stderr.flush() after each print. > > > > > Aha! Ok, I'm learning more now. > > > > Here is a section of cgimain.py with extra prints: > > ================================================================ > > if pagename and sys.prefix[:2] != '1.': > > try: > > dummy = unicode(pagename, 'ASCII') > > except UnicodeError: > > # we have something else than plain ASCII, try converting > > # from UTF-8 to local charset > > try: > > pagename = unicode(pagename, 'UTF-8').encode(config.charset) > > except UnicodeError: > > # give up, use URI value literally and see what happens > > pass > > > > print >>sys.stderr, "after handling request, before action" > > sys.stderr.flush() > > > > if action: > > print >>sys.stderr, "if action" > > sys.stderr.flush() > > > > handler = wikiaction.getHandler(action) > > if handler: > > handler(pagename or config.page_front_page, request.form) > > else: > > webapi.http_headers() > > print "

" + _("Unknown action") > > print >>sys.stderr, "if action, end" > > sys.stderr.flush() > > else: > > print >>sys.stderr, "if not action" > > sys.stderr.flush() > > > > ============================================================= > > > > If I try to run the search I get up to "after handling request, before action" but never see "if action" .... So, I guess that means it's crashing on the if action line? Is that possible? > > > > > > > > _______________________________________________ > > Moin-user mailing list > > Moin-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/moin-user > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From cmedcoff at home.com Fri Jan 4 18:07:06 2002 From: cmedcoff at home.com (Charles Medcoff) Date: Fri Jan 4 18:07:06 2002 Subject: [Moin-user] IIS Installation References: Message-ID: <002501c1958d$a8fe25c0$0201a8c0@roalok1.mi.home.com> Bragi, Thanks for the instructions. I tried it out and sure enough it works. If I understand it correctly your technique breaks the content into two different web sites: one for the scripts and data and the other for the images and style sheets. I guess that makes the paths coded into the application work. I was trying to make it work under IIS using the directory structure that is created by installing the distribution. I think I'd like to get it to work that way with as few modifications as possible. I'll try to spend some time on it and post my results or add my edits to to the wiki page you referenced. Thanks again. Regards, Chuck ----- Original Message ----- From: To: "Charles Medcoff" Cc: "Juergen Hermann" ; "MoinMoin Users" ; Sent: Thursday, January 03, 2002 4:17 AM Subject: Re: [Moin-user] IIS Installation > > Charles: > > Here is the way I have it setup using IIS on WIN2K: > > 1. cgi-bin: c:\cgi-bin Define the cgi-bin in IIS as a Virtual directory. > (Embedded image moved to file: pic19954.pcx) > > 2. Once you have copied the source code either through CVS or a tarball you > must still run setup python setup.py --quiet install --prefix=C:\moin > In my case I installed MoinMoin in C:\work\moin\ > > 3. I then create a virtual directory called wiki and point it to the htdocs > directory > (Embedded image moved to file: pic18756.pcx) > > 4. I then copy moin.cgi, moin_config.py and the entire data directory to > the cgi-bin > > 5. My configuration variables are set as follows: > moin_config.py > data_dir = './data/' > url_prefix = '/wiki' > moin.cgi > import sys > sys.path.append("C:\\Work\\moin") > > For further information read > http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/MoinMoinWinCvs > > > > > Me? kve?ju/Best Regards > Bragi Baldursson > GPRS Kerfisverkfr??ingur/GPRS Systems Engineer > S?mi/Tel.: 550 63 08 mailto:bragiba at siminn.is > Fax: 550 63 39 www:http://www.siminn.is > Gsm: 892 63 08 > > - S?minn au?veldar samskipti - > > > > "Charles Medcoff" > To: "Juergen Hermann" , , "MoinMoin Users" > Sent by: > moin-user-admin at lists.sourc cc: > eforge.net Subject: Re: [Moin-user] IIS Installation > > > 03.01.2002 02:11 > > > > > > > I'm confused on to install/setup for IIS based on the new directory > structure. I've tried creating a new wiki from scratch rather than using > my > old data. It seems like the intent is to set the virtual dir to point at > htdocs but then the cgi-bin dir is outside of the virtual dir. That > doesn't > make sense to me and it doesn't work either. I've copied the index.html > file up one dir and changed the URI's in it to point to the cgi-bin dir and > it works then except none of the images show up. > > By the way, the new edit preview, FileAttach and security features are > great! Thanks Juergen! > > ----- Original Message ----- > From: "Juergen Hermann" > To: ; "MoinMoin Users" > Sent: Friday, December 07, 2001 4:10 PM > Subject: [Moin-user] IIS Installation > > > On Fri, 7 Dec 2001 15:36:07 +0000, bragiba at simi.is wrote: > > >Given the new directory structure the IIS installation instructions are > >outdated. I could update them if someone clears up a few questions I > >have. > >1. In my IIS setup I create a virtual directory pointing to C. > >\Work\moin\wiki\ > >2. Then I set my homepage to be http://localhost/wiki/cgi-bin/moin.cgi > >which works fine except that I need to change the url_prefix from > > url_prefix = '/wiki' to url_prefix = '/wiki/htdocs' > > as my virtual directory does not points to the base wiki directory > which > >contains the following directories: > > > > (Embedded image moved to file: pic17410.pcx) > > 3. According to Juergens instructions I assume he is using Apache he is > setting his base directory as > > wiki/htdocs > > How does he then get to wiki/cgi-bin/moin.cgi to run the MoinMoin > application? > > > > I am still a little confused as to what is the correct setup. > > Consider that installing can overwrite both your (maybe changed) moin.cgi > and > moin_config.py, so it's a good idea to copy them anyway. Alas, copy them to > your server's cgi-bin. Also copy the .../wiki/data dir, don't use the > original > one directly. > > Given that, it's no problem to point your /wiki virtual url to the > .../wiki/htdocs dir (and that is the intended use). > > Finally, you should strongly consider to use "python setup.py install" and > THEN > point your IIS to the _INSTALLED_ files & package. > > > Ciao, J?rgen > > > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > > > > > > _______________________________________________________________________ > ?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/um_okkur/almennt/tolvupostur.asp > > 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/english/about_us/email.asp > _______________________________________________________________________ From Stefan.Schwarzer at tu-clausthal.de Fri Jan 11 02:46:06 2002 From: Stefan.Schwarzer at tu-clausthal.de (Stefan Schwarzer) Date: Fri Jan 11 02:46:06 2002 Subject: [Moin-user] Configuration for diff utility Message-ID: <3C3EC326.D18672C4@tu-clausthal.de> Hello to all, especially J?rgen :) It would be nice to have a setting for the complete path of the diff utility to use in the configuration. For example in moin_config.py: diff_utility = '/path/to/diff/gdiff' If this setting would not be there, it could default to 'diff' and use that in the PATH. Background of this sugesstion: I finally managed to get diff'ing to work. I had some problems with this: 1. The test.cgi script issues a 'diff --version' and processes the standard output. However, the diff utility on Solaris 8 doesn't know this option and emits a message to standard error. Thus, the Solaris diff is not recognized whether or not it would actually work. 2. After finding this source of confusion, I tried to use the actually installed diff. However, I recovered (finally by the Apache bug database) that Apache's SetEnv is not able to change the PATH variable. (This is not MoinMoin's fault, of course, but it complicates matters.) So I added to moin.cgi (and test.cgi) as a workaround: import os os.environ['PATH'] = '...:/path/to/diff' 3. I don't know why this still didn't work. Finally, I changed MoinMoin.wikiutil to use './diff ...' instead of simply 'diff ...' and now it works. :-) Apart from this, I like MoinMoin very much. :-) Also, after struggling with the Python 2.2 incompatibility of version 0.10 I was glad to find the pointer to the CVS version on the mailing list. Thank you very much! Stefan From Stefan.Schwarzer at tu-clausthal.de Fri Jan 11 04:13:02 2002 From: Stefan.Schwarzer at tu-clausthal.de (Stefan Schwarzer) Date: Fri Jan 11 04:13:02 2002 Subject: [Moin-user] Relative URLs Message-ID: <3C3ED76A.39B9AAF1@tu-clausthal.de> Hello I would like to write something like [/docs/cvs/cvs_1.html CVS Intro] to link to to the path /docs/cvs/cvs_1.html (i. e. http://samehost/docs/cvs/cvs_1.html) on the same host. Is there a way to do this? I haven't found anything on this in the documentation. Stefan From bragiba at simi.is Fri Jan 11 05:18:02 2002 From: bragiba at simi.is (bragiba at simi.is) Date: Fri Jan 11 05:18:02 2002 Subject: [Moin-user] Relative URLs Message-ID: Yes you can by using interwiki links. Open the intermap.txt file and add your interwiki link (Go to InterWiki in your wiki) In your case you would add a line something like: CvsDoc http://samehost/docs/cvs/ Then to create your link you do: [CvsDocs:cvs_1.html Cvs Intro] Me? kve?ju/Best Regards Bragi Baldursson GPRS Kerfisverkfr??ingur/GPRS Systems Engineer S?mi/Tel.: 550 63 08 mailto:bragiba at siminn.is Fax: 550 63 39 www:http://www.siminn.is Gsm: 892 63 08 - S?minn au?veldar samskipti - Stefan Schwarzer cc: Sent by: Subject: [Moin-user] Relative URLs moin-user-admin at lists.sourc eforge.net 11.01.2002 12:15 Hello I would like to write something like [/docs/cvs/cvs_1.html CVS Intro] to link to to the path /docs/cvs/cvs_1.html (i. e. http://samehost/docs/cvs/cvs_1.html) on the same host. Is there a way to do this? I haven't found anything on this in the documentation. Stefan _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user _______________________________________________________________________ ?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/um_okkur/almennt/tolvupostur.asp 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/english/about_us/email.asp _______________________________________________________________________ From stefan.schwarzer at tu-clausthal.de Fri Jan 11 07:04:03 2002 From: stefan.schwarzer at tu-clausthal.de (Stefan Schwarzer) Date: Fri Jan 11 07:04:03 2002 Subject: [Moin-user] Relative URLs In-Reply-To: Message-ID: Hello Bragi thanks for the answer. On Fri, 11 Jan 2002 bragiba at simi.is wrote: > Yes you can by using interwiki links. > > Open the intermap.txt file and add your interwiki link (Go to InterWiki in > your wiki) I didn't know that there was a text file to edit for this. > In your case you would add a line something like: > CvsDoc http://samehost/docs/cvs/ > > Then to create your link you do: > [CvsDocs:cvs_1.html Cvs Intro] For the archive: it seems that is has to be in intermap.txt: CvsDoc http://samehost/docs/cvs (without trailing /) in the web browser edit window: [wiki:CvsDocs/cvs_1.html Cvs Intro] else I get the brackes literally. Another question regarding links: It seems that [wiki:CvsDocs/cvs_1.html#SEC1 Cvs Intro] doesn't work. In the HTML code, the # is substituted with %2523 . Is there a way (or a bugfix) around this? Stefan From jh at web.de Fri Jan 11 12:05:46 2002 From: jh at web.de (Juergen Hermann) Date: Fri Jan 11 12:05:46 2002 Subject: [Moin-user] Relative URLs In-Reply-To: Message-ID: On Fri, 11 Jan 2002 13:16:52 +0000, bragiba at simi.is wrote: >Then to create your link you do: >[CvsDocs:cvs_1.html Cvs Intro] [wiki:CvsDocs:cvs_1.html Cvs Intro] or CvsDocs:cvs_1.html A smarter way is to use a more generic initerwiki name, like Files: and then Files:docs/cvs/cvs1.html Ciao, J?rgen From jh at web.de Fri Jan 11 12:40:01 2002 From: jh at web.de (Juergen Hermann) Date: Fri Jan 11 12:40:01 2002 Subject: [Moin-user] Configuration for diff utility In-Reply-To: <3C3EC326.D18672C4@tu-clausthal.de> Message-ID: On Fri, 11 Jan 2002 11:49:10 +0100, Stefan Schwarzer wrote: >It would be nice to have a setting for the complete path of the diff >utility to use in the configuration. Added as external_diff, please test it. Ciao, J?rgen From stefan.schwarzer at tu-clausthal.de Mon Jan 14 01:43:02 2002 From: stefan.schwarzer at tu-clausthal.de (Stefan Schwarzer) Date: Mon Jan 14 01:43:02 2002 Subject: [Moin-user] Configuration for diff utility In-Reply-To: Message-ID: Hello J?rgen, On Fri, 11 Jan 2002, Juergen Hermann wrote: > >It would be nice to have a setting for the complete path of the diff > >utility to use in the configuration. > > Added as external_diff, please test it. Yes, it works. Thank you. :) However, I got it via ViewCVS; the new wikiutil.py was not included in today's "nightly CVS tarball". Stefan -- Dipl.-Ing. Stefan Schwarzer Informationsdienst Wissenschaft (idw) http://idw-online.de/ Rechenzentrum der TU Clausthal Erzstra?e 51 Tel. +49 (0)5323 / 72-2346 D-38678 Clausthal-Zellerfeld Fax +49 (0)5323 / 72-3536 From jh at web.de Mon Jan 14 11:20:03 2002 From: jh at web.de (Juergen Hermann) Date: Mon Jan 14 11:20:03 2002 Subject: [Moin-user] Configuration for diff utility In-Reply-To: Message-ID: On Mon, 14 Jan 2002 10:42:06 +0100 (MET), Stefan Schwarzer wrote: >However, I got it via ViewCVS; the new wikiutil.py was not included in >today's "nightly CVS tarball". Problem with the cron job which should be fixed by now. Ciao, J?rgen From jh at web.de Wed Jan 16 16:27:10 2002 From: jh at web.de (Juergen Hermann) Date: Wed Jan 16 16:27:10 2002 Subject: [Moin-user] 0.11 Beta1 Message-ID: See http://sourceforge.net/project/shownotes.php?release_id=70345 Give it a test run, the only thing missing is updated docs. Ciao, J?rgen From simo.salminen at iki.fi Sat Jan 19 14:39:03 2002 From: simo.salminen at iki.fi (Simo Salminen) Date: Sat Jan 19 14:39:03 2002 Subject: [Moin-user] showing uploaded images inline Message-ID: <20020120003839.B21907@pikkukorppi.cs.tut.fi> is there a way to show uploaded attachments inline? i've tried [attachments:image.jpg] but it does not show it inline.. -- simo salminen iki fi From brian at dorseys.org Sat Jan 19 18:42:02 2002 From: brian at dorseys.org (Brian Dorsey) Date: Sat Jan 19 18:42:02 2002 Subject: [Moin-user] showing uploaded images inline In-Reply-To: <20020120003839.B21907@pikkukorppi.cs.tut.fi>; from simo.salminen@iki.fi on Sun, Jan 20, 2002 at 12:38:39AM +0200 References: <20020120003839.B21907@pikkukorppi.cs.tut.fi> Message-ID: <20020119184122.B11096@dorseys.org> Try: attachment:PythonPowered.gif This works for me. Take care, -Brian On Sun, Jan 20, 2002 at 12:38:39AM +0200, Simo Salminen wrote: > is there a way to show uploaded attachments inline? i've tried > [attachments:image.jpg] but it does not show it inline.. > > -- > simo salminen iki fi > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From brian at dorseys.org Sat Jan 19 18:48:02 2002 From: brian at dorseys.org (Brian Dorsey) Date: Sat Jan 19 18:48:02 2002 Subject: [Moin-user] 0.11 Beta1 In-Reply-To: ; from jh@web.de on Thu, Jan 17, 2002 at 01:27:19AM +0100 References: Message-ID: <20020119184652.A15644@dorseys.org> On Thu, Jan 17, 2002 at 01:27:19AM +0100, Juergen Hermann wrote: > See http://sourceforge.net/project/shownotes.php?release_id=70345 > > Give it a test run, the only thing missing is updated docs. I've been running iton two (very low traffic) sites for a few days with no obvious troubles. Take care, -Brian From bragiba at simi.is Sun Jan 20 03:02:04 2002 From: bragiba at simi.is (bragiba at simi.is) Date: Sun Jan 20 03:02:04 2002 Subject: [Moin-user] IIS Installation Message-ID: Charles: Here is the way I have it setup using IIS on WIN2K: 1. cgi-bin: c:\cgi-bin Define the cgi-bin in IIS as a Virtual directory. (Embedded image moved to file: pic19954.pcx) 2. Once you have copied the source code either through CVS or a tarball you must still run setup python setup.py --quiet install --prefix=C:\moin In my case I installed MoinMoin in C:\work\moin\ 3. I then create a virtual directory called wiki and point it to the htdocs directory (Embedded image moved to file: pic18756.pcx) 4. I then copy moin.cgi, moin_config.py and the entire data directory to the cgi-bin 5. My configuration variables are set as follows: moin_config.py data_dir = './data/' url_prefix = '/wiki' moin.cgi import sys sys.path.append("C:\\Work\\moin") For further information read http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/MoinMoinWinCvs Me? kve?ju/Best Regards Bragi Baldursson GPRS Kerfisverkfr??ingur/GPRS Systems Engineer S?mi/Tel.: 550 63 08 mailto:bragiba at siminn.is Fax: 550 63 39 www:http://www.siminn.is Gsm: 892 63 08 - S?minn au?veldar samskipti - "Charles Medcoff" To: "Juergen Hermann" , , "MoinMoin Users" Sent by: moin-user-admin at lists.sourc cc: eforge.net Subject: Re: [Moin-user] IIS Installation 03.01.2002 02:11 I'm confused on to install/setup for IIS based on the new directory structure. I've tried creating a new wiki from scratch rather than using my old data. It seems like the intent is to set the virtual dir to point at htdocs but then the cgi-bin dir is outside of the virtual dir. That doesn't make sense to me and it doesn't work either. I've copied the index.html file up one dir and changed the URI's in it to point to the cgi-bin dir and it works then except none of the images show up. By the way, the new edit preview, FileAttach and security features are great! Thanks Juergen! ----- Original Message ----- From: "Juergen Hermann" To: ; "MoinMoin Users" Sent: Friday, December 07, 2001 4:10 PM Subject: [Moin-user] IIS Installation On Fri, 7 Dec 2001 15:36:07 +0000, bragiba at simi.is wrote: >Given the new directory structure the IIS installation instructions are >outdated. I could update them if someone clears up a few questions I >have. >1. In my IIS setup I create a virtual directory pointing to C. >\Work\moin\wiki\ >2. Then I set my homepage to be http://localhost/wiki/cgi-bin/moin.cgi >which works fine except that I need to change the url_prefix from > url_prefix = '/wiki' to url_prefix = '/wiki/htdocs' > as my virtual directory does not points to the base wiki directory which >contains the following directories: > > (Embedded image moved to file: pic17410.pcx) > 3. According to Juergens instructions I assume he is using Apache he is setting his base directory as > wiki/htdocs > How does he then get to wiki/cgi-bin/moin.cgi to run the MoinMoin application? > > I am still a little confused as to what is the correct setup. Consider that installing can overwrite both your (maybe changed) moin.cgi and moin_config.py, so it's a good idea to copy them anyway. Alas, copy them to your server's cgi-bin. Also copy the .../wiki/data dir, don't use the original one directly. Given that, it's no problem to point your /wiki virtual url to the .../wiki/htdocs dir (and that is the intended use). Finally, you should strongly consider to use "python setup.py install" and THEN point your IIS to the _INSTALLED_ files & package. Ciao, J?rgen _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user _______________________________________________________________________ ?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/um_okkur/almennt/tolvupostur.asp 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/english/about_us/email.asp _______________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: pic19954.pcx Type: application/octet-stream Size: 33860 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic18756.pcx Type: application/octet-stream Size: 35014 bytes Desc: not available URL: From D.WILLIAMS at csee-transport.fr Fri Jan 25 05:23:04 2002 From: D.WILLIAMS at csee-transport.fr (WILLIAMS Dominic) Date: Fri Jan 25 05:23:04 2002 Subject: [Moin-user] Spellchecking, French Message-ID: Hello, I have started using MoinMoin for a project Wiki, and it is great! I cannot get the SpellCheck to work. I have put two text files (downloaded from the Web) with english and french words, in the moin-0.10/MoinMoin/dict directory, but the SpellCheck function still does not work. (I am running MoinMoin on Windows2000, with Python 2.1.1 Another question: I saw in the source code there is an i18n directory, with some stuff about internationalization. Does this already work? Is it possible to have MoinMoin work in French? Thanks for your help, Dominic. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jh at web.de Fri Jan 25 11:01:01 2002 From: jh at web.de (Juergen Hermann) Date: Fri Jan 25 11:01:01 2002 Subject: [Moin-user] Spellchecking, French In-Reply-To: Message-ID: >>> I cannot get the SpellCheck to work. I have put two text files (downloaded from the Web) with english and french words, in the moin- 0.10/MoinMoin/dict directory, but the SpellCheck function still does not work. (I am running MoinMoin on Windows2000, with Python 2.1.1 Well, if it doesn't work, you did something wrong. :> Can't say more w/o further info, like exact symptoms. >>> Another question: I saw in the source code there is an i18n directory, with some stuff about internationalization. Does this already work? Is it possible to have MoinMoin work in French? Set your browser so that "fr" is the preferred language. Ciao, J?rgen From marc at vyrus.net Sat Jan 26 22:01:04 2002 From: marc at vyrus.net (Marc) Date: Sat Jan 26 22:01:04 2002 Subject: [Moin-user] Just plain confused at this point... Message-ID: I've never messed with Python and am currently unable to determine where the heck I went wrong. I've got Python 2.2 and moin-0.10. Short of the traceback, I'm unsure of what else I might offer. Any help is very much appreciated! bash-2.04$ ./test.cgi Content-Type: text/plain MoinMoin CGI Diagnosis ====================== Package "MoinMoin" sucessfully imported. Traceback (innermost last): File "./test.cgi", line 44, in ? run() File "./test.cgi", line 34, in run cgimain.test() File "/home/marc/lib/python2.2/site-packages/MoinMoin/cgimain.py", line 22, in test from MoinMoin import config, util, version, editlog File "/home/marc/lib/python2.2/site-packages/MoinMoin/editlog.py", line 16, in ? from MoinMoin.Page import Page File "/home/marc/lib/python2.2/site-packages/MoinMoin/Page.py", line 13, in ? from MoinMoin.cgimain import request ImportError: cannot import name request -Marc From jh at web.de Sun Jan 27 02:07:02 2002 From: jh at web.de (Juergen Hermann) Date: Sun Jan 27 02:07:02 2002 Subject: [Moin-user] Just plain confused at this point... In-Reply-To: Message-ID: On Sun, 27 Jan 2002 00:57:16 -0500 (EST), Marc wrote: >I've never messed with Python and am currently unable to determine where >the heck I went wrong. I've got Python 2.2 and moin-0.10. 0.10 does not work with 2.2 anyway, so get 0.11-beta1. Ciao, J?rgen From jackstraw986 at msn.com Sun Jan 27 14:43:04 2002 From: jackstraw986 at msn.com (Jack Straw) Date: Sun Jan 27 14:43:04 2002 Subject: [Moin-user] Just plain confused at this point... Message-ID: >0.10 does not work with 2.2 anyway, so get 0.11-beta1. Wow. That was a prompt reply. I downloaded 0.11-beta1 and made considerably more progress. moin.cgi works via command line, however the Apache environment seems to be a bit off. moin.cgi dies with a 500 internal server error, and the following is in the Apache error logs: [Sun Jan 27 17:20:28 2002] [error] [client 24.240.223.242] Premature end of script headers: /home/marc/www/wiki/cgi-bin/moin.cgi env: python: No such file or directory I'm attempting to install this without root priveleges, so everything is in my home directory: /home/marc/lib/python2.2/site-packages/MoinMoin /home/marc/bin/python /home/marc/bin/python2.2 /home/marc/www/wiki /home/marc/www/wiki/cgi-bin /home/marc/www/wiki/data /home/marc/www/wiki/htdocs And here are the results of test.cgi. marc => ./test.cgi Content-Type: text/plain MoinMoin CGI Diagnosis ====================== Package "MoinMoin" sucessfully imported. Release 0.11 Revision 1.148 Checking directories... data directory tests OK (set to '/home/marc/www/wiki/data') text directory tests OK (set to '/home/marc/www/wiki/data/text') *** user directory NOT FOUND (set to '/home/marc/www/wiki/data/user') *** backup directory NOT FOUND (set to '/home/marc/www/wiki/data/backup') *** The edit log '/home/marc/www/wiki/data/editlog' is not writable! Found an external diff: "diff - GNU diffutils version 2.7" Server Environment: TERM = 'xterm' SHELL = '/usr/local/bin/bash' SHLVL = '1' BLOCKSIZE = 'K' FTP_PASSIVE_MODE = 'YES' HOSTNAME = 'vyrus.net' HOSTTYPE = 'i386' SSH_TTY = '/dev/ttyp3' PATH = '/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/home/marc/bin' PWD = '/home/marc/www/wiki/cgi-bin' LOGNAME = 'marc' USER = 'marc' ENV = '/home/marc/.shrc' HOME = '/home/marc' OSTYPE = 'freebsd4.2' MAIL = '/var/mail/marc' MACHTYPE = 'i386--freebsd4.2' PAGER = 'more' OLDPWD = '/home/marc/www/wiki' _ = './test.cgi' EDITOR = 'vi' Admittedly, there is some cleaning up I need to do. I'd appreciate assistance in correcting my web environment if at all possible, though. I'm close, but the variations in syntax of sys.path.append that I've attempted have all failed. Another push in the right direction would once again be greatly appreciated. Hopefully this will be the end of it ;-) -Marc _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From jh at web.de Sun Jan 27 15:19:01 2002 From: jh at web.de (Juergen Hermann) Date: Sun Jan 27 15:19:01 2002 Subject: [Moin-user] Just plain confused at this point... In-Reply-To: Message-ID: On Sun, 27 Jan 2002 22:42:31 +0000, Jack Straw wrote: >[Sun Jan 27 17:20:28 2002] [error] [client 24.240.223.242] Premature end of >script headers: /home/marc/www/wiki/cgi-bin/moin.cgi >env: python: No such file or directory The problems scream into your face. python is not in your $PATH. >*** user directory NOT FOUND (set to '/home/marc/www/wiki/data/user') >*** backup directory NOT FOUND (set to '/home/marc/www/wiki/data/backup') > >*** The edit log '/home/marc/www/wiki/data/editlog' is not writable! These are obvious, too. Ciao, J?rgen From D.WILLIAMS at csee-transport.fr Tue Jan 29 04:03:10 2002 From: D.WILLIAMS at csee-transport.fr (WILLIAMS Dominic) Date: Tue Jan 29 04:03:10 2002 Subject: [Moin-user] Spellchecking, French Message-ID: Details of installation: I added directory C:\software\moin-0.10\MoinMoin\dict In this directory are two files: english.txt and french.txt These files each contain a list of english and french words. Exact symptoms are: when I run a SpellCheck, for example on my FrontPage, I get a page saying: "The following 143 words could not be found in the dictionary of 3 words (including 3 LocalSpellingWords) and are highlighted below:" (Each word with a checkbox, etc...) All the words in the FrontPage are highlighted (none is found in the dictionary...) So, it looks as though only my LocalSpellingWords dictionary is being used, not the main ones... 1) Should I do something special (apart from create the word files in the right place) to tell MoinMoin about my dictionaries? 2) Is there some way to provide you with more detailed symptoms (such as a debug mode?) Thanks for your help... P.S. I tried setting my browser's language to FR, but this had no effect at all. What should happen? I expected system buttons and links (such as FindPage, SpellCheck, RecentChanges, etc. to be in French...) > -----Original Message----- > From: Juergen Hermann [mailto:jh at web.de] > Sent: Friday, January 25, 2002 8:01 PM > To: moin-user at lists.sourceforge.net; WILLIAMS Dominic > Subject: Re: [Moin-user] Spellchecking, French > > > >>> I cannot get the SpellCheck to work. I have put two text files > (downloaded from the Web) with english and french words, in the moin- > 0.10/MoinMoin/dict directory, but the SpellCheck function still does > not work. (I am running MoinMoin on Windows2000, with Python 2.1.1 > > Well, if it doesn't work, you did something wrong. :> > > Can't say more w/o further info, like exact symptoms. > > >>> Another question: I saw in the source code there is an i18n > directory, with some stuff about internationalization. Does this > already work? Is it possible to have MoinMoin work in French? > > Set your browser so that "fr" is the preferred language. > > > Ciao, J?rgen > > > From selvin at korvac.com Tue Jan 29 17:53:02 2002 From: selvin at korvac.com (selvin at korvac.com) Date: Tue Jan 29 17:53:02 2002 Subject: [Moin-user] (no subject) Message-ID: Hi , I am using jspwiki . I have to use CVS along with JSPWiki . my question is " Is it possible to integrate CVS with JSPWIKI?" Thanks and Regards selvin From martineno at mac.com Tue Jan 29 21:59:02 2002 From: martineno at mac.com (Martin Hecko) Date: Tue Jan 29 21:59:02 2002 Subject: [Moin-user] Using MoinMoin on MacOS X 10.1.2 (newbie) Message-ID: I am a newbie in both worlds of unix and MoinMoin, so please be patient. I am interested installing MoinMoin on MacOS X 10.1.2. I was wondering if anybody has specific pointers and things to be aware of when installing on OS X. I looked on MoinMoin Wiki and in the mailing list archives (both user and devel) but found no mention of OS X specifically. I already have Python 2.2 installed (via Fink package manager ) and Python seems to be running well. OS X also includes Apache so it seems like I have all the tools that the installation requires. Should I pull MoinMoin from CVS or use one of the tarballs? If a tarball, is there a particular version which would work best? -- martin From luis at clockwork.nl Wed Jan 30 05:56:21 2002 From: luis at clockwork.nl (Luis Fernandez) Date: Wed Jan 30 05:56:21 2002 Subject: [Moin-user] Customizing moinmoin Message-ID: <002201c1a996$b8c52180$d901a8c0@Scaramea.nl> Hi, I want to setup moinmoin for a group Wiki, but most of my potential users are going to be disturbed by the unusual navigation of a Wiki. So I was thinking of providing a menu on the left hand side with a few bookmarks, that they can resort to if in trouble. I don't grok much Python, but from what I have seen the only things that can be customised without changing the original code are the CSS, the page header and footer. The kind of navigation menu I want to provide can be seen in any of these two links, both running moinmoin: http://www.personaltelco.net/ http://www.bcwireless.net/ Is there anywhere you can point me with information on how to customize the look of moinmoin further than just the CSS, header and footer? TIA, Luis. From jh at web.de Wed Jan 30 12:35:07 2002 From: jh at web.de (Juergen Hermann) Date: Wed Jan 30 12:35:07 2002 Subject: [Moin-user] (no subject) In-Reply-To: Message-ID: On Wed, 30 Jan 2002 09:50:52 +0800, selvin at korvac.com wrote: > I am using jspwiki . Then it might be a good idea to use the mailing list of THAT software. Ciao, J?rgen From jh at web.de Wed Jan 30 12:35:08 2002 From: jh at web.de (Juergen Hermann) Date: Wed Jan 30 12:35:08 2002 Subject: [Moin-user] Using MoinMoin on MacOS X 10.1.2 (newbie) In-Reply-To: Message-ID: On Tue, 29 Jan 2002 21:58:10 -0800, Martin Hecko wrote: >Should I pull MoinMoin from CVS or use one of the tarballs? With Python 2.2, either use 0.11-beta1, or the current CVS version. MacOSX install should be a lot like a normal UNIX install. If you get it to work, please provide instructions on http://purl.net/wiki/moin/HelpOnInstalling_2fApacheOnMacOsx Ciao, J?rgen From jh at web.de Wed Jan 30 12:35:09 2002 From: jh at web.de (Juergen Hermann) Date: Wed Jan 30 12:35:09 2002 Subject: [Moin-user] Customizing moinmoin In-Reply-To: <002201c1a996$b8c52180$d901a8c0@Scaramea.nl> Message-ID: On Wed, 30 Jan 2002 15:02:14 +0100, Luis Fernandez wrote: > Is there anywhere you can point me with information on how to customize >the look of moinmoin further than just the CSS, header and footer? Open a table in config.title2 (only available in 0.11), add the left column, open the right column (receiving the page content), then close the table in config.page_footer1. Ciao, J?rgen From bragiba at simi.is Thu Jan 31 03:31:04 2002 From: bragiba at simi.is (bragiba at simi.is) Date: Thu Jan 31 03:31:04 2002 Subject: [Moin-user] in make_index_key Message-ID: I use make_index_key in one of my macros to create an index. The make_index puts the html end center markup at the end of the additional_html markup. This always forces all your additional html to be centered which is not what I want. If I want my additional html to be centered I can do that myself but I cannot force the end center tag back..... Can you please fix this? My suggestion for a fix is: s = s + string.join(links, '|') + '

' s = s + additional_html def _make_index_key(index_letters, additional_html=""): index_letters.sort() s = '

' links = map(lambda ch: '%s' % (wikiutil.quoteWikiname(ch), string.replace(ch, '~', 'Others')), index_letters) s = s + string.join(links, ' | ') s = s + additional_html + '

' return s Me? kve?ju/Best Regards Bragi Baldursson GPRS Kerfisverkfr??ingur/GPRS Systems Engineer S?mi/Tel.: 550 63 08 mailto:bragiba at siminn.is Fax: 550 63 39 www:http://www.siminn.is Gsm: 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/um_okkur/almennt/tolvupostur.asp 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/english/about_us/email.asp _______________________________________________________________________ From jh at web.de Thu Jan 31 11:12:19 2002 From: jh at web.de (Juergen Hermann) Date: Thu Jan 31 11:12:19 2002 Subject: [Moin-user] in make_index_key In-Reply-To: Message-ID: On Thu, 31 Jan 2002 11:30:32 +0000, bragiba at simi.is wrote: >Can you please fix this? My suggestion for a fix is: Please send a proper patch, i.e. a context diff of wikimacro.py. Ciao, J?rgen From jh at web.de Thu Jan 31 14:07:06 2002 From: jh at web.de (Juergen Hermann) Date: Thu Jan 31 14:07:06 2002 Subject: [Moin-user] UNIX install Message-ID: Can someone try out http://purl.net/wiki/moin/HelpOnInstalling_2fApacheOnUnix and report on any problems? Ciao, J?rgen