From bragiba at simi.is Mon Dec 3 06:28:07 2001 From: bragiba at simi.is (bragiba at simi.is) Date: Mon Dec 3 06:28:07 2001 Subject: [Moin-user] Moin and CVS Message-ID: Until today I thought I had the CVS updating down. So I went through and did an update on the whole directory structure below moin. I had a few conflicts which I attempted to resolve but failed to and ended up in an endless loop of dead-ends. I have asked for this before (but was told by Jurgen to read the manual). Can anoyone please post a simple step by step setup on how you should organize your Moin Moin setup and how to update using CVS and what to do especially if you have conflicts. This information would be greatly appreciated. Best Regards, Bragi 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 Mon Dec 3 09:57:06 2001 From: jh at web.de (Juergen Hermann) Date: Mon Dec 3 09:57:06 2001 Subject: [Moin-user] Re: Moin and CVS In-Reply-To: Message-ID: On Mon, 3 Dec 2001 14:26:54 +0000, bragiba at simi.is wrote: >Until today I thought I had the CVS updating down. So I went through and >did an update on the whole directory structure below moin. I had a few >conflicts which I attempted to resolve but failed to and ended up in an >endless loop of dead-ends. I have asked for this before (but was told by >Jurgen to read the manual). Can anoyone please post a simple step by step >setup on how you should organize your Moin Moin setup and how to update >using CVS and what to do especially if you have conflicts. This >information would be greatly appreciated. I changed the directory layout to better support distutils installation, which I started to describe on http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/HelpOnInstalling It comes down to this: cvs -d .... co moin cd moin py setup.py with the last step optionally modified to py setup.py --home=/home/you This installs all the basic files (especially the MoinMoin package) in standard places. To see a list of all the files, use the --record=filelist option. Ciao, J?rgen -- J?rgen Hermann, Developer (jhe at webde-ag.de) WEB.DE AG, http://webde-ag.de/ From dmd at 3e.org Mon Dec 3 11:18:03 2001 From: dmd at 3e.org (Daniel M. Drucker) Date: Mon Dec 3 11:18:03 2001 Subject: [Moin-user] pretty_url Message-ID: <27359.204.124.247.1.1007406907.squirrel@3e.org> Can anyone tell me if there's a simple way to disable the icons before Interwiki links? Looking at the source, it seems like it's perhaps something to do with a setting of "pretty_url"? Daniel Drucker From jeff at corrt.com Mon Dec 3 13:02:05 2001 From: jeff at corrt.com (Jeff Kunce) Date: Mon Dec 3 13:02:05 2001 Subject: [Moin-user] more little ideas Message-ID: <3.0.2.32.20011203145840.00a1a040@corrt.com> 0.11 is really looking great! This tool is getting really powerful. I have a couple more (hopefully easy) requests: 1) ability to send_page() somewhere besides stdout. send_page() currently uses a mixture of 'print' and sys.stdout.write(...). How about changing those all to output.write(...), and adding: output = keywords.get('output', 0) to the beginning of the method. 2) multi-line macros. I wrote a macro that sends a SQL statement to a database, and displays formatted results. info from a database. I now put the SQL all on one very long line, but it would be a lot more readable if I could use several lines. I'm not good enough with re to suggest an implementation of this. Thanks. --Jeff From jh at web.de Mon Dec 3 16:50:01 2001 From: jh at web.de (Juergen Hermann) Date: Mon Dec 3 16:50:01 2001 Subject: [Moin-user] more little ideas In-Reply-To: <3.0.2.32.20011203145840.00a1a040@corrt.com> Message-ID: On Mon, 03 Dec 2001 14:58:40 -0600, Jeff Kunce wrote: >1) ability to send_page() somewhere besides stdout. sys.stdout = somewhere.else >2) multi-line macros. > >I wrote a macro that sends a SQL statement to a database, and displays >formatted results. info from a database. I now put the SQL all on one very >long line, but it would be a lot more readable if I could use several lines. >I'm not good enough with re to suggest an implementation of this. This will come when I rewrite the parser. Not now, the code is brittle enough. Ciao, J?rgen From jeff at corrt.com Tue Dec 4 10:06:07 2001 From: jeff at corrt.com (Jeff Kunce) Date: Tue Dec 4 10:06:07 2001 Subject: [Moin-user] more little ideas In-Reply-To: References: <3.0.2.32.20011203145840.00a1a040@corrt.com> Message-ID: <3.0.2.32.20011204120240.00a513f0@corrt.com> >>1) ability to send_page() somewhere besides stdout. >sys.stdout = somewhere.else Well, yes, that's what I'm doing now. But sys.stdout is the sewer down which everything is flushed! If there is some problem, and my sys.stdout=__sys.stdout__ doesn't get executed, I end up with a big mess in my somewhere.else pipe. But I guess this is just a matter of coding hygeine, and not a necessity, so I'll change my "request" to a "suggestion for the future" :) >>2) multi-line macros. >This will come when I rewrite the parser. OK - a rewrite is much better than a patch - I will wait patiently. Thanks again. --Jeff From cmedcoff at hotmail.com Tue Dec 4 16:30:04 2001 From: cmedcoff at hotmail.com (Charles Medcoff) Date: Tue Dec 4 16:30:04 2001 Subject: [Moin-user] type errors Message-ID: I've seen this same problem on a deployment that was a .10 install. I am running a second .10 wiki that was an upgrade from .9 and it doesn't have the problem. I'm not sure I want to get code directly out of CVS. Is it stable? >> Daniel M. Drucker wrote... Yeah, um... I upgraded to the latest CVS instead of 0.10. That made it work. Email notification still gives all sorts of weird string.join errors, but I don't need that feature. ----- Original Message ----- From: "Jeff Kunce" <> To: "Daniel M. Drucker" <> Sent: Wednesday, November 28, 2001 11:35 AM Subject: Re: [Moin-user] type errors > >I'm running 0.10, and everything seems to work except for > >[[RecentChanges]]. When I try to use that, I get a TypeError. > > > >You can see the error if you go here: > >http://3e.org/notes/moin.cgi/problem > > works OK when I go there :-) > > --Jeff > > > _______________________________________________ Moin-user mailing list https://lists.sourceforge.net/lists/listinfo/moin-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From jh at web.de Tue Dec 4 19:09:04 2001 From: jh at web.de (Juergen Hermann) Date: Tue Dec 4 19:09:04 2001 Subject: [Moin-user] type errors In-Reply-To: Message-ID: I'm not sure I want to get code directly out of CVS. Is it stable? See yourself on http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/FrontPage Ciao, J?rgen -------------- next part -------------- An HTML attachment was scrubbed... URL: From bragiba at simi.is Wed Dec 5 01:57:07 2001 From: bragiba at simi.is (bragiba at simi.is) Date: Wed Dec 5 01:57:07 2001 Subject: [Moin-user] Re: Moin and CVS Message-ID: Pardon my seemingly absolute lack of knowledge of CVS. Do I first update the cvs root by with cvs -d: The command you listed below cvs -d ... co moin does not ring any bells with me. Can you explain it a little better. Thank you, Bragi 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 - "Juergen Hermann" To: "bragiba at simi.is" , "MoinMoin Users" cc: 03.12.2001 Subject: Re: Moin and CVS 17:56 Please respond to "Juergen Hermann" On Mon, 3 Dec 2001 14:26:54 +0000, bragiba at simi.is wrote: >Until today I thought I had the CVS updating down. So I went through and >did an update on the whole directory structure below moin. I had a few >conflicts which I attempted to resolve but failed to and ended up in an >endless loop of dead-ends. I have asked for this before (but was told by >Jurgen to read the manual). Can anoyone please post a simple step by step >setup on how you should organize your Moin Moin setup and how to update >using CVS and what to do especially if you have conflicts. This >information would be greatly appreciated. I changed the directory layout to better support distutils installation, which I started to describe on http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/HelpOnInstalling It comes down to this: cvs -d .... co moin cd moin py setup.py with the last step optionally modified to py setup.py --home=/home/you This installs all the basic files (especially the MoinMoin package) in standard places. To see a list of all the files, use the --record=filelist option. Ciao, J?rgen -- J?rgen Hermann, Developer (jhe at webde-ag.de) WEB.DE AG, http://webde-ag.de/ _______________________________________________________________________ ?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 bragiba at simi.is Wed Dec 5 06:19:10 2001 From: bragiba at simi.is (bragiba at simi.is) Date: Wed Dec 5 06:19:10 2001 Subject: [Moin-user] Re: Moin and CVS Message-ID: I am using WinCvs as I think that it would be easier for me to work with a GUI driven environment. This is my attempt at explaining to people like myself on how to get the MoinMoin distribution using WinCvs and how to maintain it using WinCvs. I hope some other people will try this out and add to the instructions as the get comfortable. 1. Download WinCvs from www.wincvs.org 2. Run WinCvs 3. Open WinCvs and select your work area location (the location where you intend to store your MoinMoin distribution). In this case I chose C: \Temp\MoinMoin 4. Setup WinCvs to point to the moin source code on sourceforge.net. i. Select Admin-->Preferences... ii. The WinCvs Preferences dialog pops up as shown below: (Embedded image moved to file: pic18756.pcx) iii. In the General folder set: Authentication: pserver Path: /cvsroot/moin Host address: cvs.moin.sourceforge.net User name: anonymous CVSROOT: Will get filled in automatically but should be anonymous at cvs.moin.sourceforge.net:/cvsroot/moin iv. In the Globals folder toggle ON: Checkout read-only, Dirty files support, Supply control when adding files, Prune (remove) empty directories. All other fields should be toggled OFF v. In the WinCvs folder you can specify a default Viewer used to open files and and external diff program. I respectively use TextPad and WinMerge as my programs of choice. Set the HOME folder (where cvs stores your passwords) to c:\Temp\MoinMoin. 5. Click OK to pop down the dialog. 6. Now it is time to get the source code distribution from sourceforge.net and into your work area. Select Admin-->Login... to login to the server on sourceforge. As you are logging in as anonymous simply press Enter when prompted for a password. 7. Get the source code by selecting Create --> Checkout Module... The Checkout settings dialog box appears. You should only need to specify the module you wish to check out from the server. In our case we want the complete moin distribution so we as for moin. i. Enter the module name and pathn on hte server: moin Your command line interface (the bottom window in your WinCvs main window) will show a list of files it checked out similar to the one below. cvs checkout -P moin (in directory C:\temp\MoinMoin) cvs server: Updating U moin/moinlogo.bmp U moin/setup.cfg U moin/setup.py cvs server: Updating moin/contributions U moin/contributions/README cvs server: Updating moin/contributions/IncludeFile [...snip...] [snip] [...snip...] U MoinMoin/wikixml/util.py U MoinMoin/wikixml/wikiexport.py U MoinMoin/wikixml/xsltutil.py cvs server: Updating MoinMoin/xml 8. Now let?s say you modify a file in MoinMoin to suit your own needs. Say you add 2 lines to cgimain.py: # I am adding a comment line and a dummy value to cgimain.py to see if WinCvs will pick up diffs. dummyValue = 0 9. Now let?s do an update by selecting the cgimain.py file in our work area in the WinCvs main window and select Modify-->Update selection... You will notice that your cgimain.py file will turn red to indicate that it has changed and you should receive the following output indicating the the file cgimain.py differs from the source file on the server and should be merge. cvs update cgimain.py (in directory C:\temp\MoinMoin\moin\MoinMoin\) M cgimain.py 10. Now you can view your differences by right clicking on cgimain.py and toggling on the external diff check box. Alternatively you can get a text diff in your command line interface: In our case you would get the following output. cvs diff cgimain.py (in directory C:\temp\MoinMoin\moin\MoinMoin\) Index: cgimain.py =================================================================== RCS file: /cvsroot/moin/MoinMoin/cgimain.py,v retrieving revision 1.34 diff -r1.34 cgimain.py 12c12,13 < --- > # I am adding a comment line and a dummy value to cgimain.py to see if WinCvs will pick up diffs. > dummyValue = 0 You can choose to ignore these differences or you can go in and edit your work area file to match what is on the server. Since in most cases you will not be updating your changes to the source code you should not need to worry about this. A visual check is however always good. I hope that this Cvs for dropped-on-the-head-dummies will be useful for someone and I welcome any discussions or comments on it. Of course you still need to hook up your MoinMoin to IIS or whatever you are using as your web server............ Best of Luck and MOINMOIN absolutely ROCKS..... KICKS ASS..... MOIN MOIN .... Insert your own motivational words..... Best Regards, Bragi _______________________________________________________________________ ?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: pic18756.pcx Type: application/octet-stream Size: 23188 bytes Desc: not available URL: From cmedcoff at hotmail.com Wed Dec 5 11:07:02 2001 From: cmedcoff at hotmail.com (Charles Medcoff) Date: Wed Dec 5 11:07:02 2001 Subject: [Moin-user] type errors References: Message-ID: I've found the source of the problem. The backup dir did not exist. I just created an empty directory named "backup" and that took care of it. Not sure what happened to all of the various revisions of the pages. Perhaps they did not get saved? I haven't investigated this yet. ----- Original Message ----- From: Juergen Hermann To: Charles Medcoff ; moin-user at lists.sourceforge.net Sent: Tuesday, December 04, 2001 10:09 PM Subject: RE: [Moin-user] type errors I'm not sure I want to get code directly out of CVS. Is it stable? See yourself on http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/FrontPage Ciao, J?rgen -------------- next part -------------- An HTML attachment was scrubbed... URL: From jh at web.de Wed Dec 5 18:10:01 2001 From: jh at web.de (Juergen Hermann) Date: Wed Dec 5 18:10:01 2001 Subject: [Moin-user] To fancy or not to fancy Message-ID: Someone wanted non-fancy links, this is now a user setting. Ciao, J?rgen From bragiba at simi.is Thu Dec 6 03:47:03 2001 From: bragiba at simi.is (bragiba at simi.is) Date: Thu Dec 6 03:47:03 2001 Subject: [Moin-user] Installation and new directory structure Message-ID: I think there is some confusion with the url_prefix variable. This might only come about when you use IIS. Let me explain. I setup IIS such that my virtual directory points to myInstallationDirectory\moin\wiki\ The url_prefix in moin_config.py is url_prefix = '/wiki' but it should be '/wiki/htdocs' given the new directory structure 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 bragiba at simi.is Thu Dec 6 07:39:02 2001 From: bragiba at simi.is (bragiba at simi.is) Date: Thu Dec 6 07:39:02 2001 Subject: [Moin-user] anchor keyword added to link_to in Page.py Message-ID: I finally got around to adding the anchor keyword to link_to: def link_to(self, text=None, querystr=None, anchor=None): """Return HTML markup that links to this page""" word = self.page_name text = text or word fmt = getattr(self, 'formatter', None) url = wikiutil.quoteWikiname(word) if querystr: url = "%s?%s" % (url, querystr) if anchor: url = "%s#%s" % (url, anchor) if self.exists(): return wikiutil.link_tag(url, text, formatter=fmt) else: if config.nonexist_qm: return wikiutil.link_tag(url, '?', 'nonexistent', formatter=fmt) + text else: return wikiutil.link_tag(url, text, 'nonexistent', formatter=fmt) 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 Dec 6 11:27:05 2001 From: jh at web.de (Juergen Hermann) Date: Thu Dec 6 11:27:05 2001 Subject: [Moin-user] Re: anchor keyword added to link_to in Page.py In-Reply-To: Message-ID: On Thu, 6 Dec 2001 15:37:41 +0000, bragiba at simi.is wrote: > if anchor: url = "%s#%s" % (url, anchor) Added, only that I escape the anchor with quote_plus. Ciao, J?rgen From jh at web.de Thu Dec 6 11:37:14 2001 From: jh at web.de (Juergen Hermann) Date: Thu Dec 6 11:37:14 2001 Subject: [Moin-user] Installation and new directory structure In-Reply-To: Message-ID: On Thu, 6 Dec 2001 11:46:00 +0000, bragiba at simi.is wrote: >The url_prefix in moin_config.py is url_prefix = '/wiki' but it should be >'/wiki/htdocs' given the new directory structure No. There is no relationship of filesystem names to URIs on a server (unless you make them equal). From my httpd.conf here at home: Alias /wiki/ "C:/Python/sourceforge/moin/wiki/htdocs/" i.e. /wiki is an alias for the public "wiki ht(ml)docs" which are in ".../wiki/htdocs" on the file system level. It'd have to be wiki/htdocs/wiki to get that equality, but that would introduce a total unnecessary directory level. Ciao, J?rgen From dmd at 3e.org Thu Dec 6 13:46:02 2001 From: dmd at 3e.org (Daniel M. Drucker) Date: Thu Dec 6 13:46:02 2001 Subject: [Moin-user] Why can't I install? Message-ID: <001101c17e9f$4f0804f0$0100a8c0@miso> I feel really stupid. What am I doing wrong? What is wrong with my Python/distutils installation? Someone please help me :) Daniel Drucker Script started on Thu Dec 6 16:42:02 2001 (3e) 04:42pm ~/tmp % cvs -d:pserver:anonymous at cvs.moin.sourceforge.net:/cvsroot/moin login (Logging in to anonymous at cvs.moin.sourceforge.net) CVS password: (3e) 04:42pm ~/tmp % cvs -z3 -d:pserver:anonymous at cvs.moin.sourceforge.net:/cvsroot/moin co moin cvs server: Updating moin U moin/.cvsignore U moin/CHANGES U moin/COPYING U moin/ChangeLog U moin/INSTALL U moin/INSTALL.IIS U moin/MANIFEST.in U moin/README U moin/TODO U moin/moinlogo.bmp U moin/setup.cfg U moin/setup.py cvs server: Updating moin/contributions U moin/contributions/README cvs server: Updating moin/contributions/IncludeFile U moin/contributions/IncludeFile/IncludeFile.py U moin/contributions/IncludeFile/UploadFile.cgi cvs server: Updating moin/contributions/IncludeFile/docs U moin/contributions/IncludeFile/docs/IncludeFile.html U moin/contributions/IncludeFile/docs/IncludeFile.txt U moin/contributions/IncludeFile/docs/IncludeFile_Example_of_Syntax.jpg U moin/contributions/IncludeFile/docs/IncludeFile_Example_of_loading_a_file.jp g U moin/contributions/IncludeFile/docs/IncludeFile_Example_of_result.jpg U moin/contributions/IncludeFile/docs/IncludeFile_Example_of_selecting_a_file. jpg U moin/contributions/IncludeFile/docs/alert.gif U moin/contributions/IncludeFile/docs/devilish_smiley.gif U moin/contributions/IncludeFile/docs/moin-www.gif cvs server: Updating moin/contributions/plugin cvs server: Updating moin/contributions/plugin/action cvs server: Updating moin/contributions/plugin/macro U moin/contributions/plugin/macro/HTML.py U moin/contributions/plugin/macro/NewWindow.py cvs server: Updating moin/moin.sourceforge.net U moin/moin.sourceforge.net/default.css U moin/moin.sourceforge.net/index.html U moin/moin.sourceforge.net/moinmoin.gif U moin/moin.sourceforge.net/moinmoin.wiki cvs server: Updating moin/wiki cvs server: Updating moin/wiki/cgi-bin U moin/wiki/cgi-bin/moin.cgi U moin/wiki/cgi-bin/moin_config.py U moin/wiki/cgi-bin/test.cgi cvs server: Updating moin/wiki/data U moin/wiki/data/.cvsignore U moin/wiki/data/intermap.txt cvs server: Updating moin/wiki/data/text U moin/wiki/data/text/CategoryCategory U moin/wiki/data/text/CategoryHomepage U moin/wiki/data/text/FindPage U moin/wiki/data/text/FrontPage U moin/wiki/data/text/HelpContents U moin/wiki/data/text/HelpForBeginners U moin/wiki/data/text/HelpIndex U moin/wiki/data/text/HelpOnAdministration U moin/wiki/data/text/HelpOnConfiguration U moin/wiki/data/text/HelpOnEditing U moin/wiki/data/text/HelpOnFormatting U moin/wiki/data/text/HelpOnHeadlines U moin/wiki/data/text/HelpOnInstalling U moin/wiki/data/text/HelpOnLinking U moin/wiki/data/text/HelpOnLists U moin/wiki/data/text/HelpOnMacros U moin/wiki/data/text/HelpOnNavigation U moin/wiki/data/text/HelpOnPageCreation U moin/wiki/data/text/HelpOnPageDeletion U moin/wiki/data/text/HelpOnProcessingInstructions U moin/wiki/data/text/HelpOnRules U moin/wiki/data/text/HelpOnSmileys U moin/wiki/data/text/HelpOnSpellCheck U moin/wiki/data/text/HelpOnTables U moin/wiki/data/text/HelpOnUpdating U moin/wiki/data/text/HelpOnXmlPages U moin/wiki/data/text/HelpTemplate U moin/wiki/data/text/HomepageTemplate U moin/wiki/data/text/IndexingScheme U moin/wiki/data/text/InterWiki U moin/wiki/data/text/LocalSpellingWords U moin/wiki/data/text/MoinMoin U moin/wiki/data/text/MoinMoinFaq U moin/wiki/data/text/OrphanedPages U moin/wiki/data/text/Python4Suite U moin/wiki/data/text/PythonLanguage U moin/wiki/data/text/RandomPage U moin/wiki/data/text/RecentChanges U moin/wiki/data/text/StructuredText U moin/wiki/data/text/SystemInfo U moin/wiki/data/text/TitleIndex U moin/wiki/data/text/UserPreferences U moin/wiki/data/text/WantedPages U moin/wiki/data/text/WikiHomePage U moin/wiki/data/text/WikiName U moin/wiki/data/text/WikiSandBox U moin/wiki/data/text/WikiWikiWeb U moin/wiki/data/text/WordIndex U moin/wiki/data/text/XsltVersion cvs server: Updating moin/wiki/htdocs U moin/wiki/htdocs/index.html cvs server: Updating moin/wiki/htdocs/css U moin/wiki/htdocs/css/moinmoin.css cvs server: Updating moin/wiki/htdocs/img U moin/wiki/htdocs/img/PythonPowered.gif U moin/wiki/htdocs/img/alert.gif U moin/wiki/htdocs/img/angry.gif U moin/wiki/htdocs/img/attention.gif U moin/wiki/htdocs/img/biggrin.gif U moin/wiki/htdocs/img/checkmark.gif U moin/wiki/htdocs/img/devil.gif U moin/wiki/htdocs/img/draft.png U moin/wiki/htdocs/img/eek.gif U moin/wiki/htdocs/img/eyes.gif U moin/wiki/htdocs/img/frown.gif U moin/wiki/htdocs/img/icon-error.gif U moin/wiki/htdocs/img/icon-info.gif U moin/wiki/htdocs/img/idea.gif U moin/wiki/htdocs/img/lol.gif U moin/wiki/htdocs/img/moin-deleted.gif U moin/wiki/htdocs/img/moin-diff.gif U moin/wiki/htdocs/img/moin-edit.gif U moin/wiki/htdocs/img/moin-email-x.gif U moin/wiki/htdocs/img/moin-email.gif U moin/wiki/htdocs/img/moin-ftp.gif U moin/wiki/htdocs/img/moin-help.gif U moin/wiki/htdocs/img/moin-info.gif U moin/wiki/htdocs/img/moin-inter.gif U moin/wiki/htdocs/img/moin-new.gif U moin/wiki/htdocs/img/moin-news.gif U moin/wiki/htdocs/img/moin-popup.gif U moin/wiki/htdocs/img/moin-print.gif U moin/wiki/htdocs/img/moin-rss.gif U moin/wiki/htdocs/img/moin-search.gif U moin/wiki/htdocs/img/moin-show.gif U moin/wiki/htdocs/img/moin-telnet.gif U moin/wiki/htdocs/img/moin-updated.gif U moin/wiki/htdocs/img/moin-www.gif U moin/wiki/htdocs/img/moin-xml.gif U moin/wiki/htdocs/img/moin-xml2.gif U moin/wiki/htdocs/img/moinmoin.gif U moin/wiki/htdocs/img/ohwell.gif U moin/wiki/htdocs/img/prio1.gif U moin/wiki/htdocs/img/prio2.gif U moin/wiki/htdocs/img/prio3.gif U moin/wiki/htdocs/img/redface.gif U moin/wiki/htdocs/img/sad.gif U moin/wiki/htdocs/img/smile.gif U moin/wiki/htdocs/img/smile2.gif U moin/wiki/htdocs/img/smile3.gif U moin/wiki/htdocs/img/smile4.gif U moin/wiki/htdocs/img/tired.gif U moin/wiki/htdocs/img/tongue.gif cvs server: Updating MoinMoin U MoinMoin/.cvsignore U MoinMoin/Page.py U MoinMoin/__init__.py U MoinMoin/_template.py U MoinMoin/caching.py U MoinMoin/cgimain.py U MoinMoin/config.py U MoinMoin/editlog.py U MoinMoin/httpdmain.py U MoinMoin/request.py U MoinMoin/security.py U MoinMoin/user.py U MoinMoin/userform.py U MoinMoin/util.py U MoinMoin/version.py U MoinMoin/wikiaction.py U MoinMoin/wikiform.py U MoinMoin/wikimacro.py U MoinMoin/wikiutil.py cvs server: Updating MoinMoin/action U MoinMoin/action/.cvsignore U MoinMoin/action/AttachFile.py U MoinMoin/action/DeletePage.py U MoinMoin/action/LikePages.py U MoinMoin/action/LocalSiteMap.py U MoinMoin/action/SpellCheck.py U MoinMoin/action/__init__.py U MoinMoin/action/titleindex.py cvs server: Updating MoinMoin/bin cvs server: Updating MoinMoin/dict cvs server: Updating MoinMoin/formatter U MoinMoin/formatter/.cvsignore U MoinMoin/formatter/__init__.py U MoinMoin/formatter/base.py U MoinMoin/formatter/text_html.py U MoinMoin/formatter/text_plain.py U MoinMoin/formatter/text_xml.py cvs server: Updating MoinMoin/i18n U MoinMoin/i18n/.cvsignore U MoinMoin/i18n/__init__.py U MoinMoin/i18n/_check.py U MoinMoin/i18n/_sync.py U MoinMoin/i18n/de.py U MoinMoin/i18n/fi.py U MoinMoin/i18n/fr.py U MoinMoin/i18n/nl.py U MoinMoin/i18n/pt.py U MoinMoin/i18n/sv.py U MoinMoin/i18n/zh.py cvs server: Updating MoinMoin/macro U MoinMoin/macro/.cvsignore U MoinMoin/macro/AbandonedPages.py U MoinMoin/macro/BR.py U MoinMoin/macro/FullSearch.py U MoinMoin/macro/Include.py U MoinMoin/macro/OrphanedPages.py U MoinMoin/macro/RandomPage.py U MoinMoin/macro/RecentChanges.py U MoinMoin/macro/SystemAdmin.py U MoinMoin/macro/TableOfContents.py U MoinMoin/macro/TeudView.py U MoinMoin/macro/WantedPages.py U MoinMoin/macro/__init__.py cvs server: Updating MoinMoin/moin.sourceforge.net cvs server: Updating MoinMoin/parser U MoinMoin/parser/.cvsignore U MoinMoin/parser/__init__.py U MoinMoin/parser/plain.py U MoinMoin/parser/python.py U MoinMoin/parser/wiki.py U MoinMoin/parser/xslt.py cvs server: Updating MoinMoin/py15 U MoinMoin/py15/.cvsignore U MoinMoin/py15/Cookie.py U MoinMoin/py15/__init__.py cvs server: Updating MoinMoin/scripts U MoinMoin/scripts/.cvsignore U MoinMoin/scripts/__init__.py U MoinMoin/scripts/_util.py U MoinMoin/scripts/moin_create.py cvs server: Updating MoinMoin/support U MoinMoin/support/.cvsignore U MoinMoin/support/__init__.py U MoinMoin/support/cgitb.py U MoinMoin/support/inspect.py U MoinMoin/support/pydoc.py cvs server: Updating MoinMoin/twisted U MoinMoin/twisted/.cvsignore U MoinMoin/twisted/__init__.py cvs server: Updating MoinMoin/webapi U MoinMoin/webapi/.cvsignore U MoinMoin/webapi/__init__.py U MoinMoin/webapi/cgiMoin.py U MoinMoin/webapi/twistedMoin.py cvs server: Updating MoinMoin/wiki-moinmoin cvs server: Updating MoinMoin/wiki-moinmoin/data cvs server: Updating MoinMoin/wiki-moinmoin/data/backup cvs server: Updating MoinMoin/wiki-moinmoin/data/text cvs server: Updating MoinMoin/wiki-moinmoin/img cvs server: Updating MoinMoin/wikixml U MoinMoin/wikixml/.cvsignore U MoinMoin/wikixml/__init__.py U MoinMoin/wikixml/util.py U MoinMoin/wikixml/wikiexport.py U MoinMoin/wikixml/xsltutil.py cvs server: Updating MoinMoin/xml (3e) 04:42pm ~/tmp % ls moin typescript (3e) 04:42pm ~/tmp % cd moin (3e) 04:42pm ~/tmp/moin % ls ChangeLog CVS moinlogo.bmp setup.cfg CHANGES INSTALL MoinMoin setup.py contributions INSTALL.IIS moin.sourceforge.net TODO COPYING MANIFEST.in README wiki (3e) 04:42pm ~/tmp/moin % python2 setup.py install running install Traceback (most recent call last): File "setup.py", line 187, in ? apply(setup, (), setup_args) File "/var/tmp/python2-2.1.1-root/usr/lib/python2.1/distutils/core.py", line 138, in setup File "/var/tmp/python2-2.1.1-root/usr/lib/python2.1/distutils/dist.py", line 899, in run_commands File "/var/tmp/python2-2.1.1-root/usr/lib/python2.1/distutils/dist.py", line 918, in run_command File "/usr/lib/python2.1/cmd.py", line 112, in ensure_finalized return self.default(line) File "/var/tmp/python2-2.1.1-root/usr/lib/python2.1/distutils/command/in stall.py", line 256, in finalize_options File "/var/tmp/python2-2.1.1-root/usr/lib/python2.1/distutils/sysconfig. py", line 370, in get_config_vars File "/var/tmp/python2-2.1.1-root/usr/lib/python2.1/distutils/sysconfig. py", line 302, in _init_posix distutils.errors.DistutilsPlatformError: invalid Python installation: unab le to open /usr/lib/python2.1/config/Makefile (No such file or directory) (3e) 04:42pm ~/tmp/moin % echo $PYTHONPATH /usr/lib/python2.1 (3e) 04:43pm ~/tmp/moin % exit Script done on Thu Dec 6 16:43:12 2001 From dmd at 3e.org Thu Dec 6 13:51:03 2001 From: dmd at 3e.org (Daniel M. Drucker) Date: Thu Dec 6 13:51:03 2001 Subject: [Moin-user] Re: Why can't I install? Message-ID: <002201c17ea0$02f65610$0100a8c0@miso> > I feel really stupid. What am I doing wrong? What is wrong with my > Python/distutils installation? Someone please help me :) Is this because my host don't have python-devel installed? Daniel Drucker From jh at web.de Thu Dec 6 14:51:02 2001 From: jh at web.de (Juergen Hermann) Date: Thu Dec 6 14:51:02 2001 Subject: [Moin-user] Re: Why can't I install? In-Reply-To: <002201c17ea0$02f65610$0100a8c0@miso> Message-ID: On Thu, 06 Dec 2001 16:48:08 -0500, Daniel M. Drucker wrote: >> I feel really stupid. What am I doing wrong? What is wrong with my >> Python/distutils installation? Someone please help me :) > >Is this because my host don't have python-devel installed? Yes. A typical error of winux... errrr debian users. ;) Ciao, J?rgen From adam at personaltelco.net Thu Dec 6 16:44:01 2001 From: adam at personaltelco.net (Adam Shand) Date: Thu Dec 6 16:44:01 2001 Subject: [Moin-user] Re: Why can't I install? In-Reply-To: Message-ID: > >Is this because my host don't have python-devel installed? > > Yes. A typical error of winux... errrr debian users. ;) in defense of debian, python-devel is a redhat package. if he was using debian it would python-dev or python2-dev. ;) adam. From dmd at 3e.org Fri Dec 7 05:15:14 2001 From: dmd at 3e.org (Daniel M. Drucker) Date: Fri Dec 7 05:15:14 2001 Subject: [Moin-user] LikePages traceback Message-ID: <54082.204.124.247.1.1007730895.squirrel@3e.org> This is what I get when I click on LikePages. Code is CVS from 1150UTC today (friday). 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 first. The exception attributes are: args = ("'None' object has no attribute 'group'",) /home/threee/moin/lib/python2.1/site-packages/MoinMoin/action/LikePages.py in execute(pagename='fep not responding', form=FieldStorage(None, None, [MiniFieldStorage('action', 'LikePages')]), s_re=, e_re=) 25 # figure the start and end words 26 match = s_re.match(pagename) 27 start = match.group(1) start = undefined, match = None, global group = undefined 28 s_len = len(start) 29 match = e_re.search(pagename) /home/threee/moin/lib/python2.1/site-packages/MoinMoin/cgimain.py in run (properties={}) 190 try: 191 from MoinMoin.support import cgitb 192 cgitb.handler() cgitb = , handler = 193 except: 194 cgi.print_exception() From dmd at 3e.org Fri Dec 7 05:29:03 2001 From: dmd at 3e.org (Daniel M. Drucker) Date: Fri Dec 7 05:29:03 2001 Subject: [Moin-user] page_front_page In-Reply-To: <54082.204.124.247.1.1007730895.squirrel@3e.org> References: <54082.204.124.247.1.1007730895.squirrel@3e.org> Message-ID: <56842.204.124.247.1.1007731678.squirrel@3e.org> In config.py, FrontPage  should use page_front_page instead of hardcoded 'FrontPage'. Daniel From bragiba at simi.is Fri Dec 7 07:37:02 2001 From: bragiba at simi.is (bragiba at simi.is) Date: Fri Dec 7 07:37:02 2001 Subject: [Moin-user] Billenium bug Message-ID: 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. FROM: Juergen Hermann DATE: 12/06/2001?10:37:26 SUBJECT: RE: [Moin-user] Installation and new directory structure On Thu, 6 Dec 2001 11:46:00 +0000, wrote: >The url_prefix in moin_config.py is url_prefix = '/wiki' but it should be >'/wiki/htdocs' given the new directory structure No. There is no relationship of filesystem names to URIs on a server (unless you make them equal). From my httpd.conf here at home: Alias /wiki/ "C:/Python/sourceforge/moin/wiki/htdocs/" i.e. /wiki is an alias for the public "wiki ht(ml)docs" which are in ".../wiki/htdocs" on the file system level. It'd have to be wiki/htdocs/wiki to get that equality, but that would introduce a total unnecessary directory level. Ciao, J?rgen 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 _______________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: pic17410.pcx Type: application/octet-stream Size: 3556 bytes Desc: not available URL: From jh at web.de Fri Dec 7 13:11:02 2001 From: jh at web.de (Juergen Hermann) Date: Fri Dec 7 13:11:02 2001 Subject: [Moin-user] IIS Installation In-Reply-To: Message-ID: 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 From jh at web.de Fri Dec 7 13:38:05 2001 From: jh at web.de (Juergen Hermann) Date: Fri Dec 7 13:38:05 2001 Subject: [Moin-user] page_front_page In-Reply-To: <56842.204.124.247.1.1007731678.squirrel@3e.org> Message-ID: On Fri, 7 Dec 2001 08:27:58 -0500 (EST), Daniel M. Drucker wrote: >In config.py, > >FrontPage  > > >should use page_front_page instead of hardcoded 'FrontPage'. Noted, but I will probably remove navi_bar altogether and create the html code from a list of page names (cf. the bookmarks list of http://openwiki.com/?UserPreferences). Ciao, J?rgen From dmd at 3e.org Sat Dec 8 11:17:02 2001 From: dmd at 3e.org (Daniel M. Drucker) Date: Sat Dec 8 11:17:02 2001 Subject: [Moin-user] identical files Message-ID: <1703.24.4.252.10.1007838995.squirrel@3e.org> Question: in CVS, what's the difference between the files in MoinMoin/ and build/lib/MoinMoin/ ? From jh at web.de Sat Dec 8 11:27:02 2001 From: jh at web.de (Juergen Hermann) Date: Sat Dec 8 11:27:02 2001 Subject: [Moin-user] identical files In-Reply-To: <1703.24.4.252.10.1007838995.squirrel@3e.org> Message-ID: On Sat, 8 Dec 2001 14:16:35 -0500 (EST), Daniel M. Drucker wrote: >in CVS, what's the difference between the files in > >MoinMoin/ > >and > >build/lib/MoinMoin/ build is not in CVS, it's created by distutils. Ciao, J?rgen From dmd at 3e.org Sun Dec 9 15:19:03 2001 From: dmd at 3e.org (Daniel M. Drucker) Date: Sun Dec 9 15:19:03 2001 Subject: [Moin-user] cgitb problem Message-ID: <2863.24.190.70.1.1007939928.squirrel@3e.org> In the latest CVS update I get this when accessing the Moinmoin. TypeError: coercing to Unicode: need string or buffer, None found Python 2.1.1 /usr/local/bin/python2 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 first. The exception attributes are: args = ('coercing to Unicode: need string or buffer, None found',) /home/threee/moin/lib/python2.1/site-packages/MoinMoin/cgimain.py in run (properties={}) 204 try: 205 from MoinMoin.support import cgitb 206 cgitb.handler() cgitb = , handler = undefined 207 except: 208 cgi.print_exception() From dmd at 3e.org Sun Dec 9 18:34:05 2001 From: dmd at 3e.org (Daniel M. Drucker) Date: Sun Dec 9 18:34:05 2001 Subject: [Moin-user] incorrect form action? Message-ID: <003601c18123$6acf8d30$0146be18@miso> Typing something into the new search box at the bottom of the page leads nowhere. http://3e.org/notes/ type "thing" into the title search box at the footer of the page result: The requested URL /notes/FrontPage was not found on this server. The form action is
It should probably be action="moin.cgi/FrontPage" or something like that perhaps? From bragiba at simi.is Tue Dec 11 03:00:02 2001 From: bragiba at simi.is (bragiba at simi.is) Date: Tue Dec 11 03:00:02 2001 Subject: [Moin-user] CGI timeout on IIS Message-ID: After my new installation I usually have a problem where the cgi script times out. It hangs in the processing loop. If I stop and relaod it works fine and I get all my changes. If I let it go undisturbed it always ends up timing out. Does anyone have similar problems..... See error below 5.3.1 AbbreviatioHTTP/1.1 502 Gateway Error Server: Microsoft-IIS/5.0 Date: Tue, 11 Dec 2001 10:54:03 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. 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 bragiba at simi.is Thu Dec 13 02:06:03 2001 From: bragiba at simi.is (bragiba at simi.is) Date: Thu Dec 13 02:06:03 2001 Subject: [Moin-user] IIS and hanging searches Message-ID: 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 _______________________________________________________________________ From bragiba at simi.is Thu Dec 13 06:05:05 2001 From: bragiba at simi.is (bragiba at simi.is) Date: Thu Dec 13 06:05:05 2001 Subject: [Moin-user] Suggestion on image extensions Message-ID: There are several way to insert external references[1] into the text: direct URL insertion; if the URL ends in an image extension (".gif", ".jpg" or ".png"), the URL is converted to an image tag. Can we add a list of image extensions to moin_config.py such that you can configure your own image extensions. I for example have a plug-in on my browser that allows me to view Autocad images with a .dwf extension. I would like to have a variable in moin_config called: imageExtensions = [".gif", ".jpg", ".png"] You can then add your own image extensions 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 alex at upful.org Sat Dec 15 09:09:02 2001 From: alex at upful.org (Alexander Anderson) Date: Sat Dec 15 09:09:02 2001 Subject: [Moin-user] MoinMoin with Apache mod_rewrite Message-ID: <20011215120840.A85125@dusty.upful.org> Greetings, I'm going to tell how I used mod_rewrite to shorten URL's from: http://www.example.com/cgi-bin/moin/moin/FrontPage to: http://www.example.com/FrontPage Step 1. I used this rewrite rule: RewriteRule ^/(.*) /cgi-bin/moin/moin/$1 [PT] Step 2. I changed SCRIPT_NAME environmental variable in "moin_config.py" as follows: #v+ =================================================================== RCS file: RCS/moin_config.py,v retrieving revision 1.1 diff -u -r1.1 moin_config.py --- moin_config.py 2001/12/15 15:46:48 1.1 +++ moin_config.py 2001/12/15 16:50:21 @@ -6,7 +6,12 @@ $Id: moin_config.py,v 1.1 2001/12/15 15:46:48 root Exp root $ """ + +import os + __version__ = "$Revision: 1.1 $"[11:-2] + +os.environ['SCRIPT_NAME'] = "" # basic options data_dir = './data/' #v- As far as I could observe, SCRIPT_NAME is prepended to every internal link by MoinMoin. This is how it's done. And now the question to the developers and hackers: could I have broken something (that I didn't notice yet) by unsetting SCRIPT_NAME variable? Thank you ladies and gentlemen. From alex at upful.org Wed Dec 19 20:08:03 2001 From: alex at upful.org (Alexander Anderson) Date: Wed Dec 19 20:08:03 2001 Subject: [Moin-user] MoinMoin with Apache mod_rewrite In-Reply-To: <20011215120840.A85125@dusty.upful.org>; from alex@upful.org on Sat, Dec 15, 2001 at 12:08:40PM -0500 References: <20011215120840.A85125@dusty.upful.org> Message-ID: <20011219230801.A22412@dusty.upful.org> Please let me correct one detail: > Step 1. > > I used this rewrite rule: RewriteRule ^/moin(.*) /moin$1 [L] > RewriteRule ^/(.*) /cgi-bin/moin/moin/$1 [PT] It does not have much to do with MoinMoin though so I'll stop right here. From jh at web.de Thu Dec 20 11:09:03 2001 From: jh at web.de (Juergen Hermann) Date: Thu Dec 20 11:09:03 2001 Subject: [Moin-user] MoinMoin with Apache mod_rewrite In-Reply-To: <20011219230801.A22412@dusty.upful.org> Message-ID: On Wed, 19 Dec 2001 23:08:02 -0500, Alexander Anderson wrote: >Please let me correct one detail: > >> Step 1. >> >> I used this rewrite rule: > RewriteRule ^/moin(.*) /moin$1 [L] >> RewriteRule ^/(.*) /cgi-bin/moin/moin/$1 [PT] And, a ScriptAlias is always better than a Rewrite. Ciao, J?rgen From rpyron at alum.mit.edu Wed Dec 26 12:39:01 2001 From: rpyron at alum.mit.edu (Robert Pyron) Date: Wed Dec 26 12:39:01 2001 Subject: [Moin-user] wikiutil.getBackupList() result not checked for None Message-ID: <3C2A3530.2050307@alum.mit.edu> MoinMoin version 0.10 There are two spots in the code where the result from wikiutil.getBackupList() is used without first checking whether the result is None. Both of these have caused stack traces for me when I brought up the RecentChanges page. macro/RecentChanges.py 43: oldversions = wikiutil.getBackupList(config.backup_dir, None) ... 85: is_new = len(filter(backup_re.match, oldversions)) == 0 wikimacro.py 194: row('Number of backup versions', len(wikiutil.getBackupList(config.backup_dir, None)))