From ino-ebd11dcc at spotteswoode.dnsalias.org Tue Apr 2 04:04:12 2002 From: ino-ebd11dcc at spotteswoode.dnsalias.org (clemensF) Date: Tue Apr 2 04:04:12 2002 Subject: [Moin-user] moinmoin on mathopd? Message-ID: <20020402115824.GK2262@spotteswoode.dnsalias.org> hi :) to make it as short as possible, here's what works: http:/host/moin/cgi-bin/moin.cgi gives me moinmoin's FrontPage, but the links on that page look like: http://localhost:8887/moin/cgi-bin/WordIndex, so that little "/moin.cgi?" isn't there. it must be a case of wrong configuration, but the answer is not with mathopd (a small server), but with moinmoin. going to "http://localhost:8887/moin/cgi-bin/moin.cgi?WordIndex" makes it work. here's test.cgi's output: Package "MoinMoin" sucessfully imported. Release 0.11 Revision 1.148 Checking directories... data directory tests OK (set to '/usr/local/moin/share/moin/data') text directory tests OK (set to '/usr/local/moin/share/moin/data/text') user directory tests OK (set to '/usr/local/moin/share/moin/data/user') backup directory tests OK (set to '/usr/local/moin/share/moin/data/backup') Found an external diff: "diff - GNU diffutils version 2.7" Server Environment: REQUEST_URI = '/moin/cgi-bin/test.cgi' SERVER_ADDR = '127.0.0.1' REMOTE_HOST = 'localhost' SERVER_PROTOCOL = 'HTTP/1.0' SERVER_PORT = '8887' HTTP_HOST = 'localhost:8887' REQUEST_METHOD = 'GET' SCRIPT_NAME = '/moin/cgi-bin/test.cgi' SERVER_SOFTWARE = 'Mathopd/1.4b15' PYTHONPATH = '/usr/local/moin/lib/python2.0/site-packages' REMOTE_ADDR = '127.0.0.1' additional info: whoami: http pwd: /usr/local/moin/share/moin/cgi-bin of all the things moin relys on i think PATH_INFO is missing. mathopd sets PATH_INFO only if the user specifies the URL like this: http://localhost:8887/moin/cgi-bin/moin.cgi/habla/makara when "PATH_INFO=/habla/makara" appears in the environment. this makes sense to me, but see above, i need PATH_INFO even when that cgi isn't mentioned, and the way things look to me, this is the "apache-standard". so what i need is some sort of rewriting. transform http://localhost:8887/moin/cgi-bin/FrontPage into http://localhost:8887/moin/cgi-bin/moin.cgi?FrontPage -or- http://localhost:8887/moin/cgi-bin/moin.cgi/FrontPage, the latter to have PATH_INFO == /FrontPage. nonetheless, the former makes more sense to me. clemens fischer From ino-e4da8ef4 at spotteswoode.dnsalias.org Wed Apr 3 15:49:15 2002 From: ino-e4da8ef4 at spotteswoode.dnsalias.org (clemensF) Date: Wed Apr 3 15:49:15 2002 Subject: [Moin-user] moin on !apache, users on lynx? Message-ID: <20020403234405.GY2527@spotteswoode.dnsalias.org> i'd like to know if somebody has moin set up on mathopd, boa, thttpd, mhttpd, or the likes. i'd be using it on a daily basis, meaning with lynx, so i'd just make sure browsers find that churning htdocs/css/*.css and be done with the GUI users. my experience is that the directory layout as distributed cannot immediately transformed to non-apache or non-typical apache layouts. the reason for not using apache is simply security. heck, i even use publicfile for static content so as not to get into any trouble. the top points in the docs tell me to set data_dir and url_prefix, but even with that conforming to the proper script aliases in mathopd i can just get the FrontPage to display, but every local link looks eg. like this: http://host.dom.ain:xxxx/moin/cgi-user/MoinMoin, which results in a mess. they would have to look like http://host.dom.ain:xxxx/moin/cgi-user/moin.cgi?MoinMoin, which makes them display at least. this was not fixed, as i had first thought, by simply editing the frontpage once (to make the links adjust automagically). if you could tell me the directory layout it is supposed to have, out-of- the-box, so to speak, together with the customary script aliases on apache, that would help. thanks for listening, clemens fischer From ino-waiting at gmx.net Fri Apr 5 12:12:28 2002 From: ino-waiting at gmx.net (clemensF) Date: Fri Apr 5 12:12:28 2002 Subject: [Moin-user] URL transformation? Message-ID: <20020405195953.GB670@spotteswoode.dnsalias.org> allow me this simple question: given an URL http://:/moin/cgi-bin/PaperClip: 1. if it _should_ look like http://:/moin/cgi-bin/moin.cgi?PaperClip or somesuch, how would apache be configured to make it work for viewing, editing etc. the moin way? 2. where is this configured in moin given i can talk my httpd into serving it the moin-way? -- clemens fischer "Be careful not to step in the Microsoft!" -- John Denker From deejoe at raccoon.com Sat Apr 6 13:49:06 2002 From: deejoe at raccoon.com (D. Joe Anderson) Date: Sat Apr 6 13:49:06 2002 Subject: [Moin-user] replacing pngs with gifs Message-ID: <20020406154830.E13078@raccoon.com> If one is concerned about the patent restrictions surrounding the use of GIFs[1], then one might want to replace the GIF files that come with MoinMoin into PNG files[2]. If not, nevermind. --Joe [1] http://burnallgifs.org [2] http://gar.lnx-bbc.org/wiki/BurnAllMoinGifs From ino-waiting at gmx.net Sun Apr 7 06:00:02 2002 From: ino-waiting at gmx.net (clemensF) Date: Sun Apr 7 06:00:02 2002 Subject: [Moin-user] URL's on moin pages, almost there :) Message-ID: <20020407125138.GI1615@spotteswoode.dnsalias.org> hi list people! most of my problems setting up moin are no more. they never really were there, but i had to do some thorough testing to destill their output. i have a page with [[System]] (sp?) on it, and called manually from a remote browser like http://.../moin.cgi?page=view or page=edit, i get the expected result. current state of affairs: the CGI interface is appropriate for running moin, it sets the environment the way moin needs it: REQUEST_URI=/moin/cgi-bin/printenv?abra45-=9 SCRIPT_NAME=/moin/cgi-bin/printenv PYTHONPATH=/usr/local/moin/lib/python2.0/site-packages QUERY_STRING=abra45-=9 i added another variable to make it clear which CGI has to be run: EXTERN_EXECUTABLE=/usr/local/moin/share/moin/cgi-bin/moin.cgi i know this isn't really neccessary, but moin.cgi wants URLs the way cited above, with a QUERY_STRING matching '.*action=(edit&template=HelpTemplate|view|.*)'. other URLs give a default page, which is, of course, not what i want if their value is within the range moin.cgi can make sense of. unfortunately links on generated pages still look like "http://s/moin/cgi-bin/CategoryLocal" but they must rather be "http://s/moin/cgi-bin/moin.cgi?CategoryLocal&action=edit". this must be configurable somewhere, but i can't find the place. cgi-bin/moin_config might be the place to put local changes. currently it includes explicit defaults copied from Help.*[cC]onfig.* texts. am i right that this is more or less minor a difficulty for someone who solved this puzzle and further by reading what such a person has to say about it i could be done with this and enjoy my breakfast? hope so. -- clemens fischer "Be careful not to step in the Microsoft!" -- John Denker From adam at personaltelco.net Mon Apr 8 23:25:02 2002 From: adam at personaltelco.net (Adam Shand) Date: Mon Apr 8 23:25:02 2002 Subject: [Moin-user] setting variables depeding if a user is logged in. Message-ID: <1018333467.12104.11.camel@heyzeus> hi. i'd like to set variables in moin_config.py to different variables depending on if a user is logged in or not. this would allow me to build a simple site for random visitors and a power site (with full wiki functionality) for users that log in. is there a simple test that can be performed to tell this or is this functionality still a ways off? thanks, adam. From whisper at oz.net Tue Apr 9 02:02:05 2002 From: whisper at oz.net (David LeBlanc) Date: Tue Apr 9 02:02:05 2002 Subject: [Moin-user] setting variables depeding if a user is logged in. In-Reply-To: <1018333467.12104.11.camel@heyzeus> Message-ID: I don't know about what might be in moin, but if you use apache's authentication, something gets set in the environment to denote that a user is logged in... David LeBlanc Seattle, WA USA > -----Original Message----- > From: moin-user-admin at lists.sourceforge.net > [mailto:moin-user-admin at lists.sourceforge.net]On Behalf Of Adam Shand > Sent: Monday, April 08, 2002 23:24 > To: moin-user at lists.sourceforge.net > Subject: [Moin-user] setting variables depeding if a user is logged in. > > > hi. > > i'd like to set variables in moin_config.py to different variables > depending on if a user is logged in or not. > > this would allow me to build a simple site for random visitors and a > power site (with full wiki functionality) for users that log in. > > is there a simple test that can be performed to tell this or is this > functionality still a ways off? > > thanks, > adam. > > > > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From ino-waiting at gmx.net Tue Apr 9 06:27:15 2002 From: ino-waiting at gmx.net (clemensF) Date: Tue Apr 9 06:27:15 2002 Subject: [Moin-user] setting variables depeding if a user is logged in. In-Reply-To: References: <1018333467.12104.11.camel@heyzeus> Message-ID: <20020409132159.GI1455@spotteswoode.dnsalias.org> > David LeBlanc: > I don't know about what might be in moin, but if you use apache's > authentication, something gets set in the environment to denote that a user > is logged in... the easiest with most servers is "basic authentication". unless you have it automated somehow, the administrator has to include users in a file, together with their passwords. this would be independant of moin's operation, in that only authenticated users could call up the cgi. moin implements cookies as a native way to authenticate users, which works more or less automatic without your intervention. i didn't check closely, but usually you get your cookie after setting preferences. then the cgi gets additional environment variables like: HTTP_COOKIE = Wiki=rev&... AUTH_TYPE = Basic my proposal would be to seperate the wikidatabase where users have authenticated access from the one containing only links to the other one. users not authenticated get normal "read-only" access without anything special to the "ghost", and that ghost simply doesn't have preferences. or somesuch. -- clemens fischer evil is even, truth is an odd number and death is a full stop. <- miles 'na gopaleen From jh at web.de Tue Apr 9 13:55:06 2002 From: jh at web.de (Juergen Hermann) Date: Tue Apr 9 13:55:06 2002 Subject: [Moin-user] setting variables depeding if a user is logged in. In-Reply-To: <1018333467.12104.11.camel@heyzeus> Message-ID: On 08 Apr 2002 23:24:26 -0700, Adam Shand wrote: >i'd like to set variables in moin_config.py to different variables >depending on if a user is logged in or not. > >this would allow me to build a simple site for random visitors and a >power site (with full wiki functionality) for users that log in. > >is there a simple test that can be performed to tell this or is this >functionality still a ways off? Read HelpOnConfiguration/SecurityPolicy Note that the user, and thus the security policy, is created rather early in the request cycle, so (re-)setting config vars there is ok for _most_ things. Or you check the HTTP_COOKIE directly in moin_config.py. Ciao, J?rgen From jh at web.de Tue Apr 9 13:58:05 2002 From: jh at web.de (Juergen Hermann) Date: Tue Apr 9 13:58:05 2002 Subject: [Moin-user] setting variables depeding if a user is logged in. In-Reply-To: <20020409132159.GI1455@spotteswoode.dnsalias.org> Message-ID: On 9 Apr 2002 15:21:59 +0200, clemensF wrote: >my proposal would be to seperate the wikidatabase where users have >authenticated access from the one containing only links to the other one. No, you have two _configs_ pointing the the _same_ page database, at two different URLs (one URL protected, the other freely available). The config for the public URL should make the wiki read-only. This is certainly better and more stable than any config-manipulation. Ciao, J?rgen From jeff at corrt.com Tue Apr 9 14:26:04 2002 From: jeff at corrt.com (Jeff Kunce) Date: Tue Apr 9 14:26:04 2002 Subject: [Moin-user] setting variables depeding if a user is logged in. In-Reply-To: <1018333467.12104.11.camel@heyzeus> Message-ID: <5.1.0.14.0.20020409162050.00ac5940@corrt.com> At 11:24 PM 4/8/2002 -0700, Adam Shand wrote: >i'd like to set variables in moin_config.py to different variables >depending on if a user is logged in or not. The easiest way for me has been to set up two separate directories, each containing moin.cgi and moin_config.py. One is set up for "guest" access (read only.) The other is set up for full access, but is limited to authorized users (with .htaccess or MS permissions or whatever.) If you don't want to publish two URLs, you can put a link from your wiki pages to the full access moin.cgi. For example, at http://www.corrt.com/troop10 I have an "Edit this site" link on the front page. --Jeff From adam at personaltelco.net Tue Apr 9 17:10:25 2002 From: adam at personaltelco.net (Adam Shand) Date: Tue Apr 9 17:10:25 2002 Subject: [Moin-user] setting variables depeding if a user is logged in. In-Reply-To: References: Message-ID: <1018397331.22482.102.camel@isashand> Hi, Sorry for the delayed response, my real job was keeping me busy today :) On Tue, 2002-04-09 at 14:58, Juergen Hermann wrote: > The config for the public URL should make the wiki read-only. This is > certainly better and more stable than any config-manipulation. I'd prefer to do it in moin_config.py because that way I get it fully integrated, but yes I understand that I can do that. > Read > > HelpOnConfiguration/SecurityPolicy > > Note that the user, and thus the security policy, is created rather > early in the request cycle, so (re-)setting config vars there is ok > for _most_ things. Or you check the HTTP_COOKIE directly in > moin_config.py. I have read that, but it's short on details, and I'm not a good enough Python programmer to understand quite how the security class works. Could an example code block be provided in which a test for HTTP_COOKIE or the security policy test would enable a new set of configuration variables? I tried adding a second version of the sitename variable in this section and it didn't change what displayed on the web site. if 1: allowed_actions = ['AttachFile'] from MoinMoin.security import Permissions class SecurityPolicy(Permissions): edit = 1 delete = 0 def __init__(self, user): self.user = user self.edit = self.edit and user.valid sitename = 'test site' thanks. adam. From jh at web.de Wed Apr 10 01:29:32 2002 From: jh at web.de (Juergen Hermann) Date: Wed Apr 10 01:29:32 2002 Subject: [Moin-user] setting variables depeding if a user is logged in. In-Reply-To: <1018397331.22482.102.camel@isashand> Message-ID: On 09 Apr 2002 17:08:40 -0700, Adam Shand wrote: >if 1: > allowed_actions = ['AttachFile'] > > from MoinMoin.security import Permissions > class SecurityPolicy(Permissions): > edit = 1 > delete = 0 > > def __init__(self, user): > self.user = user > self.edit = self.edit and user.valid > sitename = 'test site' It has to be from MoinMoin import config config.sitename = ... you're setting a LOCAL variable in your code. And to check whether the user is logged in, use "user.valid". Ciao, J?rgen -- J?rgen Hermann, Developer (jhe at webde-ag.de) WEB.DE AG, http://webde-ag.de/ From adam at personaltelco.net Wed Apr 10 16:04:58 2002 From: adam at personaltelco.net (Adam Shand) Date: Wed Apr 10 16:04:58 2002 Subject: [Moin-user] setting variables depeding if a user is logged in. In-Reply-To: References: Message-ID: <1018465632.26292.189.camel@isashand> On Wed, 2002-04-10 at 02:28, Juergen Hermann wrote: > It has to be > > from MoinMoin import config > config.sitename = ... > > you're setting a LOCAL variable in your code. And to check whether the > user is logged in, use "user.valid". Okay, this is making me feel really stupid. I know I'm a bad programmer but I'm not normally *this* bad. As soon as I add any of this stuff I get an internal server error. This is what I put in my moin_config.py (and many combinations of): # security (deactivated by default) if 1: allowed_actions = ['AttachFile'] from MoinMoin.security import Permissions class SecurityPolicy(Permissions): edit = 1 delete = 0 def __init__(self, user): self.user = user self.edit = self.edit and user.valid from MoinMoin import config config.sitename = "test" Then I decided that since there isn't a "config" beneath security.py and it should go outside the "if 1:" stanza, but that didn't work either. If someone could give me a codeblock to set variables based on whether a user is actually logged in that would be great. If not I'll go home and bust out the python book and see if I can wrap my head around how classes work. :) thanks, Adam. From jh at web.de Thu Apr 11 10:41:07 2002 From: jh at web.de (Juergen Hermann) Date: Thu Apr 11 10:41:07 2002 Subject: [Moin-user] setting variables depeding if a user is logged in. In-Reply-To: <1018465632.26292.189.camel@isashand> Message-ID: On 10 Apr 2002 12:07:01 -0700, Adam Shand wrote: ># security (deactivated by default) >if 1: > allowed_actions = ['AttachFile'] > > from MoinMoin.security import Permissions > class SecurityPolicy(Permissions): > edit = 1 > delete = 0 > > def __init__(self, user): > self.user = user > self.edit = self.edit and user.valid > > from MoinMoin import config > config.sitename = "test" def __init__(self, user): self.user = user self.edit = self.edit and user.valid if user.valid: from MoinMoin import config config.sitename = "test" >If not I'll go home and bust out the python book and see if I can wrap >my head around how classes work. :) That you should do anyway, or you simply cannot expect to make this kind of adjustment. Ciao, J?rgen From adam at personaltelco.net Thu Apr 11 12:43:53 2002 From: adam at personaltelco.net (Adam Shand) Date: Thu Apr 11 12:43:53 2002 Subject: [Moin-user] setting variables depeding if a user is logged in. In-Reply-To: References: Message-ID: <1018553580.31612.31.camel@isashand> On Thu, 2002-04-11 at 11:34, Juergen Hermann wrote: > def __init__(self, user): > self.user = user > self.edit = self.edit and user.valid > > if user.valid: > from MoinMoin import config > config.sitename = "test" i would have sworn that was the very first thing i tried and i got an error, but it works great now. anyway, i'll shut up now and go bother someone else. thank you very much for the help Juergen. Adam. From cmedcoff at hotmail.com Thu Apr 11 16:07:14 2002 From: cmedcoff at hotmail.com (Charles Medcoff) Date: Thu Apr 11 16:07:14 2002 Subject: [Moin-user] External file links Message-ID: How does one created a link to a file on an external file system such as a file on a shared network drive. I couldn'd find anything in the help and my experiementation found no success. Regards, Chuck -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at personaltelco.net Thu Apr 11 17:17:05 2002 From: adam at personaltelco.net (Adam Shand) Date: Thu Apr 11 17:17:05 2002 Subject: [Moin-user] External file links In-Reply-To: References: Message-ID: <1018570458.29764.184.camel@isashand> On Thu, 2002-04-11 at 16:07, Charles Medcoff wrote: > How does one created a link to a file on an external file system such as a file on a shared network drive. I couldn'd find anything in the help and my experiementation found no success. Just like in a browser. :-) file://path/to/file.txt Adam. From Park_Richard at blm.gov Fri Apr 12 14:33:03 2002 From: Park_Richard at blm.gov (Park_Richard at blm.gov) Date: Fri Apr 12 14:33:03 2002 Subject: [Moin-user] MoinMoin error on equal signs Message-ID: I followed the instructions by Jeff Kunce for a MoinMoin SaneInstallation and got MoinMoin working. However, for some reason any text enclosed in double or triple equal signs gives me an error message instead of the nice background and bigger bolder text. If I remove the equal signs I don't get the error but then I don't get the feature either. My guess is that I'm missing a library but I don't know which one that might be. The error message is lengthy so I put it at the end of this message. My environment is as follows: AIX 4.3.3.9 Apache 1.3.7-dev (Unix) Python Version 2.2 (#1, Feb 15 2002, 11:06:10) [C] MoinMoin Version Release 0.10 [Revision 1.134] Installed extension macros BR, FullSearch, Include, OrphanedPages, RandomPage, RecentChanges, TableOfContents, TeudView, WantedPages Installed extension actions LikePages, LocalSiteMap, SpellCheck, titleindex Sincerely, Park Richard AttributeError Python 2.2 /usr/bin/python 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. cgimain.py in run(properties={}) /opt/freeware/lib/python2.2/site-packages/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 = " WikiWikiWeb\nA WikiWikiWeb is a collaborative ...configurable feature, so it might not work!'''\n", global format = undefined, self = , global formatter = undefined, form = FieldStorage(None, None, []) 284 285 # end document output /opt/freeware/lib/python2.2/site-packages/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>, self = , global replace = undefined, line = '== Arbitrary Page Names ==' 482 483 if self.in_pre: /var/tmp/python-2.2-root/opt/freeware/lib/python2.2/sre.py in sub(pattern =<_sre.SRE_Pattern object>, repl=>, string='== Arbitrary Page Names == ', count=0) /opt/freeware/lib/python2.2/site-packages/MoinMoin/parser/wiki.py in replace(self=, match=<_sre.SRE_Match object>) 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'",) From adams at pixelworks.com Fri Apr 12 14:56:01 2002 From: adams at pixelworks.com (Adam Shand) Date: Fri Apr 12 14:56:01 2002 Subject: [Moin-user] spell check via google api. Message-ID: <1018648455.25921.217.camel@isashand> not sure if this is an interesting idea or not but i just stumbled across this and thought i'd share it in case no one else had seen it yet. adam. From: http://www.drop.org/node.php?id=839 Google Web API Submitted by Natrak on Thursday, April 11, 2002 - 23:07 Google - Program Ideas * Auto-monitor the web for new information on a subject * Glean market research insights and trends over time * Invent a catchy online game * Create a novel UI for searching * Add Google's spell-checking to an application Dave Winer seems to be very enthusiastic about this, not that is a big surprise. He has been playing about with it for the past few days. The Google weblog has a bit about it as well. I'm sure daypop will be flooded with info and comments on it in the next few hours. Will be interesting what this could be used for and will be used for. From jh at web.de Sat Apr 13 09:01:05 2002 From: jh at web.de (Juergen Hermann) Date: Sat Apr 13 09:01:05 2002 Subject: [Moin-user] MoinMoin error on equal signs In-Reply-To: Message-ID: On Fri, 12 Apr 2002 15:32:12 -0600, Park_Richard at blm.gov wrote: >AIX 4.3.3.9 >Apache 1.3.7-dev (Unix) >Python Version 2.2 (#1, Feb 15 2002, 11:06:10) [C] > MoinMoin Version Release 0.10 [Revision 1.134] The current release is 0.11, and you need it to use python 2.2. Ciao, J?rgen From ino-waiting at gmx.net Sat Apr 13 17:29:03 2002 From: ino-waiting at gmx.net (clemensF) Date: Sat Apr 13 17:29:03 2002 Subject: [Moin-user] MoinMoin error on equal signs In-Reply-To: References: Message-ID: <20020414002757.GB1431@spotteswoode.dnsalias.org> > Juergen Hermann: > The current release is 0.11, and you need it to use python 2.2. what is that supposed to mean? does moin-0.11 run on python-2.0 as well, or does one have to use python-2.2 to be able to use moin-0.11? -- clemens fischer "Be careful not to step in the Microsoft!" -- John Denker From magnus at thinkware.se Sat Apr 13 17:58:03 2002 From: magnus at thinkware.se (Magnus =?iso-8859-1?Q?Lyck=E5?=) Date: Sat Apr 13 17:58:03 2002 Subject: [Moin-user] MoinMoin error on equal signs In-Reply-To: <20020414002757.GB1431@spotteswoode.dnsalias.org> References: Message-ID: <5.1.0.14.0.20020414024631.00b886d0@mail.irrblosset.se> At 02:27 2002-04-14 +0200, clemensF wrote: > > The current release is 0.11, and you need it to use python 2.2. > >what is that supposed to mean? does moin-0.11 run on python-2.0 as well, >or does one have to use python-2.2 to be able to use moin-0.11? I had a friend who was a theoretical physicist. He said things like: "Students are stupid. They think implication implies mutual implication." :-) It often took a little while to figure out what he mean, but it was usually correct. I don't agree with his assesment of stupidity, is an easy mistake to make. (Although I can appreciate the frustration in teaching when you want to do your research). Read it again. You need moin 0.11 if you want to use Python 2.2. It doesn't say anything beyond that. Sleepily-yours /Magnus P.S. Once, he introduced himself to a couple of girls he never met before as "Hi, I'm Tony. I'm a theoretical physicist, but I know practical things as well...integrals for instance." We never saw those girls again... -- Magnus Lyck?, Thinkware AB ?lvans v?g 99, SE-907 50 UME? tel: 070-582 80 65, fax: 070-612 80 65 http://www.thinkware.se/ mailto:magnus at thinkware.se From olivier.berger at int-evry.fr Thu Apr 18 08:39:03 2002 From: olivier.berger at int-evry.fr (Olivier Berger) Date: Thu Apr 18 08:39:03 2002 Subject: [Moin-user] MoinMoin incompatible with Python 1.5.2 ? Message-ID: <1019144287.18959.18.camel@opale> Hi. I've successfully used MoinMoin with a server running Python2. I also tried to use it with a production server running Python 1.5.2 (on a RedHat 7.2 GNU/Linux distribution). There are some problems with syntax that prevent some of the functions to work, that might be easily modified (see attached patch). I've read that in the CHANGES file : "Overall, MoinMoin 0.11 is not explicitely tested for 1.5.2 compatibility." Any more details on what may (not) work with the old Python ? Maybe a specific page could be added to the MoinMoin Wiki about that specific issue (or did I miss it ?)... Hope this helps, Best regards, -- Olivier BERGER Ing?nieur Recherche - Dept INF INT Evry (http://www.int-evry.fr) OpenPGP-Id: 1024D/6B829EEC -------------- next part -------------- A non-text attachment was scrubbed... Name: MoinMoin.diff Type: text/x-patch Size: 2589 bytes Desc: not available URL: From lele at seldati.it Thu Apr 18 09:20:07 2002 From: lele at seldati.it (Lele Gaifax) Date: Thu Apr 18 09:20:07 2002 Subject: [Moin-user] MoinMoin incompatible with Python 1.5.2 ? In-Reply-To: <1019144287.18959.18.camel@opale> References: <1019144287.18959.18.camel@opale> Message-ID: <15550.61987.967613.992510@paci.nautilus> >>>>> On 18 Apr 2002 17:38:07 +0200, Olivier Berger said: OB> I've read that in the CHANGES file : "Overall, MoinMoin 0.11 OB> is not explicitely tested for 1.5.2 compatibility." I think that MM is lesser and lesser compatible with Python1: the most important issue may be the use of the r'' construct... bye, lele. -- nickname: Lele Gaifax | Quando vivro' di quello che ho pensato ieri real: Emanuele Gaifas | comincero' ad aver paura di chi mi copia. email: lele at seldati.it | -- Fortunato Depero, 1929. From magnus at thinkware.se Thu Apr 18 14:34:09 2002 From: magnus at thinkware.se (Magnus Lycka) Date: Thu Apr 18 14:34:09 2002 Subject: [Moin-user] MoinMoin incompatible with Python 1.5.2 ? In-Reply-To: <15550.61987.967613.992510@paci.nautilus> References: <1019144287.18959.18.camel@opale> <1019144287.18959.18.camel@opale> Message-ID: <5.1.0.14.0.20020418232352.02b17e30@mail.irrblosset.se> At 18:19 2002-04-18 +0200, Lele Gaifax wrote: >I think that MM is lesser and lesser compatible with Python1: the most >important issue may be the use of the r'' construct... Is there any reason to maintain Python 1.5.2 compatibility? It is some extra work. 1.6 was released 2 years ago, 2.0 one and a half year ago. I never use anything older than 2.1 any longer. The old MoinMoin versions won't suddenly stop working for those who might be stuck with something old... -- Magnus Lyck?, Thinkware AB ?lvans v?g 99, SE-907 50 UME? tel: 070-582 80 65, fax: 070-612 80 65 http://www.thinkware.se/ mailto:magnus at thinkware.se From jh at web.de Thu Apr 18 14:53:34 2002 From: jh at web.de (Juergen Hermann) Date: Thu Apr 18 14:53:34 2002 Subject: [Moin-user] MoinMoin incompatible with Python 1.5.2 ? In-Reply-To: <5.1.0.14.0.20020418232352.02b17e30@mail.irrblosset.se> Message-ID: On Thu, 18 Apr 2002 23:29:36 +0200, Magnus Lycka wrote: >Is there any reason to maintain Python 1.5.2 compatibility? Yes, ISPs that don't update, if they provide Python CGI at all. I'll stop supporting 1.5.2 with one of the next versions, and currently non-essential features like stats are NOT designed to work with 1.5.2 (so don't send patches for MoinMoin.stats). It would be wise if someone using 1.5.2 would step up and do some testing, since it could be that 0.12 will be "one of the next versions". :) Ciao, J?rgen From magnus at thinkware.se Thu Apr 18 18:40:04 2002 From: magnus at thinkware.se (Magnus Lycka) Date: Thu Apr 18 18:40:04 2002 Subject: [Moin-user] MoinMoin incompatible with Python 1.5.2 ? In-Reply-To: References: <5.1.0.14.0.20020418232352.02b17e30@mail.irrblosset.se> Message-ID: <5.1.0.14.0.20020419032955.02ad6928@mail.irrblosset.se> At 23:49 2002-04-18 +0200, Juergen Hermann wrote: > >Is there any reason to maintain Python 1.5.2 compatibility? > >Yes, ISPs that don't update, if they provide Python CGI at all. Are there problems running MoinMoin with mxCGIPython? http://www.egenix.com/files/python/mxCGIPython.html (You need to supply it with distutils I guess.) Or perhaps making complete MoinMoin + Python installs using the McMillan installer would be less job then to maintain 1.x compatibility? (That could work on windows and Linux at least.) -- Magnus Lyck?, Thinkware AB ?lvans v?g 99, SE-907 50 UME? tel: 070-582 80 65, fax: 070-612 80 65 http://www.thinkware.se/ mailto:magnus at thinkware.se From jh at web.de Fri Apr 19 09:05:03 2002 From: jh at web.de (Juergen Hermann) Date: Fri Apr 19 09:05:03 2002 Subject: [Moin-user] MoinMoin incompatible with Python 1.5.2 ? In-Reply-To: <5.1.0.14.0.20020419032955.02ad6928@mail.irrblosset.se> Message-ID: On Fri, 19 Apr 2002 03:38:04 +0200, Magnus Lycka wrote: >Or perhaps making complete MoinMoin + Python installs using the >McMillan installer would be less job then to maintain 1.x >compatibility? (That could work on windows and Linux at least.) Sounds good. When you have the files ready, attach them to the MoinMoin page and I'll release them on sf.net. Ciao, J?rgen From trsjandrews at yahoo.com.au Sun Apr 21 04:16:01 2002 From: trsjandrews at yahoo.com.au (=?iso-8859-1?q?steph=20andrews?=) Date: Sun Apr 21 04:16:01 2002 Subject: [Moin-user] Moin and Xml/Xsl Message-ID: <20020421111511.41909.qmail@web13807.mail.yahoo.com> Hi List, I'm trying to get 4suite happening without any luck. I've read the previous posts on the subject and am currently trying 4suite 0.11.1 with pyxml 0.6.6 (on a win98 box with python 2.1.1 and moin 0.11). Is this still a good starting point? I tried.... >Change all references in Moin from "import xml.xslt.*" to "import >Ft.Xml.Xslt.*" (caps important). Do the same if xml.xpath is referenced. but Ft does not appear to have an Xml module Any clues? TIA Tim http://messenger.yahoo.com.au - Yahoo! Messenger - A great way to communicate long-distance for FREE! From whisper at oz.net Sun Apr 21 13:37:03 2002 From: whisper at oz.net (David LeBlanc) Date: Sun Apr 21 13:37:03 2002 Subject: [Moin-user] Moin and Xml/Xsl In-Reply-To: <20020421111511.41909.qmail@web13807.mail.yahoo.com> Message-ID: You don't need to do the capitalization with 4suite0-11.1 and PyXML-0.6.6. Otherwise, it's the only combination i've gotten to work. David LeBlanc Seattle, WA USA > -----Original Message----- > From: moin-user-admin at lists.sourceforge.net > [mailto:moin-user-admin at lists.sourceforge.net]On Behalf Of steph andrews > Sent: Sunday, April 21, 2002 4:15 > To: moin-user at lists.sourceforge.net > Subject: RE: [Moin-user] Moin and Xml/Xsl > > > Hi List, > > I'm trying to get 4suite happening without any luck. > > I've read the previous posts on the subject and am > currently trying 4suite 0.11.1 with pyxml 0.6.6 (on a > win98 box with python 2.1.1 and moin 0.11). > > Is this still a good starting point? > > I tried.... > >Change all references in Moin from "import > xml.xslt.*" to "import > >Ft.Xml.Xslt.*" (caps important). Do the same if > xml.xpath is referenced. > > but Ft does not appear to have an Xml module > > Any clues? > > TIA > > Tim > > http://messenger.yahoo.com.au - Yahoo! Messenger > - A great way to communicate long-distance for FREE! > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From trsjandrews at yahoo.com.au Mon Apr 22 03:58:01 2002 From: trsjandrews at yahoo.com.au (=?iso-8859-1?q?steph=20andrews?=) Date: Mon Apr 22 03:58:01 2002 Subject: [Moin-user] Moin and Xml/Xsl In-Reply-To: Message-ID: <20020422105705.59998.qmail@web13806.mail.yahoo.com> No luck with or without capitalisation, my problem is that there is no Ft.Xml or Ft.xml module to import. I have Ft.XLink and Ft.XPointer and a few others. Did something go wrong with my install or am I missing the plot? Thanks, Tim --- David LeBlanc wrote: > You don't need to do the capitalization with > 4suite0-11.1 and PyXML-0.6.6. > Otherwise, it's the only combination i've gotten to > work. > > David LeBlanc > Seattle, WA USA > > > -----Original Message----- > > From: moin-user-admin at lists.sourceforge.net > > [mailto:moin-user-admin at lists.sourceforge.net]On > Behalf Of steph andrews > > Sent: Sunday, April 21, 2002 4:15 > > To: moin-user at lists.sourceforge.net > > Subject: RE: [Moin-user] Moin and Xml/Xsl > > > > > > Hi List, > > > > I'm trying to get 4suite happening without any > luck. > > > > I've read the previous posts on the subject and am > > currently trying 4suite 0.11.1 with pyxml 0.6.6 > (on a > > win98 box with python 2.1.1 and moin 0.11). > > > > Is this still a good starting point? > > > > I tried.... > > >Change all references in Moin from "import > > xml.xslt.*" to "import > > >Ft.Xml.Xslt.*" (caps important). Do the same if > > xml.xpath is referenced. > > > > but Ft does not appear to have an Xml module > > > > Any clues? > > > > TIA > > > > Tim > > > > http://messenger.yahoo.com.au - Yahoo! Messenger > > - A great way to communicate long-distance for > FREE! > > > > _______________________________________________ > > Moin-user mailing list > > Moin-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/moin-user > http://messenger.yahoo.com.au - Yahoo! Messenger - A great way to communicate long-distance for FREE! From whisper at oz.net Mon Apr 22 09:07:19 2002 From: whisper at oz.net (David LeBlanc) Date: Mon Apr 22 09:07:19 2002 Subject: [Moin-user] Moin and Xml/Xsl In-Reply-To: <20020422105705.59998.qmail@web13806.mail.yahoo.com> Message-ID: You have to install PyXML before 4suite is the only suggestion I can offer. David LeBlanc Seattle, WA USA > -----Original Message----- > From: moin-user-admin at lists.sourceforge.net > [mailto:moin-user-admin at lists.sourceforge.net]On Behalf Of steph andrews > Sent: Monday, April 22, 2002 3:57 > To: David LeBlanc; moin-user at lists.sourceforge.net > Subject: RE: [Moin-user] Moin and Xml/Xsl > > > No luck with or without capitalisation, my problem is > that there is no Ft.Xml or Ft.xml module to import. I > have Ft.XLink and Ft.XPointer and a few others. Did > something go wrong with my install or am I missing the > plot? > > Thanks, > > Tim > > --- David LeBlanc wrote: > You don't > need to do the capitalization with > > 4suite0-11.1 and PyXML-0.6.6. > > Otherwise, it's the only combination i've gotten to > > work. > > > > David LeBlanc > > Seattle, WA USA > > > > > -----Original Message----- > > > From: moin-user-admin at lists.sourceforge.net > > > [mailto:moin-user-admin at lists.sourceforge.net]On > > Behalf Of steph andrews > > > Sent: Sunday, April 21, 2002 4:15 > > > To: moin-user at lists.sourceforge.net > > > Subject: RE: [Moin-user] Moin and Xml/Xsl > > > > > > > > > Hi List, > > > > > > I'm trying to get 4suite happening without any > > luck. > > > > > > I've read the previous posts on the subject and am > > > currently trying 4suite 0.11.1 with pyxml 0.6.6 > > (on a > > > win98 box with python 2.1.1 and moin 0.11). > > > > > > Is this still a good starting point? > > > > > > I tried.... > > > >Change all references in Moin from "import > > > xml.xslt.*" to "import > > > >Ft.Xml.Xslt.*" (caps important). Do the same if > > > xml.xpath is referenced. > > > > > > but Ft does not appear to have an Xml module > > > > > > Any clues? > > > > > > TIA > > > > > > Tim > > > > > > http://messenger.yahoo.com.au - Yahoo! Messenger > > > - A great way to communicate long-distance for > > FREE! > > > > > > _______________________________________________ > > > Moin-user mailing list > > > Moin-user at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/moin-user > > > > http://messenger.yahoo.com.au - Yahoo! Messenger > - A great way to communicate long-distance for FREE! > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From trsjandrews at yahoo.com.au Tue Apr 23 05:39:25 2002 From: trsjandrews at yahoo.com.au (=?iso-8859-1?q?steph=20andrews?=) Date: Tue Apr 23 05:39:25 2002 Subject: [Moin-user] Moin and Xml/Xsl In-Reply-To: Message-ID: <20020423123806.68388.qmail@web13808.mail.yahoo.com> That worked, many thanks David Tim --- David LeBlanc wrote: > You have to install PyXML before 4suite is the only > suggestion I can offer. > > David LeBlanc > Seattle, WA USA > > > -----Original Message----- > > From: moin-user-admin at lists.sourceforge.net > > [mailto:moin-user-admin at lists.sourceforge.net]On > Behalf Of steph andrews > > Sent: Monday, April 22, 2002 3:57 > > To: David LeBlanc; moin-user at lists.sourceforge.net > > Subject: RE: [Moin-user] Moin and Xml/Xsl > > > > > > No luck with or without capitalisation, my problem > is > > that there is no Ft.Xml or Ft.xml module to > import. I > > have Ft.XLink and Ft.XPointer and a few others. > Did > > something go wrong with my install or am I missing > the > > plot? > > > > Thanks, > > > > Tim > > > > --- David LeBlanc wrote: > You > don't > > need to do the capitalization with > > > 4suite0-11.1 and PyXML-0.6.6. > > > Otherwise, it's the only combination i've gotten > to > > > work. > > > > > > David LeBlanc > > > Seattle, WA USA > > > > > > > -----Original Message----- > > > > From: moin-user-admin at lists.sourceforge.net > > > > > [mailto:moin-user-admin at lists.sourceforge.net]On > > > Behalf Of steph andrews > > > > Sent: Sunday, April 21, 2002 4:15 > > > > To: moin-user at lists.sourceforge.net > > > > Subject: RE: [Moin-user] Moin and Xml/Xsl > > > > > > > > > > > > Hi List, > > > > > > > > I'm trying to get 4suite happening without any > > > luck. > > > > > > > > I've read the previous posts on the subject > and am > > > > currently trying 4suite 0.11.1 with pyxml > 0.6.6 > > > (on a > > > > win98 box with python 2.1.1 and moin 0.11). > > > > > > > > Is this still a good starting point? > > > > > > > > I tried.... > > > > >Change all references in Moin from "import > > > > xml.xslt.*" to "import > > > > >Ft.Xml.Xslt.*" (caps important). Do the same > if > > > > xml.xpath is referenced. > > > > > > > > but Ft does not appear to have an Xml module > > > > > > > > Any clues? > > > > > > > > TIA > > > > > > > > Tim > > > > > > > > http://messenger.yahoo.com.au - Yahoo! > Messenger > > > > - A great way to communicate long-distance for > > > FREE! > > > > > > > > > _______________________________________________ > > > > Moin-user mailing list > > > > Moin-user at lists.sourceforge.net > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/moin-user > > > > > > > http://messenger.yahoo.com.au - Yahoo! Messenger > > - A great way to communicate long-distance for > FREE! > > > > _______________________________________________ > > Moin-user mailing list > > Moin-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/moin-user http://messenger.yahoo.com.au - Yahoo! Messenger - A great way to communicate long-distance for FREE!