From HansJoachim.Ehlers at eumetsat.int Mon Aug 8 16:25:31 2011 From: HansJoachim.Ehlers at eumetsat.int (Hans-Joachim Ehlers) Date: Mon, 8 Aug 2011 22:25:31 +0200 Subject: [Moin-user] Where are the RecentChanges ? In-Reply-To: References: Message-ID: Hi Given Moinmoin 1.8.8 SLES11 SP1 Task: Moving from MoinMoin 1.8.3 /OpenSuse 10.3 to Moinmoin 1.8.8 on SLES11 SP1 and moving Userdata to a new location. I backed up from 1.8.3 the ./data/pages/ , ./data/user/ , ./underlay/pages/RecentChanges Just to find out that ./underlay/pages/RecentChanges does not contains the RecentChanges. Thus the question: Where are they located ? Tia Hajo From eric at tibco.com Mon Aug 8 16:52:09 2011 From: eric at tibco.com (Eric Johnson) Date: Mon, 8 Aug 2011 22:52:09 +0200 Subject: [Moin-user] Where are the RecentChanges ? In-Reply-To: References: Message-ID: <4E404C79.9090309@tibco.com> The log files. -Eric. On 8/8/11 10:25 PM, Hans-Joachim Ehlers wrote: > Hi > > Given > Moinmoin 1.8.8 SLES11 SP1 > > > Task: > Moving from MoinMoin 1.8.3 /OpenSuse 10.3 to Moinmoin 1.8.8 on SLES11 SP1 and moving Userdata to a new location. > > I backed up from 1.8.3 the ./data/pages/ , ./data/user/ , ./underlay/pages/RecentChanges > > Just to find out that ./underlay/pages/RecentChanges does not contains the RecentChanges. > > Thus the question: Where are they located ? > > Tia > Hajo > > > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From pcolsen at gmail.com Mon Aug 8 18:09:19 2011 From: pcolsen at gmail.com (Peter Olsen) Date: Mon, 8 Aug 2011 18:09:19 -0400 Subject: [Moin-user] Cleancache bombs Message-ID: I explicitly set the config director, but cleancache still bombs n2ell:bin pcolsen$ ./moin -config-dir=/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4 maint cleancache Traceback (most recent call last): File "./moin", line 5, in from MoinMoin.script.moin import run ImportError: No module named MoinMoin.script.moin n2ell:bin pcolsen$ ls /Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/wikiconfig.py /Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/wikiconfig.py n2ell:bin pcolsen$ -- Peter Olsen olsen at sigmaxi.net Engineering is the art of using a professional knowledge of mathematics and the physical sciences to get things done. From HansJoachim.Ehlers at eumetsat.int Tue Aug 9 04:16:40 2011 From: HansJoachim.Ehlers at eumetsat.int (Hans-Joachim Ehlers) Date: Tue, 9 Aug 2011 10:16:40 +0200 Subject: [Moin-user] Where are the RecentChanges ? In-Reply-To: <4E404C79.9090309@tibco.com> References: <4E404C79.9090309@tibco.com> Message-ID: Thx for the hint. The log file are located in ./data/. And named: * edit-log - for the recent changes * event-log - for logged events . Thus i assume that its sufficient to backup and restore ./data/pages ./data/user and ./data/edit-log to the new system in case no other enhancements like installing plugins has been done. Cheers Hajo -----Original Message----- From: Eric Johnson [mailto:eric at tibco.com] Sent: Monday, August 08, 2011 10:52 PM To: Hans-Joachim Ehlers Cc: moin-user at lists.sourceforge.net Subject: Re: [Moin-user] Where are the RecentChanges ? The log files. -Eric. On 8/8/11 10:25 PM, Hans-Joachim Ehlers wrote: > Hi > > Given > Moinmoin 1.8.8 SLES11 SP1 > > > Task: > Moving from MoinMoin 1.8.3 /OpenSuse 10.3 to Moinmoin 1.8.8 on SLES11 SP1 and moving Userdata to a new location. > > I backed up from 1.8.3 the ./data/pages/ , ./data/user/ , ./underlay/pages/RecentChanges > > Just to find out that ./underlay/pages/RecentChanges does not contains the RecentChanges. > > Thus the question: Where are they located ? From eric at tibco.com Tue Aug 9 04:27:15 2011 From: eric at tibco.com (Eric Johnson) Date: Tue, 9 Aug 2011 10:27:15 +0200 Subject: [Moin-user] Where are the RecentChanges ? In-Reply-To: References: <4E404C79.9090309@tibco.com> Message-ID: <4E40EF63.602@tibco.com> Were I in your shoes, and concerned about backup, I might suggest a "blacklist" approach rather than a whitelist approach. That is, back up everything in the "data" folder except that which you know you can skip. For that matter, just do a "clean cache", and then backup, and don't try to trim more than that. You shouldn't need to back up anything from the "underlay" folder. -Eric. On 8/9/11 10:16 AM, Hans-Joachim Ehlers wrote: > Thx for the hint. > > The log file are located in ./data/. And named: > * edit-log - for the recent changes > * event-log - for logged events . > > Thus i assume that its sufficient to backup and restore ./data/pages ./data/user and ./data/edit-log to the new system in case no other enhancements like installing plugins has been done. > > Cheers > Hajo > > -----Original Message----- > From: Eric Johnson [mailto:eric at tibco.com] > Sent: Monday, August 08, 2011 10:52 PM > To: Hans-Joachim Ehlers > Cc: moin-user at lists.sourceforge.net > Subject: Re: [Moin-user] Where are the RecentChanges ? > > The log files. > > -Eric. > > On 8/8/11 10:25 PM, Hans-Joachim Ehlers wrote: >> Hi >> >> Given >> Moinmoin 1.8.8 SLES11 SP1 >> >> >> Task: >> Moving from MoinMoin 1.8.3 /OpenSuse 10.3 to Moinmoin 1.8.8 on SLES11 SP1 and moving Userdata to a new location. >> >> I backed up from 1.8.3 the ./data/pages/ , ./data/user/ , ./underlay/pages/RecentChanges >> >> Just to find out that ./underlay/pages/RecentChanges does not contains the RecentChanges. >> >> Thus the question: Where are they located ? From pcolsen at gmail.com Tue Aug 9 10:44:26 2011 From: pcolsen at gmail.com (Peter Olsen) Date: Tue, 9 Aug 2011 10:44:26 -0400 Subject: [Moin-user] Will a re-install fix a cache error? How about deleting the cache directories? In-Reply-To: References: Message-ID: <8603EC8D-3ECE-4F68-9CAC-DE7A7FEE73AB@gmail.com> I have a persistent cache error about I've previously written. Can I fix that by reinstalling the wiki then copying my data directory? I've been using 1.8.4. I can reinstall that or go to 1.8.8. Alternatively, can I fix it by writing a shell script to delete part all the cache directories or something in them? Thanks! Peter Olsen, P.E. Registered Professional Engineer, Maryland License 12283 P.O. Box 410, Simpsonville, MD 21150 From tw-public at gmx.de Wed Aug 10 08:00:31 2011 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 10 Aug 2011 14:00:31 +0200 Subject: [Moin-user] Cleancache bombs In-Reply-To: References: Message-ID: <1312977631.17762.5.camel@x300> On Mon, 2011-08-08 at 18:09 -0400, Peter Olsen wrote: > I explicitly set the config director, but cleancache still bombs > > n2ell:bin pcolsen$ ./moin > -config-dir=/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4 maint cleancache > Traceback (most recent call last): > File "./moin", line 5, in > from MoinMoin.script.moin import run > ImportError: No module named MoinMoin.script.moin > n2ell:bin pcolsen$ ls /Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/wikiconfig.py > /Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/wikiconfig.py > n2ell:bin pcolsen$ > I see 2 issues there: a) it is --config-dir (2 times minus char) b) you have an ImportError, that means moin script does not find the MoinMoin python code This should usually work if you are working from the directory that contains the MoinMoin directory. alternatively you can fix the PYTHONPATH / sys.path in the moin script. From pcolsen at gmail.com Wed Aug 10 20:05:03 2011 From: pcolsen at gmail.com (Peter Olsen) Date: Wed, 10 Aug 2011 20:05:03 -0400 Subject: [Moin-user] Cleancache bombs In-Reply-To: <1312977631.17762.5.camel@x300> References: <1312977631.17762.5.camel@x300> Message-ID: <37E1C6ED-300D-401B-8AAC-0EA9490D3832@gmail.com> I think I followed the suggestion for part b) for running the cleancache command, but it still doesn't run. I'm running it from the parent director to the MoinMoin directory and I've added several likely-looking directories to the PYTHONPATH. Probably I am making a simple error, but I can't figure it out. Is there another way to clean the cache --- perhaps via a shell script. Peter On Aug 10, 2011, at 8:00 AM, Thomas Waldmann wrote: > On Mon, 2011-08-08 at 18:09 -0400, Peter Olsen wrote: >> I explicitly set the config director, but cleancache still bombs >> >> n2ell:bin pcolsen$ ./moin >> -config-dir=/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4 maint cleancache >> Traceback (most recent call last): >> File "./moin", line 5, in >> from MoinMoin.script.moin import run >> ImportError: No module named MoinMoin.script.moin >> n2ell:bin pcolsen$ ls /Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/ >> wikiconfig.py >> /Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/wikiconfig.py >> n2ell:bin pcolsen$ >> > > I see 2 issues there: > > a) it is --config-dir (2 times minus char) > > b) you have an ImportError, that means moin script does not find the > MoinMoin python code > > This should usually work if you are working from the directory that > contains the MoinMoin directory. alternatively you can fix the > PYTHONPATH / sys.path in the moin script. > n2ell:moin-1.8.4 pcolsen$ echo $PYTHONPATH /Volumes/OLSEN_PERS3/Wiki/moin-1.8.4:/Volumes/OLSEN_PERS3/Wiki/ moin-1.8.4/bin:/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin n2ell:moin-1.8.4 pcolsen$ pwd /Volumes/OLSEN_PERS3/Wiki/moin-1.8.4 n2ell:moin-1.8.4 pcolsen$ ls MANIFEST.in jabberbot wikiconfig.pyc MoinMoin lib wikiserver.py PKG-INFO moin.spec wikiserver.py alias README setup.cfg wikiserver.py~ backup.sh setup.py wikiserverconfig.py bin share wikiserverconfig.pyc build wiki wikiserverlogging.conf contrib wikiconfig.app wikistart.sh docs wikiconfig.py n2ell:moin-1.8.4 pcolsen$ ./bin/moin maint cleancache Traceback (most recent call last): File "./bin/moin", line 5, in from MoinMoin.script.moin import run ImportError: No module named MoinMoin.script.moin n2ell:moin-1.8.4 pcolsen$ n2ell:moin-1.8.4 pcolsen$ n2ell:moin-1.8.4 pcolsen$ ls bin moin n2ell:moin-1.8.4 pcolsen$ > From steve at einval.com Thu Aug 11 12:39:11 2011 From: steve at einval.com (Steve McIntyre) Date: Thu, 11 Aug 2011 17:39:11 +0100 Subject: [Moin-user] Recaptcha support Message-ID: <20110811163911.GF14260@einval.com> Hi, I've written a simple interface for using recaptcha, based on the existing textcha code and interfaces. I'm using the python-recaptcha code from Google, and it seems to work fine for me. I've only plumbed into newaccount.py so far, just to stop spammers creating new accounts easily. Patch attached, against 1.9.3. In future, it might be a good plan to add a generic security/captcha interface. But I'm not doing that today! :-) If there's a better place to send this patch, please let me know... -- Steve McIntyre, Cambridge, UK. steve at einval.com "Further comment on how I feel about IBM will appear once I've worked out whether they're being malicious or incompetent. Capital letters are forecast." Matthew Garrett, http://www.livejournal.com/users/mjg59/30675.html -------------- next part -------------- A non-text attachment was scrubbed... Name: recaptcha.diff Type: text/x-diff Size: 3938 bytes Desc: not available URL: From pcolsen at gmail.com Sun Aug 14 02:12:40 2011 From: pcolsen at gmail.com (Peter Olsen) Date: Sun, 14 Aug 2011 02:12:40 -0400 Subject: [Moin-user] Crash Message-ID: <855CBB53-623A-4F01-8EB2-2E6F64A4F877@gmail.com> I was trying to save a page (the sandbox) when this happened. I had just run cleancache to correct a cache error that had prevented me from writing page Traceback (most recent call last): File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/request/ __init__.py", line 1311, in run handler(self.page.page_name, self) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/action/ edit.py", line 164, in execute savemsg = pg.saveText(savetext, rev, trivial=trivial, comment=comment) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/ PageEditor.py", line 1108, in saveText results = send_event(presave) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/events/ __init__.py", line 241, in send_event for handle in cfg.event_handlers: File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/config/ multiconfig.py", line 438, in getter self._event_handlers = events.get_handlers(self) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/events/ __init__.py", line 219, in get_handlers handler = wikiutil.importPlugin(cfg, "events", name, "handle") File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/wikiutil.py", line 1118, in importPlugin return importWikiPlugin(cfg, kind, name, function) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/wikiutil.py", line 1133, in importWikiPlugin return importNameFromPlugin(moduleName, function) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/wikiutil.py", line 1157, in importNameFromPlugin module = __import__(moduleName, globals(), {}, fromlist) ValueError: Empty module name Additionally cgitb raised this exception: Traceback (most recent call last): File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/failure.py", line 176, in handle handler.handle(savedError) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/support/ cgitb.py", line 576, in handle doc = view.format(formatter, self.context) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/support/ cgitb.py", line 354, in format return formatter.section(self.formatContent(), {'class': 'cgitb'}) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/failure.py", line 44, in formatContent self.formatDebugInfo(), File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/failure.py", line 100, in formatDebugInfo self.formatTraceback(), File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/failure.py", line 113, in formatTraceback return self.formatAllTracebacks(self.formatOneTraceback) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/failure.py", line 125, in formatAllTracebacks tracebacks.append(formatFuction((ttype, tvalue, tb))) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/support/ cgitb.py", line 434, in formatOneTraceback self.formatter.orderedList(self.tracebackFrames(info), File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/support/ cgitb.py", line 445, in tracebackFrames frames.append(frame.format(self.formatter)) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/support/ cgitb.py", line 201, in format vars, highlight = self.scan() File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/support/ cgitb.py", line 290, in scan vars = self.scanVariables(reader) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/support/ cgitb.py", line 305, in scanVariables value = getattr(parent, token, __UNDEF__) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/config/ multiconfig.py", line 438, in getter self._event_handlers = events.get_handlers(self) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/events/ __init__.py", line 219, in get_handlers handler = wikiutil.importPlugin(cfg, "events", name, "handle") File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/wikiutil.py", line 1118, in importPlugin return importWikiPlugin(cfg, kind, name, function) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/wikiutil.py", line 1133, in importWikiPlugin return importNameFromPlugin(moduleName, function) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.8a/MoinMoin/wikiutil.py", line 1157, in importNameFromPlugin module = __import__(moduleName, globals(), {}, fromlist) ValueError: Empty module name From pcolsen at gmail.com Sun Aug 14 02:25:00 2011 From: pcolsen at gmail.com (Peter Olsen) Date: Sun, 14 Aug 2011 02:25:00 -0400 Subject: [Moin-user] Version from earlier crash was 1.8.8 Message-ID: <4A52079E-1529-42CD-A8A4-28FA1CD596B2@gmail.com> Earlier this evening I submitted a trace but forgot to give the Moin version I was running. It was version 1.8.8 From Sebastien.Hinderer at ens-lyon.org Sun Aug 14 09:21:00 2011 From: Sebastien.Hinderer at ens-lyon.org (=?iso-8859-1?Q?Sh=E9rab?=) Date: Sun, 14 Aug 2011 15:21:00 +0200 Subject: [Moin-user] 2.0 and spreadsheet tables Message-ID: <20110814132100.GA6713@pema> Dear all, I'm wondering whether Moin 2.0 introduced any enhancement about the generation of spreadsheet with lines / columns providing the total of other cells ? Many thanks in advance for any hint, Sherab. From pcolsen at gmail.com Sun Aug 14 10:54:35 2011 From: pcolsen at gmail.com (Peter Olsen) Date: Sun, 14 Aug 2011 10:54:35 -0400 Subject: [Moin-user] 1.8.4/1.8.8 crash on save Message-ID: I keep getting the following error whenever I try to save a page in either Moin 1.8.4 and 1.8.8. I was running 1.8.4 without trouble when I started getting a persistent CacheError. I ran cleancache and now I'm getting these errors. Preview works but I can't save. Can anyone suggest a fix? I want to upgrade, but I don't want to do so until my current wiki is running correctly. Traceback (most recent call last): File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/request/ __init__.py", line 1311, in run handler(self.page.page_name, self) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/action/ edit.py", line 164, in execute savemsg = pg.saveText(savetext, rev, trivial=trivial, comment=comment) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/PageEditor.py", line 1108, in saveText results = send_event(presave) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/events/ __init__.py", line 241, in send_event for handle in cfg.event_handlers: File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/config/ multiconfig.py", line 438, in getter self._event_handlers = events.get_handlers(self) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/events/ __init__.py", line 219, in get_handlers handler = wikiutil.importPlugin(cfg, "events", name, "handle") File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/wikiutil.py", line 1118, in importPlugin return importWikiPlugin(cfg, kind, name, function) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/wikiutil.py", line 1133, in importWikiPlugin return importNameFromPlugin(moduleName, function) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/wikiutil.py", line 1157, in importNameFromPlugin module = __import__(moduleName, globals(), {}, fromlist) ValueError: Empty module name Additionally cgitb raised this exception: Traceback (most recent call last): File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/failure.py", line 176, in handle handler.handle(savedError) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/support/ cgitb.py", line 576, in handle doc = view.format(formatter, self.context) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/support/ cgitb.py", line 354, in format return formatter.section(self.formatContent(), {'class': 'cgitb'}) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/failure.py", line 44, in formatContent self.formatDebugInfo(), File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/failure.py", line 100, in formatDebugInfo self.formatTraceback(), File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/failure.py", line 113, in formatTraceback return self.formatAllTracebacks(self.formatOneTraceback) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/failure.py", line 125, in formatAllTracebacks tracebacks.append(formatFuction((ttype, tvalue, tb))) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/support/ cgitb.py", line 434, in formatOneTraceback self.formatter.orderedList(self.tracebackFrames(info), File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/support/ cgitb.py", line 445, in tracebackFrames frames.append(frame.format(self.formatter)) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/support/ cgitb.py", line 201, in format vars, highlight = self.scan() File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/support/ cgitb.py", line 290, in scan vars = self.scanVariables(reader) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/support/ cgitb.py", line 305, in scanVariables value = getattr(parent, token, __UNDEF__) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/config/ multiconfig.py", line 438, in getter self._event_handlers = events.get_handlers(self) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/events/ __init__.py", line 219, in get_handlers handler = wikiutil.importPlugin(cfg, "events", name, "handle") File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/wikiutil.py", line 1118, in importPlugin return importWikiPlugin(cfg, kind, name, function) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/wikiutil.py", line 1133, in importWikiPlugin return importNameFromPlugin(moduleName, function) File "/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/MoinMoin/wikiutil.py", line 1157, in importNameFromPlugin module = __import__(moduleName, globals(), {}, fromlist) ValueError: Empty module name From nholtz at cee.carleton.ca Mon Aug 15 14:52:42 2011 From: nholtz at cee.carleton.ca (Neal Holtz) Date: Mon, 15 Aug 2011 14:52:42 -0400 Subject: [Moin-user] http_redirect from within a macro? Message-ID: <201108151452.42868.nholtz@cee.carleton.ca> Hello, Is it possible to request an http redirect from within a macro handler? Using moinmoin 1.9.3, when I try: def macro_Quiz( macro, filename ): .... macro.request.http_redirect( 'http://www.disney.com', code=301 ) <] (see also the log)>> thanks nh -- Neal Holtz http://cee.carleton.ca/~nholtz Dept. of Civil and Environmental Engineering, Carleton University, Ottawa, Ontario, Canada K1S 5B6. nholtz at cee.carleton.ca Public Key: http://holtz3.cee.carleton.ca/~nholtz/pubkey.asc Office-Hours: http://holtz3.cee.carleton.ca/~nholtz/office-hours.html Free-Busy: http://holtz3.cee.carleton.ca/~nholtz/free-busy.cgi -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at boddie.org.uk Mon Aug 15 16:38:04 2011 From: paul at boddie.org.uk (Paul Boddie) Date: Mon, 15 Aug 2011 22:38:04 +0200 Subject: [Moin-user] http_redirect from within a macro? In-Reply-To: <201108151452.42868.nholtz@cee.carleton.ca> References: <201108151452.42868.nholtz@cee.carleton.ca> Message-ID: <201108152238.04983.paul@boddie.org.uk> On Monday 15 August 2011 20:52:42 Neal Holtz wrote: > > Is it possible to request an http redirect from within a macro > handler? Using moinmoin 1.9.3, when I try: > > def macro_Quiz( macro, filename ): > .... > macro.request.http_redirect( 'http://www.disney.com', code=301 ) > > > < ] (see also the log)>> What does the log say? I looked at some actions and you'd use the http_redirect method on the request in that environment, but I don't know if that works for macros, mostly because macros are executed during output production, at which point it's probably a bit late to attempt a redirect: the HTTP status code will have been set and page content partially written. Paul From nholtz at cee.carleton.ca Mon Aug 15 19:35:47 2011 From: nholtz at cee.carleton.ca (Neal Holtz) Date: Mon, 15 Aug 2011 19:35:47 -0400 Subject: [Moin-user] http_redirect from within a macro? In-Reply-To: <201108152238.04983.paul@boddie.org.uk> References: <201108151452.42868.nholtz@cee.carleton.ca> <201108152238.04983.paul@boddie.org.uk> Message-ID: <201108151935.47764.nholtz@cee.carleton.ca> On August 15, 2011 04:38:04 PM Paul Boddie wrote: > On Monday 15 August 2011 20:52:42 Neal Holtz wrote: > > > > Is it possible to request an http redirect from within a macro > > handler? Using moinmoin 1.9.3, when I try: > > > > def macro_Quiz( macro, filename ): > > .... > > macro.request.http_redirect( 'http://www.disney.com', code=301 ) > > > > > > < > ] (see also the log)>> > > What does the log say? The traceback is: 2011-08-15 19:22:03,910 ERROR MoinMoin.macro:132 Macro Quiz (page: 'TestQuiz') raised an exception: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/MoinMoin/macro/__init__.py", line 122, in execute return execute(self, args) File "/usr/local/lib/python2.7/dist-packages/MoinMoin/macro/__init__.py", line 107, in _self.request, call, _args, [_self]) File "/usr/local/lib/python2.7/dist-packages/MoinMoin/wikiutil.py", line 1954, in invoke_extension_function return function(*fixed_args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/MoinMoin/macro/Quiz.py", line 39, in macro_Quiz macro.request.http_redirect( 'http://www.disney.com', code=301 ) File "/usr/local/lib/python2.7/dist-packages/MoinMoin/web/contexts.py", line 276, in http_redirect abort(redirect(url, code=code)) File "/usr/local/lib/python2.7/dist-packages/MoinMoin/support/werkzeug/exceptions.py", line 436, in __call__ raise _ProxyException(code) _ProxyException: proxy exception for > I looked at some actions and you'd use the > http_redirect method on the request in that environment, but I don't know if > that works for macros, mostly because macros are executed during output > production, at which point it's probably a bit late to attempt a redirect: > the HTTP status code will have been set and page content partially written. >From a quick look at the code, because this is done partially by raising an exception, I was hoping that it would work even under those conditions. I haven't dug into the macro handling code, but the some relevant lines for doing the redirect are: In contexts.py: def http_redirect(self, url, code=302): """ Raise a simple redirect exception. """ # werkzeug >= 0.6 does iri-to-uri transform if it gets unicode, but our # url is already url-quoted, so we better give it str to have same behaviour # with werkzeug 0.5.x and 0.6.x: url = str(url) # if url is unicode, it should contain ascii chars only abort(redirect(url, code=code)) In: support/werkzeug/exceptions.py: class Aborter(object): """ When passed a dict of code -> exception items it can be used as callable that raises exceptions. If the first argument to the callable is a integer it will be looked up in the mapping, if it's a WSGI application it will be raised in a proxy exception. The rest of the arguments are forwarded to the exception constructor. """ def __init__(self, mapping=None, extra=None): if mapping is None: mapping = default_exceptions self.mapping = dict(mapping) if extra is not None: self.mapping.update(extra) def __call__(self, code, *args, **kwargs): if not args and not kwargs and not isinstance(code, (int, long)): raise _ProxyException(code) if code not in self.mapping: raise LookupError('no exception for %r' % code) raise self.mapping[code](*args, **kwargs) abort = Aborter() I wonder if the macro executor is expected to handle that _ProxyException ... I'll have a look at invoke_extension_function ... > > Paul > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -- Neal Holtz http://cee.carleton.ca/~nholtz Dept. of Civil and Environmental Engineering, Carleton University, Ottawa, Ontario, Canada K1S 5B6. nholtz at cee.carleton.ca Public Key: http://holtz3.cee.carleton.ca/~nholtz/pubkey.asc Office-Hours: http://holtz3.cee.carleton.ca/~nholtz/office-hours.html Free-Busy: http://holtz3.cee.carleton.ca/~nholtz/free-busy.cgi From doug.farrell at gmail.com Tue Aug 16 12:52:58 2011 From: doug.farrell at gmail.com (Doug Farrell) Date: Tue, 16 Aug 2011 12:52:58 -0400 Subject: [Moin-user] MoinMoin and py2exe Message-ID: Hi all, I'm trying to create a standalone wiki on a CDROM using the wikiserver.py script. I want to do this for Windows machines only that may or may not have Python installed. Has anyone tried, or had any success with, using py2exe to create a standalone MoinMoin wiki in this way? Any help, pointers or advice would be greatly appreciated! Thanks, Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw at waldmann-edv.de Tue Aug 16 13:55:52 2011 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Tue, 16 Aug 2011 19:55:52 +0200 Subject: [Moin-user] 2.0 and spreadsheet tables In-Reply-To: <20110814132100.GA6713@pema> References: <20110814132100.GA6713@pema> Message-ID: <1313517352.30865.14.camel@server.firma.waldmann-edv.de> > I'm wondering whether Moin 2.0 introduced any enhancement about the > generation of spreadsheet with lines / columns providing the total of > other cells ? To get moin2 finished some day not too far in the future, the main release goal is to provide a BASIC, but working wiki. Doing spreadsheet calculations is not in the scope of this, so sorry, that likely won't be included. Of course developers can feel free to hack any feature they like (and as we have a templating engine now and some other nice stuff, that might be easier than before). From Sebastien.Hinderer at ens-lyon.org Tue Aug 23 08:34:37 2011 From: Sebastien.Hinderer at ens-lyon.org (=?iso-8859-1?Q?S=E9bastien?= Hinderer) Date: Tue, 23 Aug 2011 14:34:37 +0200 Subject: [Moin-user] 2.0 and spreadsheet tables In-Reply-To: <1313517352.30865.14.camel@server.firma.waldmann-edv.de> References: <20110814132100.GA6713@pema> <1313517352.30865.14.camel@server.firma.waldmann-edv.de> Message-ID: <20110823123437.GA3947@pema> Okay Thomas,thanks a lot for your response ! Any suggestion for a wiki system that would be able to handle spreadsheet-like calculations out of the box ? Thanks, S?bastien. From dodecatheon at gmail.com Wed Aug 24 17:21:36 2011 From: dodecatheon at gmail.com (Ted Stern) Date: Wed, 24 Aug 2011 14:21:36 -0700 Subject: [Moin-user] automatic redirect to login page Message-ID: I'm running moin 1.9.3 and have a farm of wikis that are controlled via access control. Generally, a UserName has to be listed under TrustedGroup to have access. We frequently send URLs to interior pages in our wikis that require the user to login first. Is there a way I can have the login page automatically pop up if the user has not logged into a particular wiki already? Ted -- Frango ut patefaciam -- I break so that I may reveal From rick.vanderveer at gmail.com Wed Aug 24 20:15:40 2011 From: rick.vanderveer at gmail.com (Rick Vanderveer) Date: Wed, 24 Aug 2011 19:15:40 -0500 Subject: [Moin-user] automatic redirect to login page In-Reply-To: References: Message-ID: Hey Ted, I think the best way to do this is to probably set permissions to something like (wikiconfig.py): acl_rights_before = u'known:read,write,delete,revert All:' See http://moinmo.in/HelpOnAccessControlLists for more info. Also, this may help http://moinmo.in/HowTo/ManagingAccountCreation, in case that helps. You can also customize the error page (I can't recall offhand which one it is), so that users get a nice error explaining they have to log in, rather than "you do not have permission to view this page". I've done this set up for projects between us and the client (we don't want just anyone being able to login and view the page). Finally, I don't know how your set up is, but ours requires all users to be authenticated, but we do this at that web server level, so users have to enter in their login before the wiki is even hit. I happen to run on top of a Windows server, so I can take advantage of domain authentication (no special account just for the wiki, any employee can now log in. Specifically, I do this: http://moinmo.in/HowTo/WindowsDomainAuthentication) Hopefully this will give you some pointers to get you going in the right direction... -Rick On Wed, Aug 24, 2011 at 4:21 PM, Ted Stern wrote: > I'm running moin 1.9.3 and have a farm of wikis that are controlled > via access control. Generally, a UserName has to be listed under > TrustedGroup to have access. > > We frequently send URLs to interior pages in our wikis that require > the user to login first. > > Is there a way I can have the login page automatically pop up if the > user has not logged into a particular wiki already? > > Ted > -- > Frango ut patefaciam -- I break so that I may reveal > > > ------------------------------------------------------------------------------ > EMC VNX: the world's simplest storage, starting under $10K > The only unified storage solution that offers unified management > Up to 160% more powerful than alternatives and 25% more efficient. > Guaranteed. http://p.sf.net/sfu/emc-vnx-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 rb.proj at gmail.com Thu Aug 25 03:37:00 2011 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 25 Aug 2011 09:37:00 +0200 Subject: [Moin-user] Where are the RecentChanges ? In-Reply-To: References: Message-ID: Am 08.08.2011 22:25, schrieb Hans-Joachim Ehlers: > Hi > > Given > Moinmoin 1.8.8 SLES11 SP1 > > > Task: > Moving from MoinMoin 1.8.3 /OpenSuse 10.3 to Moinmoin 1.8.8 on SLES11 SP1 and moving Userdata to a new location. > > I backed up from 1.8.3 the ./data/pages/ , ./data/user/ , ./underlay/pages/RecentChanges > > Just to find out that ./underlay/pages/RecentChanges does not contains the RecentChanges. > > Thus the question: Where are they located ? > > Tia > Hajo > > You may want to visit LanguageSetup and install the pagepacks you need. Don't OpenSuse provide a README about this migration ? cheers Reimar From rb.proj at gmail.com Thu Aug 25 03:38:52 2011 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 25 Aug 2011 09:38:52 +0200 Subject: [Moin-user] Where are the RecentChanges ? In-Reply-To: <4E40EF63.602@tibco.com> References: <4E404C79.9090309@tibco.com> <4E40EF63.602@tibco.com> Message-ID: Am 09.08.2011 10:27, schrieb Eric Johnson: > Were I in your shoes, and concerned about backup, I might suggest a > "blacklist" approach rather than a whitelist approach. That is, back up > everything in the "data" folder except that which you know you can skip. > For that matter, just do a "clean cache", and then backup, and don't try > to trim more than that. > > You shouldn't need to back up anything from the "underlay" folder. May be read docs/UPDATE.html and follow all the steps there cheers Reimar > > -Eric. > > On 8/9/11 10:16 AM, Hans-Joachim Ehlers wrote: >> Thx for the hint. >> >> The log file are located in ./data/. And named: >> * edit-log - for the recent changes >> * event-log - for logged events . >> >> Thus i assume that its sufficient to backup and restore ./data/pages ./data/user and ./data/edit-log to the new system in case no other enhancements like installing plugins has been done. >> >> Cheers >> Hajo >> >> -----Original Message----- >> From: Eric Johnson [mailto:eric at tibco.com] >> Sent: Monday, August 08, 2011 10:52 PM >> To: Hans-Joachim Ehlers >> Cc: moin-user at lists.sourceforge.net >> Subject: Re: [Moin-user] Where are the RecentChanges ? >> >> The log files. >> >> -Eric. >> >> On 8/8/11 10:25 PM, Hans-Joachim Ehlers wrote: >>> Hi >>> >>> Given >>> Moinmoin 1.8.8 SLES11 SP1 >>> >>> >>> Task: >>> Moving from MoinMoin 1.8.3 /OpenSuse 10.3 to Moinmoin 1.8.8 on SLES11 SP1 and moving Userdata to a new location. >>> >>> I backed up from 1.8.3 the ./data/pages/ , ./data/user/ , ./underlay/pages/RecentChanges >>> >>> Just to find out that ./underlay/pages/RecentChanges does not contains the RecentChanges. >>> >>> Thus the question: Where are they located ? > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev From rb.proj at gmail.com Thu Aug 25 03:40:44 2011 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 25 Aug 2011 09:40:44 +0200 Subject: [Moin-user] Will a re-install fix a cache error? How about deleting the cache directories? In-Reply-To: <8603EC8D-3ECE-4F68-9CAC-DE7A7FEE73AB@gmail.com> References: <8603EC8D-3ECE-4F68-9CAC-DE7A7FEE73AB@gmail.com> Message-ID: Am 09.08.2011 16:44, schrieb Peter Olsen: > I have a persistent cache error about I've previously written. > > Can I fix that by reinstalling the wiki then copying my data > directory? I've been using 1.8.4. I can reinstall that or go to > 1.8.8. > > Alternatively, can I fix it by writing a shell script to delete part > all the cache directories or something in them? > > Thanks! > moin ... maint cleancache should clean all cache files. show a traceback and yes running a bug fixed release is what you really should do, see http://moinmo.in/SecurityFixes cheers Reimar > Peter Olsen, P.E. > Registered Professional Engineer, Maryland License 12283 > P.O. Box 410, Simpsonville, MD 21150 > > > > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev From xarkam at gmail.com Thu Aug 25 05:14:56 2011 From: xarkam at gmail.com (Xarkam xarkam) Date: Thu, 25 Aug 2011 11:14:56 +0200 Subject: [Moin-user] [Error] No module named filters Message-ID: Hi, Today, i have one error on my moinmoin: [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] mod_wsgi (pid=3049): Exception occurred processing WSGI script '/home/sites/wiki/moin.wsgi'. [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] Traceback (most recent call last): [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "/usr/lib/pymodules/python2.6/MoinMoin/support/werkzeug/utils.py", line 248, in __call__ [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] return self.app(environ, start_response) [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 282, in __call__ [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] response = run(context) [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 88, in run [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] response = dispatch(request, context, action_name) [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 136, in dispatch [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] response = handle_action(context, pagename, action_name) [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 195, in handle_action [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] handler(context.page.page_name, context) [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "/usr/lib/pymodules/python2.6/MoinMoin/action/__init__.py", line 268, in do_show [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] content_only=content_only, [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "/usr/lib/pymodules/python2.6/MoinMoin/Page.py", line 1198, in send_page [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] start_line=pi['lines']) [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "/usr/lib/pymodules/python2.6/MoinMoin/Page.py", line 1292, in send_page_content [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] self.execute(request, parser, code) [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "/usr/lib/pymodules/python2.6/MoinMoin/Page.py", line 1323, in execute [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] exec code [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "AideDeMiseEnForme", line 172, in [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "/usr/lib/pymodules/python2.6/MoinMoin/formatter/__init__.py", line 348, in parser [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] p.format(self) [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "/usr/lib/pymodules/python2.6/MoinMoin/parser/highlight.py", line 174, in format [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] lexer = pygments.lexers.get_lexer_by_name(self.syntax) [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexers/__init__.py", line 74, in get_lexer_by_name [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] _load_lexers(module_name) [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexers/__init__.py", line 32, in _load_lexers [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] mod = __import__(module_name, None, None, ['__all__']) [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexers/agile.py", line 14, in [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] from pygments.lexer import Lexer, RegexLexer, ExtendedRegexLexer, \\ [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexer.py", line 14, in [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] from pygments.filters import get_filter_by_name [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] ImportError: No module named filters It's a python module error or moinmoin file corrupted ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From rb.proj at gmail.com Thu Aug 25 06:43:28 2011 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 25 Aug 2011 12:43:28 +0200 Subject: [Moin-user] [Error] No module named filters In-Reply-To: References: Message-ID: Am 25.08.2011 11:14, schrieb Xarkam xarkam: > Hi, > Today, i have one error on my moinmoin: > > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] mod_wsgi > (pid=3049): Exception occurred processing WSGI script > '/home/sites/wiki/moin.wsgi'. > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] Traceback (most > recent call last): > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/support/werkzeug/utils.py", line 248, > in __call__ > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] return > self.app(environ, start_response) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 282, in __call__ > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] response = > run(context) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 88, in run > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] response = > dispatch(request, context, action_name) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 136, in dispatch > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] response = > handle_action(context, pagename, action_name) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 195, in > handle_action > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] > handler(context.page.page_name, context) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/action/__init__.py", line 268, in > do_show > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] > content_only=content_only, > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/Page.py", line 1198, in send_page > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] > start_line=pi['lines']) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/Page.py", line 1292, in > send_page_content > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] > self.execute(request, parser, code) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/Page.py", line 1323, in execute > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] exec code > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "AideDeMiseEnForme", line 172, in > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/formatter/__init__.py", line 348, in > parser > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] p.format(self) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/parser/highlight.py", line 174, in > format > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] lexer = > pygments.lexers.get_lexer_by_name(self.syntax) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexers/__init__.py", > line 74, in get_lexer_by_name > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] > _load_lexers(module_name) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexers/__init__.py", > line 32, in _load_lexers > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] mod = > __import__(module_name, None, None, ['__all__']) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexers/agile.py", > line 14, in > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] from > pygments.lexer import Lexer, RegexLexer, ExtendedRegexLexer, \\ > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexer.py", line 14, > in > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] from > pygments.filters import get_filter_by_name > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] ImportError: No > module named filters > > It's a python module error or moinmoin file corrupted ? > check permissions of /usr/lib/pymodules/python2.6/MoinMoin/support/pygments/filters and files below it I guess your web server user is not allowed to read it cheers Reimar From rb.proj at gmail.com Thu Aug 25 07:38:55 2011 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 25 Aug 2011 13:38:55 +0200 Subject: [Moin-user] [Error] No module named filters In-Reply-To: References: Message-ID: Am 25.08.2011 11:14, schrieb Xarkam xarkam: > Hi, > Today, i have one error on my moinmoin: How do you have installed moin - from its tar archive (http://static.moinmo.in/files/moin-1.9.3.tar.gz) ? did you run python setup.py install --force ? It is in setup.py packages defined see http://hg.moinmo.in/moin/1.9/file/89882824b375/setup.py#l315 If you run a older moin version it can be that it is missing, because we fixed it by http://hg.moinmo.in/moin/1.9/diff/436048b821a5/setup.py in 2008. Because you haven't told your moin version it must be something before 1.8.0beta3. Then you also should do an upgrade because of several http://moinmo.in/SecurityFixes cheers Reimar > > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] mod_wsgi > (pid=3049): Exception occurred processing WSGI script > '/home/sites/wiki/moin.wsgi'. > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] Traceback (most > recent call last): > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/support/werkzeug/utils.py", line 248, > in __call__ > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] return > self.app(environ, start_response) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 282, in __call__ > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] response = > run(context) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 88, in run > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] response = > dispatch(request, context, action_name) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 136, in dispatch > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] response = > handle_action(context, pagename, action_name) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 195, in > handle_action > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] > handler(context.page.page_name, context) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/action/__init__.py", line 268, in > do_show > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] > content_only=content_only, > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/Page.py", line 1198, in send_page > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] > start_line=pi['lines']) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/Page.py", line 1292, in > send_page_content > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] > self.execute(request, parser, code) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/Page.py", line 1323, in execute > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] exec code > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "AideDeMiseEnForme", line 172, in > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/formatter/__init__.py", line 348, in > parser > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] p.format(self) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/parser/highlight.py", line 174, in > format > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] lexer = > pygments.lexers.get_lexer_by_name(self.syntax) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexers/__init__.py", > line 74, in get_lexer_by_name > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] > _load_lexers(module_name) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexers/__init__.py", > line 32, in _load_lexers > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] mod = > __import__(module_name, None, None, ['__all__']) > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexers/agile.py", > line 14, in > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] from > pygments.lexer import Lexer, RegexLexer, ExtendedRegexLexer, \\ > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] File > "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexer.py", line 14, > in > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] from > pygments.filters import get_filter_by_name > [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] ImportError: No > module named filters > > It's a python module error or moinmoin file corrupted ? > > > > > ------------------------------------------------------------------------------ > EMC VNX: the world's simplest storage, starting under $10K > The only unified storage solution that offers unified management > Up to 160% more powerful than alternatives and 25% more efficient. > Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > > > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From stephane at harobed.org Tue Aug 30 09:22:24 2011 From: stephane at harobed.org (=?ISO-8859-1?Q?St=E9phane_Klein?=) Date: Tue, 30 Aug 2011 15:22:24 +0200 Subject: [Moin-user] Why moin 1.9.3 isn't in PyPi ? Message-ID: Hi, why moin 1.9.3 isn't in PyPi ? Regards, Stephane -- St?phane Klein blog: http://stephane-klein.info Twitter: http://twitter.com/klein_stephane pro: http://www.is-webdesign.com From stephane at harobed.org Tue Aug 30 09:27:19 2011 From: stephane at harobed.org (=?ISO-8859-1?Q?St=E9phane_Klein?=) Date: Tue, 30 Aug 2011 15:27:19 +0200 Subject: [Moin-user] UnboundLocalError: local variable 'idx_name' referenced before assignment when I build xapian index Message-ID: Hi, when I do that (with 1.9.4) : ./server/moin --config-dir=./ index build I've this error : File "/home/harobed/.virtualenvs/wiki/local/lib/python2.7/site-packages/MoinMoin/script/index/build.py", line 103, in command idx = XapianIndex(self.request, name=idx_name) UnboundLocalError: local variable 'idx_name' referenced before assignment Regards, Stephane -- St?phane Klein blog: http://stephane-klein.info Twitter: http://twitter.com/klein_stephane pro: http://www.is-webdesign.com