From rb.proj at gmail.com Tue Mar 1 03:35:58 2011 From: rb.proj at gmail.com (R.Bauer) Date: Tue, 01 Mar 2011 09:35:58 +0100 Subject: [Moin-user] Page drafts In-Reply-To: References: Message-ID: Am 25.02.2011 20:35, schrieb Kai Jaeger: > I need to know where Moin is saving its drafts. I created quite a > complex page, relying on the draft mechanism. When I tried to reload > it there was no draft. My guess is that I misspelled the name of the > page. > > Advice is welcome. > > Kai Hi Kai Drafts are saved for logged in users and are stored below data/cache/wikiconfig/drafts Reimar > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev From rb.proj at gmail.com Tue Mar 1 03:43:51 2011 From: rb.proj at gmail.com (R.Bauer) Date: Tue, 01 Mar 2011 09:43:51 +0100 Subject: [Moin-user] Is LDAP auth in desktop mode possible? In-Reply-To: References: Message-ID: Am 27.02.2011 09:26, schrieb jlist9: > Hi all, > > I'm evaluating moinmoin for an internal wiki. It's meant to be a simple set up > in company LAN so I'm thinking to run it in the desktop mode. However, I'm > having a hard time to make LDAP auth work. I put the code in > ldap_wikiconfig_snippet > in moinmoin-1.9.3\wiki\config\wikiconfig.py and restarted server by > running wikiserver.py, > it seems to still authenticate again local users. It's not hitting the LDAP > server at all. Then I move the code snippet to moinmoin-1.9.3\wikiconfig.py > and restart the server, I get an error in the console (see below for the > error message.) > > So my question is, is it possible to do LDAP auth in desktop mode, and > if yes, what am I missing? yes it is. I would prefer to look at your settings before I guess what is going wrong. Do you now still have the Desktop Edition wiki ocnfig? Where do you have inserted the snippet? Did you changed the indenting? How did you indent? If you want to get quickly into contact with us, see http://moinmo.in/MoinMoinChat cheers Reimar > > Thanks, > Jack > > 2011-02-27 00:25:16,671 ERROR werkzeug:106 Error on request: > Traceback (most recent call last): > File "D:\Internet\moin-1.9.3\MoinMoin\support\werkzeug\serving.py", > line 151, in run_wsgi > execute(app) > File "D:\Internet\moin-1.9.3\MoinMoin\support\werkzeug\serving.py", > line 138, in execute > application_iter = app(environ, start_response) > File "D:\Internet\moin-1.9.3\MoinMoin\support\werkzeug\utils.py", > line 248, in __call__ > return self.app(environ, start_response) > File "D:\Internet\moin-1.9.3\MoinMoin\wsgiapp.py", line 281, in __call__ > context = init(request) > File "D:\Internet\moin-1.9.3\MoinMoin\wsgiapp.py", line 55, in init > context.user = setup_user(context, context.session) > File "D:\Internet\moin-1.9.3\MoinMoin\wsgiapp.py", line 218, in setup_user > userobj = auth.handle_login(context, userobj, **params) > File "D:\Internet\moin-1.9.3\MoinMoin\auth\__init__.py", line 396, > in handle_login > ret = authmethod.login(request, userobj, **params) > File "D:\Internet\moin-1.9.3\MoinMoin\auth\ldap_login.py", line 260, in login > "Trying to authenticate with next auth list entry." % (server, str(err))) > UnboundLocalError: local variable 'server' referenced before assignment > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev From kai at aplteam.com Tue Mar 1 10:24:35 2011 From: kai at aplteam.com (Kai Jaeger) Date: Tue, 1 Mar 2011 15:24:35 +0000 Subject: [Moin-user] Page drafts In-Reply-To: References: Message-ID: Ah, okay, thanks Reimar. I never really thought about this but somehow I assumed that drafts would be saved on the local machine... Kai On Tue, Mar 1, 2011 at 08:35, R.Bauer wrote: > Am 25.02.2011 20:35, schrieb Kai Jaeger: >> I need to know where Moin is saving its drafts. I created quite a >> complex page, relying on the draft mechanism. When I tried to reload >> it there was no draft. My guess is that I misspelled the name of the >> page. >> >> Advice is welcome. >> >> Kai > > Hi Kai > > Drafts are saved for logged in users and are stored below > data/cache/wikiconfig/drafts > > Reimar > > >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT data >> generated by your applications, servers and devices whether physical, virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From doug.farrell at gmail.com Tue Mar 1 15:34:25 2011 From: doug.farrell at gmail.com (Doug Farrell) Date: Tue, 1 Mar 2011 15:34:25 -0500 Subject: [Moin-user] Running an old version of MoinMoin Message-ID: Hi all, I've got a MoinMoin wiki I put together years ago that used MoinMoin version 1.5.1 in an Apache environment. I'd like to do one of two things in order to use the pages in this wiki again: 1) I'd like to run this old MoinMoin wiki using the standalone server so I can copy the pages out of the wiki into a newer version of MoinMoin (1.9.3) so I could use the pages again. 2) I'd like to migrate the pages from my old MoinMoin version 1.5.1 directory to my newly installed MoinMoin version 1.9.3. Is there anyone out there who can help me with either of these questions? Thanks in advance! Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From techtonik at gmail.com Tue Mar 1 14:29:03 2011 From: techtonik at gmail.com (anatoly techtonik) Date: Tue, 1 Mar 2011 21:29:03 +0200 Subject: [Moin-user] OpenID as a secondary authorization Message-ID: Does MoinMoin support usage scenario for OpenID, when it can only be added as auxiliary way for login to existing accounts registered through email? -- anatoly t. From Ole.H.Nielsen at fysik.dtu.dk Wed Mar 2 05:14:03 2011 From: Ole.H.Nielsen at fysik.dtu.dk (Ole Holm Nielsen) Date: Wed, 02 Mar 2011 11:14:03 +0100 Subject: [Moin-user] Running an old version of MoinMoin In-Reply-To: References: Message-ID: <4D6E186B.7020806@fysik.dtu.dk> Doug Farrell wrote: > I've got a MoinMoin wiki I put together years ago that used MoinMoin version > 1.5.1 in an Apache environment. I'd like to do one of two things in order to > use the pages in this wiki again: > > 1) I'd like to run this old MoinMoin wiki using the standalone server so I > can copy the pages out of the wiki into a newer version of MoinMoin (1.9.3) > so I could use the pages again. > > 2) I'd like to migrate the pages from my old MoinMoin version 1.5.1 > directory to my newly installed MoinMoin version 1.9.3. I recently went through a similar migration to 1.9.3. Getting the required documentation was a pain, but in the end it worked quite well. I submitted my experiences (on a Linux server) here: http://moinmo.in/HowTo/BeginnersLinux There are other HowTo documents that may be useful in http://moinmo.in/HowTo -- Ole Holm Nielsen Department of Physics, Technical University of Denmark From kai at aplteam.com Wed Mar 2 08:44:48 2011 From: kai at aplteam.com (Kai Jaeger) Date: Wed, 2 Mar 2011 13:44:48 +0000 Subject: [Moin-user] Spammers Message-ID: Over the last couple of weeks my wiki was subject to a manual attack twice. People seriously make the effort to create a user account and a page by hand only to get rif of their rubbish. Amazing. Anyway, I managed to deactivate the account and delete the page within minutes, and that was that: they did not try again. So far so good, but I would like to get rid of page in the sense that is does not event turn up in RecentChanges. Is there a way to achieve this? Kai From kai at aplteam.com Wed Mar 2 14:39:01 2011 From: kai at aplteam.com (Kai Jaeger) Date: Wed, 2 Mar 2011 19:39:01 +0000 Subject: [Moin-user] Spammers In-Reply-To: References: Message-ID: Brilliant - thanks Rick On Wed, Mar 2, 2011 at 19:00, Rick Vanderveer wrote: > You can go into the data directory on your computer, delete the folder that > matches the offending page.? This physically removes any trace of the page > itself. > > Then open the 'edit-log' file (make a back up, just in case) and carefully > delete the line(s) that corresponds to that page. > > Restart the server process, and it's as if it never existed. > > -Rick > > > > > > On Wed, Mar 2, 2011 at 7:44 AM, Kai Jaeger wrote: >> >> Over the last couple of weeks my wiki was subject to a manual attack >> twice. People seriously make the effort to create a user account and a >> page by hand only to get rif of their rubbish. Amazing. >> >> Anyway, I managed to deactivate the account and delete the page within >> minutes, and that was that: they did not try again. >> >> So far so good, but I would like to get rid of page in the sense that >> is does not event turn up in RecentChanges. >> >> Is there a way to achieve this? >> >> >> Kai >> >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT >> data >> generated by your applications, servers and devices whether physical, >> virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> Moin-user mailing list >> Moin-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/moin-user > > From eric at tibco.com Wed Mar 2 11:50:47 2011 From: eric at tibco.com (Eric Johnson) Date: Wed, 02 Mar 2011 08:50:47 -0800 Subject: [Moin-user] Running an old version of MoinMoin In-Reply-To: References: Message-ID: <4D6E7567.50807@tibco.com> Hi Doug, What do you mean by help? Give you guidance on what to look out for? Suggest a particular approach? In any case, the hardest part of the migration comes from getting you to a 1.6 version of your data. http://moinmo.in/HowTo/Migrate%20from%201.5%20to%201.6 The reason this is particularly hard is that MoinMoin changed syntax, so every page gets touched in the migration. Do you want to migrate all the history of all the pages, or just the current latest copy? I did a patch on my local copy of MoinMoin that migrated the entire history of pages to the 1.6 syntax, rather than just the latest version. Also with the 1.6 version, MoinMoin changed its treatment of spaces vs. underscores. You have a one-time opportunity to rename pages with "_" in their names to use spaces instead. For the server I manage, we chose not to do this. Are you using extensions/plugins/macros in the current setup? If so, migration will be considerably harder. If you're not, it should be much easier. I ended up scripting the migration from 1.5.X to 1.6, so that I could run it any number of times. That way, I could see the results, decide whether I liked them, and if not, figure out what went wrong, and do it again. Upgrades since the 1.6 release have been straightforward, at least through the 1.8 series, where I've stopped for the moment. On 3/1/11 12:34 PM, Doug Farrell wrote: > Hi all, > > I've got a MoinMoin wiki I put together years ago that used MoinMoin > version 1.5.1 in an Apache environment. I'd like to do one of two > things in order to use the pages in this wiki again: > > 1) I'd like to run this old MoinMoin wiki using the standalone server > so I can copy the pages out of the wiki into a newer version of > MoinMoin (1.9.3) so I could use the pages again. > > 2) I'd like to migrate the pages from my old MoinMoin version 1.5.1 > directory to my newly installed MoinMoin version 1.9.3. > > Is there anyone out there who can help me with either of these questions? > > Thanks in advance! > Doug > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search& Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From rick.vanderveer at gmail.com Wed Mar 2 14:00:03 2011 From: rick.vanderveer at gmail.com (Rick Vanderveer) Date: Wed, 2 Mar 2011 13:00:03 -0600 Subject: [Moin-user] Spammers In-Reply-To: References: Message-ID: You can go into the data directory on your computer, delete the folder that matches the offending page. This physically removes any trace of the page itself. Then open the 'edit-log' file (make a back up, just in case) and carefully delete the line(s) that corresponds to that page. Restart the server process, and it's as if it never existed. -Rick On Wed, Mar 2, 2011 at 7:44 AM, Kai Jaeger wrote: > Over the last couple of weeks my wiki was subject to a manual attack > twice. People seriously make the effort to create a user account and a > page by hand only to get rif of their rubbish. Amazing. > > Anyway, I managed to deactivate the account and delete the page within > minutes, and that was that: they did not try again. > > So far so good, but I would like to get rid of page in the sense that > is does not event turn up in RecentChanges. > > Is there a way to achieve this? > > > Kai > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlist9 at gmail.com Wed Mar 2 22:26:37 2011 From: jlist9 at gmail.com (jlist9) Date: Wed, 2 Mar 2011 19:26:37 -0800 Subject: [Moin-user] Is LDAP auth in desktop mode possible? In-Reply-To: References: Message-ID: Hi Reimar, Thanks for the reply! I was away from the computer where I first tried it. So I redownloaded the moinmoin package and started from scratch, and captured what I did. I identified the place that's failing but not sure why it fails. I'll describe what I find first, followed by what I did make the error happen. The error has something to do with this line in ldap_login.py: if hasattr(ldap, 'TLS_AVAIL') and ldap.TLS_AVAIL: This condition is true in my environment. So it continues on to set the option values. There are the values of the options: option: 24579 value: None option: 24578 value: None option: 24580 value: None option: 24581 value: None option: 24582 value: 0 option: 24576 value: 0 The code skips the None values. When it tries to set the 0 value, the code throws an exception. (Maybe it should skip 0s as well?) Anyway, the exception is caught here: except ldap.SERVER_DOWN, err: # looks like this LDAP server isn't working, so we just try the next # authenticator object in cfg.auth list (there could be some second # ldap authenticator that queries a backup server or any other auth # method). logging.error("LDAP server %s failed (%s). " "Trying to authenticate with next auth list entry." % (server, str(err))) return ContinueLogin(user_obj, _("LDAP server %(server)s failed.") % {'server': server}) This is a bug. The exception handling code assumes that the server variable exists when the exception happens. In my case the error happens before the "server = self.server_uri" line the the server variable doesn't exist. But the bug is not the root cause of the problem. The root cause is setting option 24582 value 0 causing an exception. I have no idea what this option is or why it fails. My hack to make LDAP login work is to comment out the whole if section to bypass setting options that seem to be related to TLS: #if hasattr(ldap, 'TLS_AVAIL') and ldap.TLS_AVAIL: # ... # ... These are the steps I did to produce the problem: a. extract moinmoin 1.9.3 package to C:\Dev\moin-1.9.3 (I'm on Windows.). Install python ldap module. b. copy the complete content in ldap_wikiconfig_snippet file into this file C:\Dev\moin-1.9.3\wikiconfig.py, towards the end of the LocalConfig class definition. I'm aware of indentation because I also code in Python. Basically when I copy, I didn't change indentation. c. change the base_dn in the copied snippet to "dc=example,dc=com". This is how my test LDAP is set up on localhost. (I have verified that LDAP query works with a separate LDAP client.) 4. start moinmoin server by running C:\Dev\moin-1.9.3\wikiserver.py. moinmoin starts fine and I see homepage in browser OK. 5. Go to login page by clicking the Login link, then login with my LDAP user's uid and password. At this point, I see "Internal Server Error" in browser, and see this error log in the command line console that's running wikiserver.py: 2011-03-02 18:31:39,963 ERROR MoinMoin.wsgiapp:293 An exception has occurred [http://localhost:8080/LanguageSetup]. Traceback (most recent call last): File "C:\Dev\moin-1.9.3\MoinMoin\wsgiapp.py", line 281, in __call__ context = init(request) File "C:\Dev\moin-1.9.3\MoinMoin\wsgiapp.py", line 55, in init context.user = setup_user(context, context.session) File "C:\Dev\moin-1.9.3\MoinMoin\wsgiapp.py", line 218, in setup_user userobj = auth.handle_login(context, userobj, **params) File "C:\Dev\moin-1.9.3\MoinMoin\auth\__init__.py", line 396, in handle_login ret = authmethod.login(request, userobj, **params) File "C:\Dev\moin-1.9.3\MoinMoin\auth\ldap_login.py", line 258, in login logging.error("LDAP server %s failed (%s). " UnboundLocalError: local variable 'server' referenced before assignment 2011-03-02 18:31:39,994 INFO MoinMoin.web.serving:41 127.0.0.1 "POST /LanguageSetup HTTP/1.1" 500 - 2011-03-02 18:31:40,010 ERROR werkzeug:106 Error on request: Traceback (most recent call last): File "C:\Dev\moin-1.9.3\MoinMoin\support\werkzeug\serving.py", line 151, in run_wsgi execute(app) File "C:\Dev\moin-1.9.3\MoinMoin\support\werkzeug\serving.py", line 138, in execute application_iter = app(environ, start_response) File "C:\Dev\moin-1.9.3\MoinMoin\support\werkzeug\utils.py", line 248, in __call__ return self.app(environ, start_response) File "C:\Dev\moin-1.9.3\MoinMoin\wsgiapp.py", line 281, in __call__ context = init(request) File "C:\Dev\moin-1.9.3\MoinMoin\wsgiapp.py", line 55, in init context.user = setup_user(context, context.session) File "C:\Dev\moin-1.9.3\MoinMoin\wsgiapp.py", line 218, in setup_user userobj = auth.handle_login(context, userobj, **params) File "C:\Dev\moin-1.9.3\MoinMoin\auth\__init__.py", line 396, in handle_login ret = authmethod.login(request, userobj, **params) File "C:\Dev\moin-1.9.3\MoinMoin\auth\ldap_login.py", line 258, in login logging.error("LDAP server %s failed (%s). " UnboundLocalError: local variable 'server' referenced before assignment At this point, there's no new entries in the access log of the LDAP server. (I see access log entries when I query it with my test LDAP client.) So the error happens before a call is made to the LDAP server. Thanks, Jack On Tue, Mar 1, 2011 at 12:43 AM, R.Bauer wrote: > Am 27.02.2011 09:26, schrieb jlist9: >> Hi all, >> >> I'm evaluating moinmoin for an internal wiki. It's meant to be a simple set up >> in company LAN so I'm thinking to run it in the desktop mode. However, I'm >> having a hard time to make LDAP auth work. I put the code in >> ldap_wikiconfig_snippet >> in moinmoin-1.9.3\wiki\config\wikiconfig.py and restarted server by >> running wikiserver.py, >> it seems to still authenticate again local users. It's not hitting the LDAP >> server at all. Then I move the code snippet to moinmoin-1.9.3\wikiconfig.py >> and restart the server, I get an error in the console (see below for the >> error message.) >> >> So my question is, is it possible to do LDAP auth in desktop mode, and >> if yes, what am I missing? > > > yes it is. > > I would prefer to look at your settings before I guess what is going > wrong. Do you now still have the Desktop Edition wiki ocnfig? Where do > you have inserted the snippet? Did you changed the indenting? How did > you indent? > > If you want to get quickly into contact with us, see > http://moinmo.in/MoinMoinChat > > cheers > Reimar > > >> >> Thanks, >> Jack >> >> 2011-02-27 00:25:16,671 ERROR werkzeug:106 Error on request: >> Traceback (most recent call last): >> ? File "D:\Internet\moin-1.9.3\MoinMoin\support\werkzeug\serving.py", >> line 151, in run_wsgi >> ? ? execute(app) >> ? File "D:\Internet\moin-1.9.3\MoinMoin\support\werkzeug\serving.py", >> line 138, in execute >> ? ? application_iter = app(environ, start_response) >> ? File "D:\Internet\moin-1.9.3\MoinMoin\support\werkzeug\utils.py", >> line 248, in __call__ >> ? ? return self.app(environ, start_response) >> ? File "D:\Internet\moin-1.9.3\MoinMoin\wsgiapp.py", line 281, in __call__ >> ? ? context = init(request) >> ? File "D:\Internet\moin-1.9.3\MoinMoin\wsgiapp.py", line 55, in init >> ? ? context.user = setup_user(context, context.session) >> ? File "D:\Internet\moin-1.9.3\MoinMoin\wsgiapp.py", line 218, in setup_user >> ? ? userobj = auth.handle_login(context, userobj, **params) >> ? File "D:\Internet\moin-1.9.3\MoinMoin\auth\__init__.py", line 396, >> in handle_login >> ? ? ret = authmethod.login(request, userobj, **params) >> ? File "D:\Internet\moin-1.9.3\MoinMoin\auth\ldap_login.py", line 260, in login >> ? ? "Trying to authenticate with next auth list entry." % (server, str(err))) >> UnboundLocalError: local variable 'server' referenced before assignment >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT data >> generated by your applications, servers and devices whether physical, virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From tw-public at gmx.de Thu Mar 3 04:00:22 2011 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 03 Mar 2011 10:00:22 +0100 Subject: [Moin-user] Is LDAP auth in desktop mode possible? In-Reply-To: References: Message-ID: <1299142822.8075.10.camel@x300> > option: 24582 value: 0 Talking about numbers is pretty useless, please refer to the symbolic constants used in the source. Seems to correspond to: (ldap.OPT_X_TLS_REQUIRE_CERT, self.tls_require_cert), Please check. BTW, you don't need to comment out the code setting the options, you could also assign a None value to the one you don't want to set, so it'll get skipped automatically. > The code skips the None values. When it tries to set the 0 value, > the code throws an exception. Find out which one exactly, find out the symbolic constant name. > (Maybe it should skip 0s as well?) No, only None is intended for skipping. > This is a bug. The exception handling code assumes that the server > variable exists when the exception happens. In my case the error happens > before the "server = self.server_uri" line the the server variable > doesn't exist. Fixed by: http://hg.moinmo.in/moin/1.9/rev/801b80a1ba7f > But the bug is not the root cause of the problem. The root cause is setting > option 24582 value 0 causing an exception. I have no idea what this option > is or why it fails. Have a look at the exception it is throwing, you'll see it after the above patch is applied, maybe str(err) is then giving some more info. From jlist9 at gmail.com Thu Mar 3 17:41:53 2011 From: jlist9 at gmail.com (jlist9) Date: Thu, 3 Mar 2011 14:41:53 -0800 Subject: [Moin-user] Is LDAP auth in desktop mode possible? In-Reply-To: <1299142822.8075.10.camel@x300> References: <1299142822.8075.10.camel@x300> Message-ID: > Seems to correspond to: > ? ? ? ?(ldap.OPT_X_TLS_REQUIRE_CERT, self.tls_require_cert), That's correct. > Have a look at the exception it is throwing, you'll see it after the > above patch is applied, maybe str(err) is then giving some more info. This line shows up in log: 2011-03-03 14:28:15,430 ERROR MoinMoin.auth.ldap_login:268 LDAP server ldap://localhost failed (). Trying to authenticat e with next auth list entry. I tried wrapping the ldap.set_option(option, value) line with a try block. An exception is thrown but I can't seem to get any info about the exception. From victorhooi at yahoo.com Mon Mar 7 01:53:14 2011 From: victorhooi at yahoo.com (Victor Hooi) Date: Mon, 7 Mar 2011 17:53:14 +1100 Subject: [Moin-user] MoinMoin 2.0 - Enabling ckeditor? Message-ID: Hi, I've just downloaded a copy of MoinMoin 2.0 to play around with on my local server. I see a mention of using CKEditor on the MoinMoin 2.0 wiki page: http://moinmo.in/MoinMoin2.0 And I also see it mentioned on the Requirements page: http://static.moinmo.in/m2/html/admin/requirements.html?highlight=ckeditor However, I can't seem to see any options or configuration to enable it. Are there any instructions on how to enable CKEditor on a MoinMoin 2.0? Or any idea of it's status? Cheers, Victor -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Mon Mar 7 12:29:42 2011 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 07 Mar 2011 18:29:42 +0100 Subject: [Moin-user] MoinMoin 2.0 - Enabling ckeditor? In-Reply-To: References: Message-ID: <1299518982.11018.1.camel@x300> > Are there any instructions on how to enable CKEditor on a MoinMoin > 2.0? Or any idea of it's status? ckeditor currently is used if you create a text/html typed item. it's NOT used for moin wiki (or other wiki) markup items yet. From fontis at gmx.net Mon Mar 7 14:51:11 2011 From: fontis at gmx.net (Fred Fontis) Date: Mon, 07 Mar 2011 20:51:11 +0100 Subject: [Moin-user] Edit Problem Moinmoin 1.1 (not a joke) Message-ID: <4D75372F.2080307@gmx.net> Hi, we use moinmoin-wiki Version 1.1 since many years and it worked fine. Last week our (stoneold) server crashes and i install a Debian 6 64bit Server with apache2. Also i install moinmoin1.1 as it described in INSTALL.html/Unix and all went fine. I restore my own wiki's from my (uncorrupted!) Backup and make the relevant entries in httpd.conf. My own wikis starts up fine... But the first time we want to edit a page, this message appears: "Sorry, someone else saved the page while you edited it. Please do the following: Use the back button of your browser, and cut&paste your changes from there. Then go forward to here, and click EditText again. Now re-add your changes to the current page contents. Do not just replace the content editbox with your version of the page, because that would delete the changes of the other person, which is excessively rude!" I try to delete the file editlog and last-edited, gave permissions to everything and so on...nothing worked. Strange was, that this message also appears on the wiki testsite under /usr/local/share/moin/mywiki that i created like it was described in INSTALL.html... I search for that string in the Python-Moin files and found in file PageEditor.py elif datestamp != '0' and datestamp != str(os.path.getmtime(self._text_filename())): msg = self._("""Sorry, someone else saved the page while you edited it.

