From techtonik at gmail.com Thu Feb 3 14:10:32 2011 From: techtonik at gmail.com (anatoly techtonik) Date: Thu, 3 Feb 2011 11:10:32 -0800 (PST) Subject: [Moin-user] Subscription requirement for posing Message-ID: <31760419.328.1296760232367.JavaMail.geo-discussion-forums@yqeq15> Hi, I've tried to send two letters to this list, but can't find neither. Seems like I need to be subscribed to be able to post. It will help if https://lists.sourceforge.net/lists/listinfo/moin-user page mention this fact. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From techtonik at gmail.com Mon Feb 7 07:52:23 2011 From: techtonik at gmail.com (anatoly techtonik) Date: Mon, 7 Feb 2011 14:52:23 +0200 Subject: [Moin-user] Subscription requirement for posing In-Reply-To: References: <31760419.328.1296760232367.JavaMail.geo-discussion-forums@yqeq15> <39356B58-A536-485F-B099-C5A0A95F0859@me.com> Message-ID: And you also need to send emails to moin-user at lists.sourceforge.net - not to moin-user at googlegroups.com -- anatoly t. On Fri, Feb 4, 2011 at 11:00 AM, anatoly techtonik wrote: > Apparently it didn't. So you need to be subscribed at > https://lists.sourceforge.net/lists/listinfo/moin-user, not only at > Google Group. > -- > anatoly t. > > > > On Fri, Feb 4, 2011 at 12:50 AM, John Hurst wrote: >> Yes, I have tried posting, too, but with little success. ?Let's see if this >> message gets through ... >> >> -- John Hurst >> -- Adjunct A/Professor, Caulfield School of IT (Caulfield, H7.78) >> -- Monash University, 900 Dandenong Rd, Caulfield East, VIC 3145 ?-- >> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ~ ~~~&#: >> -- John.Hurst at monash.edu ?+61 3 990 32196 ? ? ? ?_..___ ?---____ at ___H__ >> -- (mob 0407 569 041) ? ? ? ? ? ? ? ? ? ? ? ? ? ?|_____[_|_________[__]_ >> -- http://www.csse.monash.edu.au/~ajh ? ? ? ? ? ? oo oo ?oo O--O--O o=o >> -- >> -- Self regulation is OK for everyone - except universities. >> >> >> >> >> >> >> On 20110204, at 06:10 , anatoly techtonik wrote: >> >>> Hi, >>> >>> I've tried to send two letters to this list, but can't find neither. Seems >>> like I need to be subscribed to be able to post. It will help if >>> https://lists.sourceforge.net/lists/listinfo/moin-user page mention this >>> fact. >>> >>> Thanks. >>> >>> ------------------------------------------------------------------------------ >>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >>> Finally, a world-class log management solution at an even better >>> price-free! >>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >>> February 28th, so secure your free ArcSight Logger TODAY! >>> >>> http://p.sf.net/sfu/arcsight-sfd2d_______________________________________________ >>> Moin-user mailing list >>> Moin-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/moin-user >> >> > From skip at pobox.com Mon Feb 7 10:47:06 2011 From: skip at pobox.com (skip at pobox.com) Date: Mon, 7 Feb 2011 09:47:06 -0600 Subject: [Moin-user] LocalBadContent - can it be not readable? Message-ID: <19792.5114.158204.307586@montanaro.dyndns.org> The Jython wiki has seen an uptick in spam page creation the past week or two. I've been deleting the pages and adding patterns to the LocalBadContent page. I wonder if making that page generally unreadable will work. (AdminGroup members could still see it of course.) Thx, -- Skip Montanaro - skip at pobox.com - http://www.smontanaro.net/ From rb.proj at gmail.com Mon Feb 7 11:42:31 2011 From: rb.proj at gmail.com (R.Bauer) Date: Mon, 07 Feb 2011 17:42:31 +0100 Subject: [Moin-user] RFC: A better translation of MoinAPI/Beispiele In-Reply-To: References: Message-ID: Am 29.01.2011 18:05, schrieb Nick Demou: > Google Translation of http://moinmo.in/MoinAPI/Beispiele is very hard > to read. I took the wiki-source of the original (German) page, wrote a > few handrend lines of python code and used Google Translate to make a > new translation available at http://moinmo.in/MoinAPI/BeispieleEng > > Note that my version is still machine translation but it's far better > than the one you get by applying Google Translate in the html of the > original German page. What I did was to try to translate only the > German text and not the python code and any references to it. The > result was better than I expected. > > So check it out and tell me what you think. Hi Nick I renamed the page tp MoinAPI/Examples and will read it in the next days completly, thx. for working on the translation. cheers Reimar > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d From dqc1584 at prodigy.net.mx Mon Feb 7 11:42:28 2011 From: dqc1584 at prodigy.net.mx (dqc1584) Date: Mon, 7 Feb 2011 10:42:28 -0600 Subject: [Moin-user] Wiki issue - new user. Message-ID: Hi everyone,? I am trying to run my wiki using moinmoin, python and apache, actually I followed all the procedure and seems to be install in good way, but when I try to open it the wiki interface is really weird, i guess i should be like a basic HTML web page display but is not in that way (attached a snapshot.). ? The only error i am getting in apache log files is the next [Thu Feb 03 11:12:48 2011] [error] [client 10.30.52.160] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/moin_static193, referer: http://server/mywiki/LanguageSetup?highlight=%28%28FrontPage%29%29[Thu Feb 03 11:12:48 2011] [error] [client 10.30.52.160] 2011-02-03 11:12:47,877 WARNING MoinMoin.log:139 using logging configuration read from built-in fallback in MoinMoin.log module!\r, referer: http://server/mywiki/FrontPage[Thu Feb 03 11:12:48 2011] [error] [client 10.30.52.160] 2011-02-03 11:12:48,157 INFO MoinMoin.config.multiconfig:127 using wiki config: C:\\Moin\\mywiki\\wikiconfig.pyc\r, referer: http://server/mywiki/FrontPage ? ? The installation details is:Paths --> ? ?-C:\Program Files\Apache Software Foundation\Apache2.2?-C:\Python25?-C:\Moin\mywiki ? As you can see in the paths, Apache version is 2.2 and python version is 2.5, as i read those versions are support by moinmoin. ? Can somebody help me with this?I appreciate your inputs in advance. ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: moinmoin_web_page.jpg Type: image/jpeg Size: 40765 bytes Desc: not available URL: From rb.proj at gmail.com Tue Feb 8 11:24:56 2011 From: rb.proj at gmail.com (R.Bauer) Date: Tue, 08 Feb 2011 17:24:56 +0100 Subject: [Moin-user] Wiki issue - new user. In-Reply-To: References: Message-ID: Am 07.02.2011 17:42, schrieb dqc1584: > Hi everyone, > I am trying to run my wiki using moinmoin, python and apache, actually I followed all the procedure and seems to be install in good way, but when I try to open it the wiki interface is really weird, i guess i should be like a basic HTML web page display but is not in that way (attached a snapshot.). > > The only error i am getting in apache log files is the next [Thu Feb 03 11:12:48 2011] [error] [client 10.30.52.160] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/moin_static193, referer: http://server/mywiki/LanguageSetup?highlight=%28%28FrontPage%29%29[Thu Feb 03 11:12:48 2011] [error] [client 10.30.52.160] 2011-02-03 11:12:47,877 WARNING MoinMoin.log:139 using logging configuration read from built-in fallback in MoinMoin.log module!\r, referer: http://server/mywiki/FrontPage[Thu Feb 03 11:12:48 2011] [error] [client 10.30.52.160] 2011-02-03 11:12:48,157 INFO MoinMoin.config.multiconfig:127 using wiki config: C:\\Moin\\mywiki\\wikiconfig.pyc\r, referer: http://server/mywiki/FrontPage > please read (or in your wikiconfig.py) http://hg.moinmo.in/moin/1.9/file/b1b82826f8b8/wiki/config/wikiconfig.py#l56 and following lines I guess you don't have set the right url_prefix_static, because all css is missing on your image cheers Reimar > > The installation details is:Paths --> > > -C:\Program Files\Apache Software Foundation\Apache2.2 -C:\Python25 -C:\Moin\mywiki > > As you can see in the paths, Apache version is 2.2 and python version is 2.5, as i read those versions are support by moinmoin. > > Can somebody help me with this?I appreciate your inputs in advance. > > > > > > > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > > > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From tw-public at gmx.de Wed Feb 9 06:44:37 2011 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 09 Feb 2011 12:44:37 +0100 Subject: [Moin-user] LocalBadContent - can it be not readable? In-Reply-To: <19792.5114.158204.307586@montanaro.dyndns.org> References: <19792.5114.158204.307586@montanaro.dyndns.org> Message-ID: <1297251877.4275.7.camel@x300> > The Jython wiki has seen an uptick in spam page creation the past week or > two. I've been deleting the pages and adding patterns to the > LocalBadContent page. You should rather add them to http://master19.moinmo.in/BadContent so everybody gets them. > I wonder if making that page generally unreadable > will work. (AdminGroup members could still see it of course.) Just try. You'll notice it on first page save if something does not work. BTW, as a general remark: the wiki is running moin 1.7.1 which is a rather old version. Newer moins (don't remember since when) have textchas to avoid spam, you maybe want to try that. With the right questions, it'll keep spammers away. Regular editors can be added to a special no-textcha group, so they don't get annoyed. From skip at pobox.com Wed Feb 9 12:55:29 2011 From: skip at pobox.com (skip at pobox.com) Date: Wed, 9 Feb 2011 11:55:29 -0600 Subject: [Moin-user] LocalBadContent - can it be not readable? In-Reply-To: <1297251877.4275.7.camel@x300> References: <19792.5114.158204.307586@montanaro.dyndns.org> <1297251877.4275.7.camel@x300> Message-ID: <19794.54545.879582.865176@montanaro.dyndns.org> >> The Jython wiki has seen an uptick in spam page creation the past >> week or two. I've been deleting the pages and adding patterns to the >> LocalBadContent page. Thomas> You should rather add them to Thomas> http://master19.moinmo.in/BadContent so everybody gets them. Thanks. I have a problem with the whole BadContent concept though. The exclusion patterns I added locally involve home, auto and life insurance. I'm pretty confident they are not appropropriate terms for a Jython or Python wiki. I am much less sure that they belong in a global BadContent page. What happens if someone has a Moin wiki which deals with insurance? Many of their page edits would likely start breaking. >> I wonder if making that page generally unreadable >> will work. (AdminGroup members could still see it of course.) Thomas> Just try. You'll notice it on first page save if something does Thomas> not work. Will give it a try. Thomas> BTW, as a general remark: the wiki is running moin 1.7.1 which Thomas> is a rather old version. Newer moins (don't remember since when) Thomas> have textchas to avoid spam, you maybe want to try that. With Thomas> the right questions, it'll keep spammers away. Regular editors Thomas> can be added to a special no-textcha group, so they don't get Thomas> annoyed. We use textchas on the Python wiki (maybe we installed something from the MacroMarket, I don't recall). I guess we should be able to enable them for the Jython wiki as well. As for upgrading, I suspect all the volunteers are just too busy to worry about it. Can't be bleeding edge (or even leading edge) on everything. That said, if there is a member of the Moin community who is interested in helping to maintain the Python & Jython wiki installation, feel free to drop a note to pydotorg-www at python.org. -- Skip Montanaro - skip at pobox.com - http://www.smontanaro.net/ From tw at waldmann-edv.de Wed Feb 9 13:10:57 2011 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Wed, 09 Feb 2011 19:10:57 +0100 Subject: [Moin-user] LocalBadContent - can it be not readable? In-Reply-To: <19794.54545.879582.865176@montanaro.dyndns.org> References: <19792.5114.158204.307586@montanaro.dyndns.org> <1297251877.4275.7.camel@x300> <19794.54545.879582.865176@montanaro.dyndns.org> Message-ID: <1297275057.18833.16.camel@server.firma.waldmann-edv.de> > Thomas> You should rather add them to > Thomas> http://master19.moinmo.in/BadContent so everybody gets them. > > Thanks. I have a problem with the whole BadContent concept though. The > exclusion patterns I added locally involve home, auto and life insurance. > I'm pretty confident they are not appropropriate terms for a Jython or > Python wiki. I am much less sure that they belong in a global BadContent > page. What happens if someone has a Moin wiki which deals with insurance? Well, I meant the spam URLs, not just single words or something too generic. Spam links are likely nowhere wanted. > We use textchas on the Python wiki (maybe we installed something from the > MacroMarket, I don't recall). textchas are built-in since they exist, IIRC. > As for upgrading, I suspect all the volunteers are > just too busy to worry about it. Can't be bleeding edge (or even leading > edge) on everything. Bleeding edge is moin2. I would not suggest that for production right now. :) moin 1.9.x is stable and won't see much changes any more, mostly maintenance and security. > That said, if there is a member of the Moin community > who is interested in helping to maintain the Python & Jython wiki > installation, feel free to drop a note to pydotorg-www at python.org. I'll always help, just ask (e.g. on #moin on IRC or here). I somewhat hate mailing lists, though. Cheers, Thomas From fdrake at acm.org Wed Feb 9 13:41:57 2011 From: fdrake at acm.org (Fred Drake) Date: Wed, 9 Feb 2011 13:41:57 -0500 Subject: [Moin-user] LocalBadContent - can it be not readable? In-Reply-To: <1297275057.18833.16.camel@server.firma.waldmann-edv.de> References: <19792.5114.158204.307586@montanaro.dyndns.org> <1297251877.4275.7.camel@x300> <19794.54545.879582.865176@montanaro.dyndns.org> <1297275057.18833.16.camel@server.firma.waldmann-edv.de> Message-ID: On Wed, Feb 9, 2011 at 1:10 PM, Thomas Waldmann wrote: > I somewhat hate mailing lists, though. Heh. What better way to find out when someone changed a wiki? I treasure my overflowing inbox. :-) ? -Fred -- Fred L. Drake, Jr.? ? "A storm broke loose in my mind."? --Albert Einstein From rb.proj at gmail.com Fri Feb 11 07:56:09 2011 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 11 Feb 2011 13:56:09 +0100 Subject: [Moin-user] LocalBadContent - can it be not readable? In-Reply-To: References: <19792.5114.158204.307586@montanaro.dyndns.org> <1297251877.4275.7.camel@x300> <19794.54545.879582.865176@montanaro.dyndns.org> <1297275057.18833.16.camel@server.firma.waldmann-edv.de> Message-ID: Am 09.02.2011 19:41, schrieb Fred Drake: > On Wed, Feb 9, 2011 at 1:10 PM, Thomas Waldmann wrote: >> I somewhat hate mailing lists, though. > > Heh. What better way to find out when someone changed a wiki? > that is one direction only and you don't use a ML for that ;) We had a session about "Collaboration tools and practices" http://gsoc-wiki.osuosl.org/index.php/Collaboration_tools_and_practices "easy to start a discussion, hard to end one!" > I treasure my overflowing inbox. :-) communication on irc is much faster and costs less time ;) Usually everyone gets help who joined in and takes a little bit patience. Reimar > > > -Fred > > -- > Fred L. Drake, Jr. > "A storm broke loose in my mind." --Albert Einstein > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb From ndemou at gmail.com Sun Feb 13 03:54:30 2011 From: ndemou at gmail.com (Nick Demou) Date: Sun, 13 Feb 2011 10:54:30 +0200 Subject: [Moin-user] RFC: A better translation of MoinAPI/Beispiele In-Reply-To: References: Message-ID: On Mon, Feb 7, 2011 at 6:42 PM, R.Bauer wrote: > > Am 29.01.2011 18:05, schrieb Nick Demou: > > [...] > > new translation available at http://moinmo.in/MoinAPI/Examples > > [...] > > So check it out and tell me what you think. > > [...] > I renamed the page tp MoinAPI/Examples and will read it in the next days > completly, Thanks Reimar Your help will be more than welcome I've added a link to the new page in MoinDev next to the link to the original (noting that it's just a sufferable machine translation) for two reasons: 1) I believe it's good enough to help visitors and 2) by increasing it's visibility maybe someone else will also fix things here and there What do you think of spliting this big page in sub-pages? Editing such a long text is not easy. From tw at waldmann-edv.de Tue Feb 22 07:32:01 2011 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Tue, 22 Feb 2011 13:32:01 +0100 Subject: [Moin-user] New moin2 repo, new issue tracker Message-ID: <1298377921.10510.50.camel@x300> See there for details: http://moinmo.in/MoinMoin2.0 (links at the top) http://moinmo.in/MoinMoin2.0/InfrastructurePlans (background) From techtonik at gmail.com Tue Feb 22 10:52:01 2011 From: techtonik at gmail.com (anatoly techtonik) Date: Tue, 22 Feb 2011 17:52:01 +0200 Subject: [Moin-user] License for MoinMoin2 rewrite Message-ID: Hi, I've noticed MoinMoin is planning a rewrite from scratch for version 2. It is a good opportunity to reconsider licensing scheme - choosing Affero GPL to close the ASP loophole or to switch to MIT-like licensing scheme, so that markup engine and auxiliary code can be shared with non-GPL projects. It is interesting to know what core MoinMoin developers think about this? P.S. This is my 3rd attempt to send this message - previous postings through Google Groups failed. Hope it passes through this time. -- anatoly t. From tw at waldmann-edv.de Wed Feb 23 06:42:01 2011 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Wed, 23 Feb 2011 12:42:01 +0100 Subject: [Moin-user] License for MoinMoin2 rewrite In-Reply-To: References: Message-ID: <1298461321.23389.28.camel@x300> > I've noticed MoinMoin is planning a rewrite from scratch for version > 2. Well, it's a bit more than planning, we are half through with it. :) But it is not quite like we started from zero, it is more a transformation, ongoing for a rather long time since the first attempts. > It is a good opportunity to reconsider licensing scheme - choosing > Affero GPL to close the ASP loophole or to switch to MIT-like > licensing scheme, so that markup engine and auxiliary code can be > shared with non-GPL projects. It is interesting to know what core > MoinMoin developers think about this? Well I have misc ideas about this: a) yes, "GPL v2 or later" has some issues. Like unclear status of (in)compatibility with apache license (we even have some contributions using apache licensed software that are still in unclear status because of this). Like our code not being usable within other projects under other licenses. b) I still principally like the ideas of the GPL. While it is more restrictive than MIT/BSD, this restrictiveness protects users' freedoms. c) lots of authors have contributed to moin - it would be a pain to get everybody's agreement about a license change So, while I see your point (and, personally, I am not principally against a license change), I don't think we can change the license with reasonable effort. From tw at waldmann-edv.de Wed Feb 23 07:20:03 2011 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Wed, 23 Feb 2011 13:20:03 +0100 Subject: [Moin-user] license docstrings in the code In-Reply-To: <1298461321.23389.28.camel@x300> References: <1298461321.23389.28.camel@x300> Message-ID: <1298463603.23389.56.camel@x300> A somewhat related topic: We have authors and reference to the license as docstring in every module, like: """ MoinMoin - wsgi application setup and related code Use create_app(config) to create the WSGI application (using Flask). @copyright: 2000-2006 by Juergen Hermann , 2002-2011 MoinMoin:ThomasWaldmann, 2008 MoinMoin:FlorianKrupicka, 2010 MoinMoin:DiogenesAugusto @license: GNU GPL, see COPYING for details. """ (the COPYING license document is also contained in the repo / release archives) There are some issues with this method: a) it is hard to maintain the author list there, the years and (in case of a license change) the license reference. Author list tends to be incomplete (some contributors don't add themselves) or outdated (code of some authors might be removed later, but not author's name). after a while one usually does not know any more what exactly is from whom. b) we want to automatically create documentation (using sphinx + some script) from the source code. The module docstring would give more pretty docs if there was not that author/license stuff repeated hundreds of times. Alternatives: a) Have some file AUTHORS (or CONTRIBUTORS?) that lists everybody having contributed to the project. Remove all author references from the moin module/package docstrings. b) Have some file LICENSE that refers to the relevant licenses, like GPL v2, GPL v3 and also note something like "unless otherwise noted" to make exceptions for contributed / 3rd party code possible. c) Refer to these files from MoinMoin package docstring (and only from there, once). I am no lawyer and no licensing expert - does anybody have a qualified opinion about this? From ndw at nwalsh.com Wed Feb 23 08:03:53 2011 From: ndw at nwalsh.com (Norman Walsh) Date: Wed, 23 Feb 2011 08:03:53 -0500 Subject: [Moin-user] IndexError Message-ID: Hi, I'm trying to migrate a Moin wiki from 1.5.6 to 1.9.2. The install seemed ok, the data migration seemed ok, but I'm getting sporadic list index out of range errors. Does this look familiar to anyone? [Wed Feb 23 07:59:50 2011] [error] 2011-02-23 07:59:50,994 ERROR MoinMoin.wsgiapp:293 An exception has occurred [http://docbookwiki/DocBookWikiHome?action=edit]. [Wed Feb 23 07:59:50 2011] [error] Traceback (most recent call last): [Wed Feb 23 07:59:50 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 282, in __call__ [Wed Feb 23 07:59:50 2011] [error] response = run(context) [Wed Feb 23 07:59:50 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 88, in run [Wed Feb 23 07:59:50 2011] [error] response = dispatch(request, context, action_name) [Wed Feb 23 07:59:50 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 136, in dispatch [Wed Feb 23 07:59:50 2011] [error] response = handle_action(context, pagename, action_name) [Wed Feb 23 07:59:50 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 195, in handle_action [Wed Feb 23 07:59:50 2011] [error] handler(context.page.page_name, context) [Wed Feb 23 07:59:50 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/action/edit.py", line 24, in execute [Wed Feb 23 07:59:50 2011] [error] if not request.user.may.write(pagename): [Wed Feb 23 07:59:50 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/security/__init__.py", line 150, in [Wed Feb 23 07:59:50 2011] [error] return lambda pagename: _check(self.request, pagename, self.name, attr) [Wed Feb 23 07:59:50 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/security/__init__.py", line 85, in _check [Wed Feb 23 07:59:50 2011] [error] acl = p.getACL(request) # this will be fast in a reused page obj [Wed Feb 23 07:59:50 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/Page.py", line 1564, in getACL [Wed Feb 23 07:59:50 2011] [error] currentRevision = self.current_rev() [Wed Feb 23 07:59:50 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/Page.py", line 418, in current_rev [Wed Feb 23 07:59:50 2011] [error] pagefile, rev, exists = self.get_rev() [Wed Feb 23 07:59:50 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/Page.py", line 386, in get_rev [Wed Feb 23 07:59:50 2011] [error] cache_data = request.cfg.cache.meta.getItem(request, cache_name, cache_key) [Wed Feb 23 07:59:50 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/Page.py", line 88, in getItem [Wed Feb 23 07:59:50 2011] [error] self.refresh(request) [Wed Feb 23 07:59:50 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/Page.py", line 115, in refresh [Wed Feb 23 07:59:50 2011] [error] new_pos, items = elog.news(old_pos) [Wed Feb 23 07:59:50 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/logfile/editlog.py", line 249, in news [Wed Feb 23 07:59:50 2011] [error] self.seek(oldposition) [Wed Feb 23 07:59:50 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/logfile/__init__.py", line 408, in seek [Wed Feb 23 07:59:50 2011] [error] forward=False) [Wed Feb 23 07:59:50 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/logfile/__init__.py", line 60, in __init__ [Wed Feb 23 07:59:50 2011] [error] begin += len(lines[0]) [Wed Feb 23 07:59:50 2011] [error] IndexError: list index out of range Be seeing you, norm -- Norman Walsh | Men are not sufficiently perfect to http://nwalsh.com/ | exercise justice in the name of virtue: | the rule of life should be indulgence | and kindness of heart.--Anatole France -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 186 bytes Desc: not available URL: From tw at waldmann-edv.de Thu Feb 24 05:50:06 2011 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Thu, 24 Feb 2011 11:50:06 +0100 Subject: [Moin-user] IndexError In-Reply-To: References: Message-ID: <1298544606.8957.15.camel@x300> Hi Norman, > I'm trying to migrate a Moin wiki from 1.5.6 to 1.9.2. 1.9.3 is currently the latest release btw. > The install seemed > ok, the data migration seemed ok, but I'm getting sporadic list index out > of range errors. Does this look familiar to anyone? No, not familiar. But it looks like there is a problem with data/edit-log. That should be a text file with many log lines about your edits (used by RecentChanges). Is it 0 bytes maybe? Damaged otherwise? If you can live with an empty RC slowly filling up again as you start editing pages, maybe try putting a linefeed or at least one entry into there (edit a page, if possible). Maybe check again if your migration was really successful, the data/edit-log should be converted iirc. Cheers, Thomas From ndw at nwalsh.com Fri Feb 25 06:57:49 2011 From: ndw at nwalsh.com (Norman Walsh) Date: Fri, 25 Feb 2011 06:57:49 -0500 Subject: [Moin-user] IndexError References: <1298544606.8957.15.camel@x300> Message-ID: Thomas Waldmann writes: > Hi Norman, > >> I'm trying to migrate a Moin wiki from 1.5.6 to 1.9.2. > > 1.9.3 is currently the latest release btw. Ok. Do you think I should try to get 1.9.2 working first, or upgrade to 1.9.3 first? > But it looks like there is a problem with data/edit-log. That should be > a text file with many log lines about your edits (used by > RecentChanges). I blew it away and Moin recreated it, but the problems are still occurring. > Maybe check again if your migration was really successful, the > data/edit-log should be converted iirc. I guess I could try the migration again... Be seeing you, norm -- Norman Walsh | To probe a hole we first use a straight http://nwalsh.com/ | stick to see how far it takes us. To | probe the visible world we use the | assumption that things are simple until | they prove to be otherwise.--E. H. | Gombrich -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 186 bytes Desc: not available URL: From ndw at nwalsh.com Fri Feb 25 07:11:11 2011 From: ndw at nwalsh.com (Norman Walsh) Date: Fri, 25 Feb 2011 07:11:11 -0500 Subject: [Moin-user] IndexError In-Reply-To: (Norman Walsh's message of "Fri, 25 Feb 2011 06:57:49 -0500") References: <1298544606.8957.15.camel@x300> Message-ID: So, as an experiment, I blew away wiki/data and wiki/underlay and copied them from the distribution again. I'm seeing the same problem, so perhaps there's a more subtle configuration error on my part having nothing to do with the migrated data... Be seeing you, norm -- Norman Walsh | Life does not cease to be funny when http://nwalsh.com/ | people die anymore than it ceases to be | serious when people laugh.--George | Bernard Shaw -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 186 bytes Desc: not available URL: From tw at waldmann-edv.de Fri Feb 25 07:16:18 2011 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Fri, 25 Feb 2011 13:16:18 +0100 Subject: [Moin-user] IndexError In-Reply-To: References: <1298544606.8957.15.camel@x300> Message-ID: <1298636178.23126.6.camel@x300> > Ok. Do you think I should try to get 1.9.2 working first, or upgrade > to 1.9.3 first? Well, if you have no special reason to use 1.9.2, you should always use latest 1.9.x release. We are mostly doing bugfixes in 1.9. I don't remember fixing editlog issues recently, though. > I blew it away and Moin recreated it, but the problems are still > occurring. > > > Maybe check again if your migration was really successful, the > > data/edit-log should be converted iirc. > > I guess I could try the migration again... If it doesn't work out, I could help you with it. I'ld either need the data or shell access to the system to reproduce / debug the problem. Cheers, Thomas -- Waldmann EDV Systeme/Service GbR Gerhard Waldmann, Thomas Waldmann Pleidelsheimer Str. 25 74321 Bietigheim-Bissingen Weitere Infos siehe: http://waldmann-edv.de/ From kai at aplteam.com Fri Feb 25 14:35:57 2011 From: kai at aplteam.com (Kai Jaeger) Date: Fri, 25 Feb 2011 19:35:57 +0000 Subject: [Moin-user] Page drafts Message-ID: 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 From jlist9 at gmail.com Sun Feb 27 03:26:55 2011 From: jlist9 at gmail.com (jlist9) Date: Sun, 27 Feb 2011 00:26:55 -0800 Subject: [Moin-user] Is LDAP auth in desktop mode possible? Message-ID: 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? 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 From c_moinmoin at jonc.me.uk Sun Feb 27 03:46:41 2011 From: c_moinmoin at jonc.me.uk (Jonathan Cooper) Date: Sun, 27 Feb 2011 08:46:41 +0000 Subject: [Moin-user] license docstrings in the code In-Reply-To: <1298463603.23389.56.camel@x300> References: <1298461321.23389.28.camel@x300> <1298463603.23389.56.camel@x300> Message-ID: <4D6A0F71.5000904@jonc.me.uk> OSS Watch produce useful guidelines on these sorts of topics; see http://www.oss-watch.ac.uk/resources/opensourceyourcode.xml#body.1_div.3 For GPL specifically, see the end of http://www.gnu.org/licenses/gpl-3.0.txt It looks like something along the lines of the current scheme is the recommended approach. The licence info could go in a comment rather than docstring if prettier docs are desired. Best wishes, Jonathan On 23/02/2011 12:20, Thomas Waldmann wrote: > A somewhat related topic: > > We have authors and reference to the license as docstring in every > module, like: > > """ > MoinMoin - wsgi application setup and related code > > Use create_app(config) to create the WSGI application (using Flask). > > @copyright: 2000-2006 by Juergen Hermann, > 2002-2011 MoinMoin:ThomasWaldmann, > 2008 MoinMoin:FlorianKrupicka, > 2010 MoinMoin:DiogenesAugusto > @license: GNU GPL, see COPYING for details. > """ > > (the COPYING license document is also contained in the repo / release > archives) > > > There are some issues with this method: > > a) it is hard to maintain the author list there, the years and (in case > of a license change) the license reference. Author list tends to be > incomplete (some contributors don't add themselves) or outdated (code of > some authors might be removed later, but not author's name). after a > while one usually does not know any more what exactly is from whom. > > b) we want to automatically create documentation (using sphinx + some > script) from the source code. The module docstring would give more > pretty docs if there was not that author/license stuff repeated hundreds > of times. > > > Alternatives: > > a) Have some file AUTHORS (or CONTRIBUTORS?) that lists everybody having > contributed to the project. Remove all author references from the moin > module/package docstrings. > > b) Have some file LICENSE that refers to the relevant licenses, like GPL > v2, GPL v3 and also note something like "unless otherwise noted" to make > exceptions for contributed / 3rd party code possible. > > c) Refer to these files from MoinMoin package docstring (and only from > there, once). > > > I am no lawyer and no licensing expert - does anybody have a qualified > opinion about this? > > > > ------------------------------------------------------------------------------ > 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