Please do the following: Use the back button of your browser, and cut&paste your changes from there. Then go forward to here, and click EditText again. Now re-add your changes to the current page contents.

Do not just replace the content editbox with your version of the page, because that would delete the changes of the other person, which is excessively rude! """) If i comment this snipet i could save the pages! Now my question to the developers: is this a valid workaround? Are traps there? Only 2-3 fellows in our company edit pages, so conflicts are not probably... What else could i do instaed of this hack? Any idea? Best Regards Fontis From tw-public at gmx.de Mon Mar 7 18:36:01 2011 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 08 Mar 2011 00:36:01 +0100 Subject: [Moin-user] Edit Problem Moinmoin 1.1 (not a joke) In-Reply-To: <4D75372F.2080307@gmx.net> References: <4D75372F.2080307@gmx.net> Message-ID: <1299540961.11018.6.camel@x300> > Now my question to the developers: is this a valid workaround? Good question. That stuff is so old... > What else could i do instaed of this hack? Well, upgrade to 1.9.x? There is some probability that you'll find more issues, because the moin you run is much older than the python you've installed right now. The upgrade will take a while and might be non-trivial (join us on #moin when doing it), but better you do it now than delaying it even longer. From paul at boddie.org.uk Tue Mar 8 19:12:14 2011 From: paul at boddie.org.uk (Paul Boddie) Date: Wed, 9 Mar 2011 01:12:14 +0100 Subject: [Moin-user] Moin's OpenID support and identifier_select Message-ID: <201103090112.15567.paul@boddie.org.uk> Hello, I've been trying to make sure that I haven't been breaking OpenID in Moin while applying some patches, and I noticed that putting more than one provider in openidrp_allowed_op puts Moin into the "identifier select" mode of authentication where the following occurs: 1. The relying party or RP (in this case, Moin offering an OpenID "login") shows a list of providers of the form http://example.com/ (rather than specific identifiers like http://me.example.com/). 2. The RP does discovery using the selected provider, finds out where the OpenID provider endpoint is. 3. The RP, indicating an association handle for future use, redirects the end-user to the provider endpoint and lets them authorise the authentication request. 4. The provider redirects the end-user back to the RP using a specially formed URL which includes the OpenID provider endpoint and the association handle which should have been provided in step 3. 5. The RP attempts to verify the details provided. Here's the problem: when the provider is another Moin instance, the OpenID endpoint mentioned in the specially formed URL is different from the one that was mentioned in discovery. Since the OpenID library (python-openid) concerned uses the endpoint together with the association handle when preparing the request in step 3, it cannot verify the details from step 4 using a new endpoint returned by Moin-as-provider. So, I'm trying to find out whether anyone uses Moin in this way. I'm also trying to figure out whether returning a different endpoint is a valid thing to do and/or whether using an initial endpoint to record authentication state is sensible, although that's more of an issue for the python-openid maintainers, I would imagine. Does anyone have any ideas or experiences with this? Paul From rb.proj at gmail.com Wed Mar 9 02:21:11 2011 From: rb.proj at gmail.com (R.Bauer) Date: Wed, 09 Mar 2011 08:21:11 +0100 Subject: [Moin-user] Edit Problem Moinmoin 1.1 (not a joke) In-Reply-To: <4D75372F.2080307@gmx.net> References: <4D75372F.2080307@gmx.net> Message-ID: Am 07.03.2011 20:51, schrieb Fred Fontis: > Hi, > > we use moinmoin-wiki Version 1.1 since many years and it worked fine. > > Last week our (stoneold) server crashes and i install a Debian 6 64bit > Server with apache2. Also i install moinmoin1.1 as it described in > INSTALL.html/Unix and all went fine. Because you mentioned on IRC that you have only 20 pages of content in that wiki I suggest to install moin-1.9.3 and manually migrate these 20 pages to the new version. This approach will be in my opinion much faster than all the other problem fixes because of using that stoneage version with a to new python version. Reimar From drbedsole at gmail.com Wed Mar 9 10:51:11 2011 From: drbedsole at gmail.com (Donald Bedsole) Date: Wed, 9 Mar 2011 10:51:11 -0500 Subject: [Moin-user] Server hanging Message-ID: Hi folks (first post to the list), I'm running MoinMoin as a desktop wiki using the builtin server. I'm running it on Windows 7, with Python 2.7.1. I have wikiserver.py as an automatic startup program, and I have Google Chrome to open the wiki in a tab when Google Chrome starts. The problem is that the wikiserver seems to hang at times, and when it does, the only way I can kill it is to power cycle the machine. The Task Manager doesn't work, and even trying to kill it from the command line as an Administrator doesn't. It doesn't happen every time, but often enough to be a problem. I would welcome any help or suggestions. Thanks. From tw-public at gmx.de Wed Mar 9 11:12:47 2011 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 09 Mar 2011 17:12:47 +0100 Subject: [Moin-user] Server hanging In-Reply-To: References: Message-ID: <1299687167.18013.24.camel@server.firma.waldmann-edv.de> > I'm running MoinMoin as a desktop wiki using the builtin server. I'm > running it on Windows 7, with Python 2.7.1. I have wikiserver.py as > an automatic startup program, and I have Google Chrome to open the > wiki in a tab when Google Chrome starts. > > The problem is that the wikiserver seems to hang at times, and when it > does, the only way I can kill it is to power cycle the machine. Ugh. > Task Manager doesn't work, and even trying to kill it from the command > line as an Administrator doesn't. That's very unusual. I don't think that python code can behave like that, usually it is no issue to kill the process. Is it maybe due to the way you are running it in system startup? Can you try with just running moin in a cmd window (and without admin privileges)? > It doesn't happen every time, but often enough to be a problem. Maybe you should consider that something outside moin could be the cause of this. E.g. some stuff in moin is rather intensively using the disk / the filesystem and, after a while, it might also consume quite a bit of memory. So, e.g. if your disk has bad sectors or your memory is bad, it could maybe cause strange behaviour. For running moin 1.9 with python 2.7, you also need a quite recent moin (repo checkout, moin 1.9.4 (not released yet)) or this patch for 1.9.3: http://hg.moinmo.in/moin/1.9/rev/a4a7f275b7b3 (alternatively, use python 2.6.x) From drbedsole at gmail.com Wed Mar 9 11:13:58 2011 From: drbedsole at gmail.com (Donald Bedsole) Date: Wed, 9 Mar 2011 11:13:58 -0500 Subject: [Moin-user] Server hanging Message-ID: I should have been more clear on my original message. I have to power cycle the machine to stop the process because if I try to reboot or shutdown the machine the normal way using the Windows shutdown button, it just hangs. I can't even shutdown the machine without hitting the power button. From drbedsole at gmail.com Wed Mar 9 11:57:04 2011 From: drbedsole at gmail.com (Donald Bedsole) Date: Wed, 9 Mar 2011 11:57:04 -0500 Subject: [Moin-user] Server hanging In-Reply-To: <1299687167.18013.24.camel@server.firma.waldmann-edv.de> References: <1299687167.18013.24.camel@server.firma.waldmann-edv.de> Message-ID: On Wed, Mar 9, 2011 at 11:12 AM, Thomas Waldmann wrote: > For running moin 1.9 with python 2.7, you also need a quite recent moin > (repo checkout, moin 1.9.4 (not released yet)) or this patch for 1.9.3: > > http://hg.moinmo.in/moin/1.9/rev/a4a7f275b7b3 > > (alternatively, use python 2.6.x) Thanks Thomas, I'll check into the troubleshooting steps you mentioned. In regards to the patch you mentioned, I am running MoinMoin 1.9.3. Here's the "import" section of my MoinMoin/support/werkzeug/templates.py: import sys import re import __builtin__ as builtins from compiler import ast, parse #from compiler.consts import SC_LOCAL, SC_GLOBAL, SC_FREE, SC_CELL from compiler.pycodegen import ModuleCodeGenerator from tokenize import PseudoToken from werkzeug import utils from werkzeug._internal import _decode_unicode If I delete the one line I have commented out above, is that all that's necessary? Thank you, Don From tw-public at gmx.de Thu Mar 10 04:00:54 2011 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 10 Mar 2011 10:00:54 +0100 Subject: [Moin-user] Server hanging In-Reply-To: References: <1299687167.18013.24.camel@server.firma.waldmann-edv.de> Message-ID: <1299747654.6019.5.camel@x300> > Here's the "import" section of my > MoinMoin/support/werkzeug/templates.py: > > > import sys > import re > import __builtin__ as builtins > from compiler import ast, parse > #from compiler.consts import SC_LOCAL, SC_GLOBAL, SC_FREE, SC_CELL > from compiler.pycodegen import ModuleCodeGenerator > from tokenize import PseudoToken > from werkzeug import utils > from werkzeug._internal import _decode_unicode > > If I delete the one line I have commented out above, is that all > that's necessary? Well, yes, you can remove it. Just commenting the line of course also makes it work. The constants aren't used. For py 2.6, the import works, because compiler.consts has those constants, for py 2.7 it fails, because they are not there any more. From pcolsen at gmail.com Thu Mar 10 22:16:20 2011 From: pcolsen at gmail.com (Peter Olsen) Date: Thu, 10 Mar 2011 22:16:20 -0500 Subject: [Moin-user] Running moin reliably from a thumbdrive Message-ID: <7B296CAC-5CF5-4249-A22E-12A3B80378F7@gmail.com> Ladies and Gentlemen, I need to be able to run moinmoin desktop from a thumbdrive. I haven't been able to make that work. Can someone offer advice? I've been running moinmoin desktop as a PIM and records organizer for both personal and professional information for about six years. I need to have access from both my home and work computers. Until recently I'd been synchronizing my different computers using mobile.me, but recent changes in our corporate IT security rules have made that impossible. My only option seems to be to run moin from a thumbdrive, but I can't get moinmoin to run reliably. Sometimes it crashes with "Module not found" and sometimes it crashes with a cache error. Perhaps I could keep just the data on the thumb drive and move the moin code to my hard drive, but I haven't been able to get moin to look on the thumbdrive for its data. If I can't get moin working, then probably I'll have to dump my current database as static HTML files and start using something else. I've heard good reports of the Squeak Swiki. But my first choice is to stay with moin if there is any way I can get things to work. Peter Some details: I'm running Python 2.6.4 under Max OS X 10.5. I've been using I've tried moin-1.84, -1.8.8, and -1.9.3 with all the data in the local wiki/data/pages directory. I use the built-in server. I've got about 1000 pages of data and, I believe, about 2000 pages of attachments. I don't know how many revision files, etc. The path on my thumbdrive is /ThumbRoot/Wiki/moin-1.8.4/wikiserver.py. Data is at ThumbRoot/ Wiki/moin-1.8.4/wiki/data/pages. I've tried starting the server both from the GUI and from a terminal window. In the terminal, I've tried starting it from within the directory (./wikiserver.py) and using a full path name (/Volumes/.../Wiki/moin-1.8.4/wikiserver.py) The method of call didn't seem to make a difference. From rb.proj at gmail.com Fri Mar 11 03:44:59 2011 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 11 Mar 2011 09:44:59 +0100 Subject: [Moin-user] Running moin reliably from a thumbdrive In-Reply-To: <7B296CAC-5CF5-4249-A22E-12A3B80378F7@gmail.com> References: <7B296CAC-5CF5-4249-A22E-12A3B80378F7@gmail.com> Message-ID: Am 11.03.2011 04:16, schrieb Peter Olsen: > Ladies and Gentlemen, > > I need to be able to run moinmoin desktop from a thumbdrive. I > haven't been able to make that work. Can someone offer advice? > > I've been running moinmoin desktop as a PIM and records organizer for > both personal and professional information for about six years. I > need to have access from both my home and work computers. Until > recently I'd been synchronizing my different computers using > mobile.me, but recent changes in our corporate IT security rules have > made that impossible. > > My only option seems to be to run moin from a thumbdrive, but I can't > get moinmoin to run reliably. Sometimes it crashes with "Module not > found" and sometimes it crashes with a cache error. > > Perhaps I could keep just the data on the thumb drive and move the > moin code to my hard drive, but I haven't been able to get moin to > look on the thumbdrive for its data. > > If I can't get moin working, then probably I'll have to dump my > current database as static HTML files and start using something else. > I've heard good reports of the Squeak Swiki. But my first choice is > to stay with moin if there is any way I can get things to work. > > Peter > > > Some details: > > I'm running Python 2.6.4 under Max OS X 10.5. I've been using I've > tried moin-1.84, -1.8.8, and -1.9.3 with all the data in the local > wiki/data/pages directory. I use the built-in server. I've got about > 1000 pages of data and, I believe, about 2000 pages of attachments. I > don't know how many revision files, etc. The path on my thumbdrive > is /ThumbRoot/Wiki/moin-1.8.4/wikiserver.py. Data is at ThumbRoot/ > Wiki/moin-1.8.4/wiki/data/pages. I've tried starting the server both > from the GUI and from a terminal window. In the terminal, I've tried > starting it from within the directory (./wikiserver.py) and using a > full path name (/Volumes/.../Wiki/moin-1.8.4/wikiserver.py) The > method of call didn't seem to make a difference. > > Just some notes: if you move your data to a more recent moin version you need to migrate this data and to clean the cache moin .. migration data moin .. maint cleancache if you have different python versions on your systems you need to run moin .. maint cleancache. you can also use the moin cli server command (HelpOnMoinCommand) to start the standalone server. Reimar From tw-public at gmx.de Fri Mar 11 05:46:30 2011 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 11 Mar 2011 11:46:30 +0100 Subject: [Moin-user] Running moin reliably from a thumbdrive In-Reply-To: <7B296CAC-5CF5-4249-A22E-12A3B80378F7@gmail.com> References: <7B296CAC-5CF5-4249-A22E-12A3B80378F7@gmail.com> Message-ID: <1299840390.10500.2.camel@x300> > My only option seems to be to run moin from a thumbdrive, but I can't > get moinmoin to run reliably. Sometimes it crashes with "Module not > found" and sometimes it crashes with a cache error. We need the full tracebacks for these crashes. From rb.proj at gmail.com Fri Mar 11 11:04:20 2011 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 11 Mar 2011 17:04:20 +0100 Subject: [Moin-user] idl 8.0.1 and idlde on linux Message-ID: Hi Are there known issues between idl command line mode and idlde? Reimar From rb.proj at gmail.com Fri Mar 11 11:08:29 2011 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 11 Mar 2011 17:08:29 +0100 Subject: [Moin-user] idl 8.0.1 and idlde on linux In-Reply-To: References: Message-ID: Am 11.03.2011 17:04, schrieb R.Bauer: > Hi > > Are there known issues between idl command line mode and idlde? > > Reimar > ignore, wrong channel ... sorry From lists at theflorys.org Sun Mar 13 13:06:27 2011 From: lists at theflorys.org (David) Date: Sun, 13 Mar 2011 13:06:27 -0400 Subject: [Moin-user] Trying to run on Python 2.7 Message-ID: <4D7CF993.3060302@theflorys.org> I am running a local WiKi on my Win7 laptop. It has been working fine for several years through Windows, Python, and Moin upgrades. Most recently I have tried to upgrade to Python 2.7 and I have problems. My base configuration is a local Apache server running Apache/2.2.16 (Win32), mod_wsgi/3.3, Python/2.7.1, PHP/5.3.4. I have Moin 1.9.3 installed. When I upgraded to Python 2.7 I installed the patch to Moin 1.9.3 (deleted a line from MoinMoin/support/werkzeug/templates.py). My mod_wsgi is working fine. My Apache server is working fine. Moin is not working. Here is a set of lines from the Apache error log: [Sat Mar 12 17:05:05 2011] [error] 2011-03-12 17:05:05,575 WARNING MoinMoin.log:139 using logging configuration read from built-in fallback in MoinMoin.log module! [Sat Mar 12 17:05:05 2011] [error] 2011-03-12 17:05:05,926 INFO MoinMoin.config.multiconfig:127 using wiki config: H:\\Moin\\pvtwiki\\wikiconfig.py [Sat Mar 12 17:05:06 2011] [error] 2011-03-12 17:05:06,105 ERROR MoinMoin.wsgiapp:293 An exception has occurred [http://localhost:8080/mywiki/MyStartingPage]. [Sat Mar 12 17:05:06 2011] [error] Traceback (most recent call last): [Sat Mar 12 17:05:06 2011] [error] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 282, in __call__ [Sat Mar 12 17:05:06 2011] [error] response = run(context) [Sat Mar 12 17:05:06 2011] [error] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 88, in run [Sat Mar 12 17:05:06 2011] [error] response = dispatch(request, context, action_name) [Sat Mar 12 17:05:06 2011] [error] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 136, in dispatch [Sat Mar 12 17:05:06 2011] [error] response = handle_action(context, pagename, action_name) [Sat Mar 12 17:05:06 2011] [error] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 195, in handle_action [Sat Mar 12 17:05:06 2011] [error] handler(context.page.page_name, context) [Sat Mar 12 17:05:06 2011] [error] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\action\\__init__.py", line 268, in do_show [Sat Mar 12 17:05:06 2011] [error] content_only=content_only, [Sat Mar 12 17:05:06 2011] [error] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\Page.py", line 1198, in send_page [Sat Mar 12 17:05:06 2011] [error] start_line=pi['lines']) [Sat Mar 12 17:05:06 2011] [error] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\Page.py", line 1292, in send_page_content [Sat Mar 12 17:05:06 2011] [error] self.execute(request, parser, code) [Sat Mar 12 17:05:06 2011] [error] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\Page.py", line 1323, in execute [Sat Mar 12 17:05:06 2011] [error] exec code [Sat Mar 12 17:05:06 2011] [error] File "MyStartingPage", line 2, in [Sat Mar 12 17:05:06 2011] [error] TypeError: 'dict' object is not callable [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] mod_wsgi (pid=8408): Exception occurred processing WSGI script 'H:/Moin/pvtwiki/moin.wsgi'. [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] Traceback (most recent call last): [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\support\\werkzeug\\utils.py", line 248, in __call__ [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] return self.app(environ, start_response) [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 282, in __call__ [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] response = run(context) [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 88, in run [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] response = dispatch(request, context, action_name) [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 136, in dispatch [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] response = handle_action(context, pagename, action_name) [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 195, in handle_action [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] handler(context.page.page_name, context) [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\action\\__init__.py", line 268, in do_show [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] content_only=content_only, [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\Page.py", line 1198, in send_page [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] start_line=pi['lines']) [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\Page.py", line 1292, in send_page_content [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] self.execute(request, parser, code) [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] File "C:\\Python27\\lib\\site-packages\\MoinMoin\\Page.py", line 1323, in execute [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] exec code [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] File "MyStartingPage", line 2, in [Sat Mar 12 17:05:06 2011] [error] [client 127.0.0.1] TypeError: 'dict' object is not callable Any advice on how to fix the problem would be appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at theflorys.org Sun Mar 13 15:59:40 2011 From: lists at theflorys.org (David) Date: Sun, 13 Mar 2011 15:59:40 -0400 Subject: [Moin-user] underlay problem. Can't find HelpContents Message-ID: <4D7D222C.5060102@theflorys.org> My wiki is not finding its help files. I am configured with my data directory in a different location from my underlay directory. data_dir = 'H:/Moin/pvtwiki/data/' data_underlay_dir = 'C:/Python27/share/moin/underlay/' When I click on HelpContents I get the Create New Page page. My base configuration is a local Apache server running Apache/2.2.16 (Win32), mod_wsgi/3.3, Python/2.7.1, PHP/5.3.4. I have Moin 1.9.3 installed. When I upgraded to Python 2.7 I installed the patch to Moin 1.9.3 (deleted a line from MoinMoin/support/werkzeug/templates.py). My mod_wsgi is working fine. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at theflorys.org Sun Mar 13 17:08:15 2011 From: lists at theflorys.org (David) Date: Sun, 13 Mar 2011 17:08:15 -0400 Subject: [Moin-user] underlay problem. Can't find HelpContents In-Reply-To: <4D7D222C.5060102@theflorys.org> References: <4D7D222C.5060102@theflorys.org> Message-ID: <4D7D323F.9050300@theflorys.org> On 3/13/2011 3:59 PM, David wrote: > My wiki is not finding its help files. I am configured with my data > directory in a different location from my underlay directory. > data_dir = 'H:/Moin/pvtwiki/data/' > data_underlay_dir = 'C:/Python27/share/moin/underlay/' > > When I click on HelpContents I get the Create New Page page. > > My base configuration is a local Apache server running Apache/2.2.16 > (Win32), mod_wsgi/3.3, Python/2.7.1, PHP/5.3.4. I have Moin 1.9.3 > installed. When I upgraded to Python 2.7 I installed the patch to Moin > 1.9.3 (deleted a line from MoinMoin/support/werkzeug/templates.py). My > mod_wsgi is working fine. > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > > > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user Dumb error. I needed to run http:///LanguageSetup !! Problem solved. From rb.proj at gmail.com Mon Mar 14 05:42:24 2011 From: rb.proj at gmail.com (R.Bauer) Date: Mon, 14 Mar 2011 10:42:24 +0100 Subject: [Moin-user] underlay problem. Can't find HelpContents In-Reply-To: <4D7D323F.9050300@theflorys.org> References: <4D7D222C.5060102@theflorys.org> <4D7D323F.9050300@theflorys.org> Message-ID: Am 13.03.2011 22:08, schrieb David: > On 3/13/2011 3:59 PM, David wrote: >> My wiki is not finding its help files. I am configured with my data >> directory in a different location from my underlay directory. >> data_dir = 'H:/Moin/pvtwiki/data/' >> data_underlay_dir = 'C:/Python27/share/moin/underlay/' >> >> When I click on HelpContents I get the Create New Page page. >> >> My base configuration is a local Apache server running Apache/2.2.16 >> (Win32), mod_wsgi/3.3, Python/2.7.1, PHP/5.3.4. I have Moin 1.9.3 >> installed. When I upgraded to Python 2.7 I installed the patch to Moin >> 1.9.3 (deleted a line from MoinMoin/support/werkzeug/templates.py). My >> mod_wsgi is working fine. >> >> >> ------------------------------------------------------------------------------ >> Colocation vs. Managed Hosting >> A question and answer guide to determining the best fit >> for your organization - today and in the future. >> http://p.sf.net/sfu/internap-sfd2d >> >> >> >> _______________________________________________ >> Moin-user mailing list >> Moin-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/moin-user > > Dumb error. I needed to run http:///LanguageSetup !! > > Problem solved. btw. don't you have docs in your check out e.g. docs/README_FIRST ? Reimar > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d From tw-public at gmx.de Mon Mar 14 09:42:16 2011 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 14 Mar 2011 14:42:16 +0100 Subject: [Moin-user] Trying to run on Python 2.7 In-Reply-To: <4D7CF993.3060302@theflorys.org> References: <4D7CF993.3060302@theflorys.org> Message-ID: <1300110136.29568.39.camel@x300> On Sun, 2011-03-13 at 13:06 -0400, David wrote: > I am running a local WiKi on my Win7 laptop. It has been working > fine for several years through Windows, Python, and Moin upgrades. > Most recently I have tried to upgrade to Python 2.7 and I have > problems. This is due to python version change. You need to run "moin ... maint cleancache". And you also may need a rather recent moin repo checkout due to a small py 2.7 compat issue in old werkzeug versions. Or this patch: http://hg.moinmo.in/moin/1.9/rev/a4a7f275b7b3 From lists at theflorys.org Mon Mar 14 11:08:54 2011 From: lists at theflorys.org (David) Date: Mon, 14 Mar 2011 11:08:54 -0400 Subject: [Moin-user] underlay problem. Can't find HelpContents In-Reply-To: References: <4D7D222C.5060102@theflorys.org> <4D7D323F.9050300@theflorys.org> Message-ID: <4D7E2F86.9020905@theflorys.org> On 3/14/2011 5:42 AM, R.Bauer wrote: > Am 13.03.2011 22:08, schrieb David: >> On 3/13/2011 3:59 PM, David wrote: >>> My wiki is not finding its help files. I am configured with my data >>> directory in a different location from my underlay directory. >>> data_dir = 'H:/Moin/pvtwiki/data/' >>> data_underlay_dir = 'C:/Python27/share/moin/underlay/' >>> >>> When I click on HelpContents I get the Create New Page page. >>> >>> My base configuration is a local Apache server running Apache/2.2.16 >>> (Win32), mod_wsgi/3.3, Python/2.7.1, PHP/5.3.4. I have Moin 1.9.3 >>> installed. When I upgraded to Python 2.7 I installed the patch to Moin >>> 1.9.3 (deleted a line from MoinMoin/support/werkzeug/templates.py). My >>> mod_wsgi is working fine. >>> >>> >>> ------------------------------------------------------------------------------ >>> Colocation vs. Managed Hosting >>> A question and answer guide to determining the best fit >>> for your organization - today and in the future. >>> http://p.sf.net/sfu/internap-sfd2d >>> >>> >>> >>> _______________________________________________ >>> Moin-user mailing list >>> Moin-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/moin-user >> >> Dumb error. I needed to run http:///LanguageSetup !! >> >> Problem solved. > > btw. don't you have docs in your check out > e.g. docs/README_FIRST ? > > > Reimar >> >> ------------------------------------------------------------------------------ >> Colocation vs. Managed Hosting >> A question and answer guide to determining the best fit >> for your organization - today and in the future. >> http://p.sf.net/sfu/internap-sfd2d > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > Reimar, Thank you very much for your kind response. It was particularly useful after I posted the solution myself. I did read the relevant documentation for a 1.9.2 to 1.9.3 upgrade and did not notice that I had to run that particular process. Again, your helpful comment was deeply appreciated. David Flory From rb.proj at gmail.com Tue Mar 15 09:58:17 2011 From: rb.proj at gmail.com (R.Bauer) Date: Tue, 15 Mar 2011 14:58:17 +0100 Subject: [Moin-user] underlay problem. Can't find HelpContents In-Reply-To: <4D7E2F86.9020905@theflorys.org> References: <4D7D222C.5060102@theflorys.org> <4D7D323F.9050300@theflorys.org> <4D7E2F86.9020905@theflorys.org> Message-ID: Am 14.03.2011 16:08, schrieb David: > On 3/14/2011 5:42 AM, R.Bauer wrote: >> Am 13.03.2011 22:08, schrieb David: >>> On 3/13/2011 3:59 PM, David wrote: >>>> My wiki is not finding its help files. I am configured with my data >>>> directory in a different location from my underlay directory. >>>> data_dir = 'H:/Moin/pvtwiki/data/' >>>> data_underlay_dir = 'C:/Python27/share/moin/underlay/' >>>> >>>> When I click on HelpContents I get the Create New Page page. >>>> >>>> My base configuration is a local Apache server running Apache/2.2.16 >>>> (Win32), mod_wsgi/3.3, Python/2.7.1, PHP/5.3.4. I have Moin 1.9.3 >>>> installed. When I upgraded to Python 2.7 I installed the patch to Moin >>>> 1.9.3 (deleted a line from MoinMoin/support/werkzeug/templates.py). My >>>> mod_wsgi is working fine. >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Colocation vs. Managed Hosting >>>> A question and answer guide to determining the best fit >>>> for your organization - today and in the future. >>>> http://p.sf.net/sfu/internap-sfd2d >>>> >>>> >>>> >>>> _______________________________________________ >>>> Moin-user mailing list >>>> Moin-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/moin-user >>> >>> Dumb error. I needed to run http:///LanguageSetup !! >>> >>> Problem solved. >> >> btw. don't you have docs in your check out >> e.g. docs/README_FIRST ? >> >> >> Reimar >>> >>> ------------------------------------------------------------------------------ >>> Colocation vs. Managed Hosting >>> A question and answer guide to determining the best fit >>> for your organization - today and in the future. >>> http://p.sf.net/sfu/internap-sfd2d >> >> >> >> ------------------------------------------------------------------------------ >> Colocation vs. Managed Hosting >> A question and answer guide to determining the best fit >> for your organization - today and in the future. >> http://p.sf.net/sfu/internap-sfd2d >> _______________________________________________ >> Moin-user mailing list >> Moin-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/moin-user >> > Reimar, > > Thank you very much for your kind response. It was particularly useful > after I posted the solution myself. I did read the relevant > documentation for a 1.9.2 to 1.9.3 upgrade and did not notice that I had > to run that particular process. > > Again, your helpful comment was deeply appreciated. > > David Flory well it was a question. We are also just humans. If the docs are not at a prominent location or we missed to describe something feel free to help on http://master19.moinmo.in/InstallDocs. Read EditingOnMoinMaster beforehand. cheers Reimar From kai at aplteam.com Wed Mar 16 07:51:04 2011 From: kai at aplteam.com (Kai Jaeger) Date: Wed, 16 Mar 2011 11:51:04 +0000 Subject: [Moin-user] Deleting user accounts Message-ID: I would like to delete all accounts created by spammers - I have plenty. The help is saying: "You can remove a user by deleting his user file (and other files that are named with that userid prefix)." What exactly is a "userid prefix" in this contents? Thanks. From rb.proj at gmail.com Wed Mar 16 13:02:53 2011 From: rb.proj at gmail.com (R.Bauer) Date: Wed, 16 Mar 2011 18:02:53 +0100 Subject: [Moin-user] Deleting user accounts In-Reply-To: References: Message-ID: Am 16.03.2011 12:51, schrieb Kai Jaeger: > I would like to delete all accounts created by spammers - I have plenty. > > The help is saying: > > "You can remove a user by deleting his user file (and other files that > are named with that userid prefix)." > > What exactly is a "userid prefix" in this contents? the user profiles are stored in wiki/data/user and drafts wiki/data/cache/wikiconfig/drafts Oh, the description is partly wrong. I guess that "userid prefix" description is wrong, left over from a different handling of drafts. In current version we use the same uid number. cheers Reimar From mailinglists at xgm.de Wed Mar 16 15:59:45 2011 From: mailinglists at xgm.de (Florian Lindner) Date: Wed, 16 Mar 2011 20:59:45 +0100 Subject: [Moin-user] Remove all permissions from all users Message-ID: <201103162059.45073.mailinglists@xgm.de> Hello, I want to configure a wiki that is used by only user, who is also superuser and granted all rights in acl_rights_before. No content should be accessible for other users (help pages e.g. would be fine). But I want to be able to grant more permissions on per-page base. acl_right_default = u"All:" makes the FrontPage for example still be accessible by an unknown user. Thanks, Florian From mailinglists at xgm.de Wed Mar 16 16:20:30 2011 From: mailinglists at xgm.de (Florian Lindner) Date: Wed, 16 Mar 2011 21:20:30 +0100 Subject: [Moin-user] Remove all permissions from all users Message-ID: <201103162120.30497.mailinglists@xgm.de> Hello, I want to configure a wiki that is used by only user, who is also superuser and granted all rights in acl_rights_before. No content should be accessible for other users (help pages e.g. would be fine). But I want to be able to grant more permissions on per-page base. acl_right_default = u"All:" makes the FrontPage for example still be accessible by an unknown user. Thanks, Florian From mailinglists at xgm.de Thu Mar 17 13:35:20 2011 From: mailinglists at xgm.de (Florian Lindner) Date: Thu, 17 Mar 2011 18:35:20 +0100 Subject: [Moin-user] Remove all permissions from all users In-Reply-To: <201103162120.30497.mailinglists@xgm.de> References: <201103162120.30497.mailinglists@xgm.de> Message-ID: <201103171835.20410.mailinglists@xgm.de> Am Mittwoch 16 M?rz 2011, 21:20:30 schrieb Florian Lindner: > Hello, > > I want to configure a wiki that is used by only user, who is also superuser > and granted all rights in acl_rights_before. No content should be > accessible for other users (help pages e.g. would be fine). But I want to > be able to grant more permissions on per-page base. > > acl_right_default = u"All:" > > makes the FrontPage for example still be accessible by an unknown user. I also tried: acl_right_default = u"-All:read,write,delete,revert,admin" which had no effect at all. Thanks, Florian From paul at boddie.org.uk Thu Mar 17 18:56:20 2011 From: paul at boddie.org.uk (Paul Boddie) Date: Thu, 17 Mar 2011 23:56:20 +0100 Subject: [Moin-user] Remove all permissions from all users In-Reply-To: <201103171835.20410.mailinglists@xgm.de> References: <201103162120.30497.mailinglists@xgm.de> <201103171835.20410.mailinglists@xgm.de> Message-ID: <201103172356.20456.paul@boddie.org.uk> On Thursday 17 March 2011 18:35:20 Florian Lindner wrote: > > I also tried: > > acl_right_default = u"-All:read,write,delete,revert,admin" > > which had no effect at all. You mean acl_rights_default, I suppose. Just checking... Paul From mailinglists at xgm.de Fri Mar 18 01:18:24 2011 From: mailinglists at xgm.de (Florian Lindner) Date: Fri, 18 Mar 2011 06:18:24 +0100 Subject: [Moin-user] Remove all permissions from all users In-Reply-To: <201103172356.20456.paul@boddie.org.uk> References: <201103162120.30497.mailinglists@xgm.de> <201103171835.20410.mailinglists@xgm.de> <201103172356.20456.paul@boddie.org.uk> Message-ID: <201103180618.24463.mailinglists@xgm.de> Am Donnerstag 17 M?rz 2011, 23:56:20 schrieb Paul Boddie: > On Thursday 17 March 2011 18:35:20 Florian Lindner wrote: > > I also tried: > > > > acl_right_default = u"-All:read,write,delete,revert,admin" > > > > which had no effect at all. > > You mean acl_rights_default, I suppose. Just checking... Yes, I mean that.... but I did not put in the config that way. :-/ acl_rights_default = u"All:" seems to work fine. Thanks, Florian > Paul > > --------------------------------------------------------------------------- > --- Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From moin-user-list.GarveyPatrickD at spamgourmet.com Mon Mar 28 23:27:14 2011 From: moin-user-list.GarveyPatrickD at spamgourmet.com (moin-user-list.GarveyPatrickD at spamgourmet.com) Date: Mon, 28 Mar 2011 20:27:14 -0700 Subject: [Moin-user] MoinMaster Mailing List Message-ID: Is the moin-user mailing list used for both the MoinMoin wiki and the MoinMaster wiki? From moin-user-list.GarveyPatrickD at spamgourmet.com Mon Mar 28 23:44:13 2011 From: moin-user-list.GarveyPatrickD at spamgourmet.com (moin-user-list.GarveyPatrickD at spamgourmet.com) Date: Mon, 28 Mar 2011 20:44:13 -0700 Subject: [Moin-user] "WikiCourse/04 Creating a wiki account" Message-ID: This line occurs in http://master.moinmo.in/WikiCourse/04%20Creating%20a%20wiki%20account : * a password (not too simple!).http://master19.moinmo.in/RecentChanges What is the purpose of the link in that line to RecentChanges in master19? It doesn't help anyone understand what a "too simple" password is. Is there a MoinMaster page that explains how to make a good password that should be linked here? From moin-user-list.GarveyPatrickD at spamgourmet.com Mon Mar 28 23:47:03 2011 From: moin-user-list.GarveyPatrickD at spamgourmet.com (moin-user-list.GarveyPatrickD at spamgourmet.com) Date: Mon, 28 Mar 2011 20:47:03 -0700 Subject: [Moin-user] "WikiCourse/07 The text editor" Message-ID: In http://master.moinmo.in/WikiCourse/07%20The%20text%20editor it is stated, "If you want to edit a page on your own, you should state that on the top of the page." Is there some a recommended form for this statement on the top of the page? What does such a statement do, automatically restrict the editor to the first person to edit the page or rely on the subsequent editors to leave the page alone until the statement is removed by the first editor? From moin-user-list.GarveyPatrickD at spamgourmet.com Mon Mar 28 23:48:51 2011 From: moin-user-list.GarveyPatrickD at spamgourmet.com (moin-user-list.GarveyPatrickD at spamgourmet.com) Date: Mon, 28 Mar 2011 20:48:51 -0700 Subject: [Moin-user] <> not working correctly? Message-ID: Somehow, selecting ">>" when displayed from http://master.moinmo.in/WikiCourse/22%20Parsers causes a display of http://master.moinmo.in/WikiCourse/22%20analizadores where selecting ">>" again displays http://master.moinmo.in/WikiCourse/23%20Actions From tw-public at gmx.de Tue Mar 29 04:27:41 2011 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 29 Mar 2011 10:27:41 +0200 Subject: [Moin-user] MoinMaster Mailing List In-Reply-To: References: Message-ID: <1301387261.409.33.camel@x300> > Is the moin-user mailing list used for both the MoinMoin wiki and the > MoinMaster wiki? It's a general list for all topics that revolve around using MoinMoin. From tw-public at gmx.de Tue Mar 29 04:31:18 2011 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 29 Mar 2011 10:31:18 +0200 Subject: [Moin-user] <> not working correctly? In-Reply-To: References: Message-ID: <1301387478.409.34.camel@x300> On Mon, 2011-03-28 at 20:48 -0700, moin-user-list.GarveyPatrickD at spamgourmet.com wrote: > Somehow, selecting ">>" when displayed from > http://master.moinmo.in/WikiCourse/22%20Parsers causes a display of > http://master.moinmo.in/WikiCourse/22%20analizadores where selecting > ">>" again displays http://master.moinmo.in/WikiCourse/23%20Actions Fixed by deleting the non-english page. From tw-public at gmx.de Tue Mar 29 04:35:06 2011 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 29 Mar 2011 10:35:06 +0200 Subject: [Moin-user] "WikiCourse/07 The text editor" In-Reply-To: References: Message-ID: <1301387706.409.36.camel@x300> > In http://master.moinmo.in/WikiCourse/07%20The%20text%20editor it is stated, > "If you want to edit a page on your own, you should state that on the > top of the page." > > Is there some a recommended form for this statement on the top of the > page? What does such a statement do, automatically restrict the > editor to the first person to edit the page or rely on the subsequent > editors to leave the page alone until the statement is removed by the > first editor? This is just for other people, there is no mechanism. There is a edit locking mechanism, though, wich is configurable. From tw-public at gmx.de Tue Mar 29 04:39:24 2011 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 29 Mar 2011 10:39:24 +0200 Subject: [Moin-user] "WikiCourse/04 Creating a wiki account" In-Reply-To: References: Message-ID: <1301387964.409.38.camel@x300> > This line occurs in > http://master.moinmo.in/WikiCourse/04%20Creating%20a%20wiki%20account > : > * a password (not too simple!).http://master19.moinmo.in/RecentChanges > > What is the purpose of the link in that line to RecentChanges in > master19? I guess this was an accident with the middle mouse button. :) Fixed. > It doesn't help anyone understand what a "too simple" > password is. Is there a MoinMaster page that explains how to make a > good password that should be linked here? Just use general good password rules, like not too short, not too simple, letters and digits, etc.