From tw-public at gmx.de Fri Jun 2 09:17:51 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 02 Jun 2006 15:17:51 +0200 Subject: [Moin-user] Peppier text search? In-Reply-To: <17535.22119.153144.147564@montanaro.dyndns.org> References: <17535.22119.153144.147564@montanaro.dyndns.org> Message-ID: <44803A7F.7030605@gmx.de> skip at pobox.com wrote: > The Python wiki is getting pretty huge (~1900 pages), so full text searches > are pretty slow. we're still running Moin 1.3.4. Has full text search > performance improved in more recent versions? > One of our google summer of code projects is Xapian indexing full-text search engine integration, so this is just a matter of time. gmane.org uses Xapian, so I guess it can also do 1900 wiki pages. :) From tw-public at gmx.de Fri Jun 2 09:22:28 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 02 Jun 2006 15:22:28 +0200 Subject: [Moin-user] User instance has no attribute 'css_url' In-Reply-To: References: Message-ID: <44803B94.7080209@gmx.de> > Hi - for some reason, the moin I am running is no longer able to > create new user accounts. For existing users, they can still login, > but if someone tries to create a new profile, we get this: > > User instance has no attribute 'css_url' > > # > > /usr/lib/python2.3/site-packages/MoinMoin/wikiaction.py in do_userform > (pagename=u'OopDocbook', request=) > > 1. 727 from MoinMoin import userform > 2. 728 savemsg = userform.savedata(request) > 3. 729 Page(request, pagename).send_page(request, msg=savemsg) > 4. 730 > 5. 731 def do_bookmark(pagename, request): > > * global Page = > * request = > * pagename = u'OopDocbook' > * ).send_page undefined > * msg undefined > * savemsg = None > > > Does anyone know what this means, and how to remedy it? > There is important information missing. If you file a bug report in the wiki, I can have a look at this soon. Please give all details requested in the bug template and attach the full traceback.html saved from your browser. From tw-public at gmx.de Fri Jun 2 09:29:16 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 02 Jun 2006 15:29:16 +0200 Subject: [Moin-user] Can't find where bug fix is In-Reply-To: <6FAB474893963D4E876FE660DC96C071014A99B7@azsmsx401.amr.corp.intel.com> References: <6FAB474893963D4E876FE660DC96C071014A99B7@azsmsx401.amr.corp.intel.com> Message-ID: <44803D2C.6050503@gmx.de> > I get a GUI Editor error when trying to operate on the following text Please file a bug on the wiki and try to reproduce it there. Give a test page as sub page below the bug page. From alan.ezust at gmail.com Fri Jun 2 11:04:48 2006 From: alan.ezust at gmail.com (Alan Ezust) Date: Fri, 2 Jun 2006 08:04:48 -0700 Subject: [Moin-user] User instance has no attribute 'css_url' In-Reply-To: <44803B94.7080209@gmx.de> References: <44803B94.7080209@gmx.de> Message-ID: I just added my own wikiconfig.py to the already existing bug report. Let me know if I can be of further assistance. --alan http://moinmoin.wikiwikiweb.de/MoinMoinBugs/User_instance_has_no_attribute_%27css_url%27 this is moin 1.5.2. From crosseyedpenguin at yahoo.com Sat Jun 3 11:24:39 2006 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Sat, 3 Jun 2006 08:24:39 -0700 (PDT) Subject: [Moin-user] SyntaxReference should be on default navi_bar Message-ID: <20060603152439.77464.qmail@web36215.mail.mud.yahoo.com> While tidying up my underlay directory (Moin 1.5.3) yesterday I came across the SyntaxReference page. This is an orphan page (I don't believe I deleted any pages pointing to it) that deserves more visibility. For the user with average wiki skills, this is probably a more useful reference than HelpContents and should be placed on the the default navi_bar in addition to (or instead of?) HelpContents. To whoever created the page - nice job! Roger Haase __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From chris at art-en-soul.cix.co.uk Sat Jun 3 14:10:14 2006 From: chris at art-en-soul.cix.co.uk (Chris Lawley) Date: Sat, 03 Jun 2006 19:10:14 +0100 Subject: [Moin-user] SyntaxReference should be on default navi_bar In-Reply-To: <20060603152439.77464.qmail@web36215.mail.mud.yahoo.com> Message-ID: <4481DE96.23746.BC6455@chris.art-en-soul> On 3 Jun 2006, Roger Haase wrote: > While tidying up my underlay directory (Moin 1.5.3) yesterday I came > across the SyntaxReference page. This is an orphan page (I don't > believe I deleted any pages pointing to it) that deserves more > visibility. On my (WinXP Desktop version) copy it is linked to a page "TextFormatting" which appears to be a copy of it I've been meaning to ask if the Orphan pages feature is a bit broken 'cos it's reporting several pages that are most definitely hard- code-linked and some others that are not linked but which are referenced by [[PageList]] They stand out as there are many more PageListed entries that are not classed as orphans. The obvious common factor is that thay are all subpages, but I'm betting there's something else chris :-) From msoulier at digitaltorque.ca Tue Jun 6 22:40:00 2006 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Tue, 6 Jun 2006 22:40:00 -0400 Subject: [Moin-user] [[OrphanedPages]] in 1.5.3 Message-ID: <20060607024000.GH5036@tigger.digitaltorque.ca> Hi, I just upgraded to 1.5.3, and a page that uses the [[OrphanedPages]] macro is taking forever to load, pushing my box's cpu use to 90%. Is this a known issue? Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From keith.c.schwols at intel.com Tue Jun 6 23:23:30 2006 From: keith.c.schwols at intel.com (Schwols, Keith C) Date: Tue, 6 Jun 2006 20:23:30 -0700 Subject: [Moin-user] List of User's Pages Message-ID: <6FAB474893963D4E876FE660DC96C0710157C103@azsmsx401.amr.corp.intel.com> I'm writing a macro to fulfill my user's requirement that they have an action/macro that lists all the pages that they have created. Many times my users create a page or remember that once created a page that they can't find again - easily. I have a rudimentary version working, but I'm concern on which would be the best approach. I'm currently parsing the edit-log file in the main data/ area looking for all SAVENEW entries and matching against the UserName transformed to uid in the file. I see that some internal Moin macro like TitleIndex generate the list of all the Pages with PageList and then query each page for data. So, I'm wondering if there is some flaw in using the main edit-log vs each page's individual edit-log. Also, if anyone has idea on what sort of information would be best to present in a [[MyPages()]] macro, I'm always interesting in other people's view points. Right now I'm leaning toward creating a list similar to the TitleIndex with an additional link to the action=info action (minimal). ] Someone added some utf-8 (I think) characters for <=, >= and != to this Python wiki page: http://wiki.python.org/moin/Python3%2e0Suggestions I went to edit the page and his characters turned into "d", "e" and "`" in Firefox. I tried replacing them with the numeric HTML entities ≤, ≥ and ≠. Those weren't expanded in the resulting page. How do I get those characters into the rendered page yet have them preserved through the edit cycle? Thx, -- Skip Montanaro - skip at pobox.com - http://www.mojam.com/ From tw-public at gmx.de Wed Jun 7 09:28:08 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 07 Jun 2006 15:28:08 +0200 Subject: [Moin-user] List of User's Pages In-Reply-To: <6FAB474893963D4E876FE660DC96C0710157C103@azsmsx401.amr.corp.intel.com> References: <6FAB474893963D4E876FE660DC96C0710157C103@azsmsx401.amr.corp.intel.com> Message-ID: <4486D468.1090700@gmx.de> Schwols, Keith C wrote: > I'm writing a macro to fulfill my user's requirement that they have an > action/macro that lists all the pages that they have created. Many > times my users create a page or remember that once created a page that > they can't find again - easily. > > I have a rudimentary version working, but I'm concern on which would be > the best approach. > > I'm currently parsing the edit-log file in the main data/ area looking > for all SAVENEW entries and matching against the UserName transformed to > uid in the file. I see that some internal Moin macro like TitleIndex > generate the list of all the Pages with PageList and then query each > page for data. So, I'm wondering if there is some flaw in using the > main edit-log vs each page's individual edit-log. > As long as the main edit-log is there and complete, this is no problem. Using the page's edit-log might be a bit more robust, though. Losing or corrupting 1 file is easy, doing this for all pages takes more effort. Of course querying all pages takes lots more time... > Also, if anyone has idea on what sort of information would be best to > present in a [[MyPages()]] macro, I'm always interesting in other > people's view points. diff link between last own mod and current version info link for page pagename (link) last own modification date last modification date (if not same) last modification user (if not self) last modification comment (if not from self) Some items could be maybe saved by doing the info action link with pre-selected radio buttons for those versions. So no need for: diff link, last own mod, and everything relating to last modification of other user - as it is all one click away. From valerio.daelli at ifom-ieo-campus.it Wed Jun 7 10:28:20 2006 From: valerio.daelli at ifom-ieo-campus.it (Valerio Daelli) Date: Wed, 7 Jun 2006 16:28:20 +0200 Subject: [Moin-user] Problem with 1.5.3: Login from Users Message-ID: Hi we have MoinMoin installed from ports on FreeBSD 5.4. On a site we have version 1.5.2 and it works fine. On a second site we have version 1.5.3 and we get errors with the UserPrefences page. The problem is that there is no 'Login' button, only the 'Cancel' one, so the user cannot login. We use these relevant lines in wikiconfig.py ... # Security ---------------------------------------------------------- # This is checked by some rather critical and potentially harmful actions, # like despam or PackageInstaller action: superuser = [u"SuperAdmin", ] acl_rights_before = u"SuperAdmin:read,write,delete,revert,admin" acl_rights_default = u"SuperAdmin:read,write,delete,revert,admin\ All:read" user_form_remove = [u"create"] show_login = 1 ... Thanks for your help Valerio Daelli ----------------------------------------------------------- Il Tuo 5 per Mille a favore della Ricerca dell'IFOM! L'IFOM Fondazione Istituto FIRC di Oncologia Molecolare ? uno degli enti a cui ? possibile destinare il Tuo 5 per mille, apponendo la Tua firma e inserendo il codice fiscale dell'IFOM (97358780159) nella casella riservata al "Sostegno del volontariato, delle organizzazioni non lucrative di utilit? sociale, delle associazioni di promozione sociale, delle associazioni e fondazioni" che si trova sui modelli Unico, 730 e CUD. - NON COSTA NULLA E NON COMPORTA ALCUN AUMENTO DELLE IMPOSTE DA VERSARE - NON ? UN?ALTERNATIVA ALL?8 PER MILLE - E? UN GESTO CONCRETO E DI GRANDE VALORE Per saperne di pi? vai al sito dell'IFOM www.ifom-firc.it Segnala ad un amico questa opportunit?. From msoulier at digitaltorque.ca Wed Jun 7 10:47:18 2006 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Wed, 7 Jun 2006 10:47:18 -0400 Subject: [Moin-user] odd editing problem in moin 1.5.3 Message-ID: <20060607144718.GF5228@tigger.digitaltorque.ca> When editing any page in Moin 1.5.3, I'm seeing this at the bottom, under the text area. Emphasis:: [[Verbatim('')]]''italics''[[Verbatim('')]]; [[Verbatim(''')]]'''bold'''[[Verbatim(''')]]; [[Verbatim(''''')]]'''''bold italics'''''[[Verbatim(''''')]]; [[Verbatim('')]]''mixed ''[[Verbatim(''')]]'''''bold'''[[Verbatim(''')]] and italics''[[Verbatim('')]]; [[Verbatim(----)]] horizontal rule. Headings:: [[Verbatim(=)]] Title 1 [[Verbatim(=)]]; [[Verbatim(==)]] Title 2 [[Verbatim(==)]]; [[Verbatim(===)]] Title 3 [[Verbatim(===)]]; [[Verbatim(====)]] Title 4 [[Verbatim(====)]]; [[Verbatim(=====)]] Title 5 [[Verbatim(=====)]]. Lists:: space and one of: * bullets; 1., a., A., i., I. numbered items; 1.#n start numbering at n; space alone indents. Links:: [[Verbatim(JoinCapitalizedWords)]]; [[Verbatim(["brackets and double quotes"])]]; url; [url]; [url label]. Tables:: || cell text |||| cell text spanning 2 columns ||; no trailing white space allowed after tables or titles. (!) For more help, see HelpOnEditing or SyntaxReference. That is exactly what it looks like, with a ton of Verbatim macros. Any ideas?? Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From tw-public at gmx.de Wed Jun 7 11:30:58 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 07 Jun 2006 17:30:58 +0200 Subject: [Moin-user] Problem with 1.5.3: Login from Users In-Reply-To: References: Message-ID: <4486F132.4050206@gmx.de> > we have MoinMoin installed from ports on FreeBSD 5.4. > On a site we have version 1.5.2 and it works fine. > On a second site we have version 1.5.3 and we get errors with the > UserPrefences page. > The problem is that there is no 'Login' button, only the 'Cancel' > one, so the user cannot login. > Try with the modern theme please, the login stuff is at the upper border and quite new. From tw-public at gmx.de Wed Jun 7 11:33:18 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 07 Jun 2006 17:33:18 +0200 Subject: [Moin-user] odd editing problem in moin 1.5.3 In-Reply-To: <20060607144718.GF5228@tigger.digitaltorque.ca> References: <20060607144718.GF5228@tigger.digitaltorque.ca> Message-ID: <4486F1BE.6090101@gmx.de> Michael P. Soulier wrote: > When editing any page in Moin 1.5.3, I'm seeing this at the bottom, under the > text area. > > Emphasis:: [[Verbatim('')]]''italics''[[Verbatim('')]]; > [[Verbatim(''')]]'''bold'''[[Verbatim(''')]]; [[Verbatim(''''')]]'''''bold > italics'''''[[Verbatim(''''')]]; [[Verbatim('')]]''mixed > ''[[Verbatim(''')]]'''''bold'''[[Verbatim(''')]] and > italics''[[Verbatim('')]]; [[Verbatim(----)]] horizontal rule. Headings:: > [[Verbatim(=)]] Title 1 [[Verbatim(=)]]; [[Verbatim(==)]] Title 2 > [[Verbatim(==)]]; [[Verbatim(===)]] Title 3 [[Verbatim(===)]]; > [[Verbatim(====)]] Title 4 [[Verbatim(====)]]; [[Verbatim(=====)]] Title 5 > [[Verbatim(=====)]]. Lists:: space and one of: * bullets; 1., a., A., i., I. > numbered items; 1.#n start numbering at n; space alone indents. Links:: > [[Verbatim(JoinCapitalizedWords)]]; [[Verbatim(["brackets and double > quotes"])]]; url; [url]; [url label]. Tables:: || cell text |||| cell text > spanning 2 columns ||; no trailing white space allowed after tables or titles. > (!) For more help, see HelpOnEditing or SyntaxReference. > > That is exactly what it looks like, with a ton of Verbatim macros. > Which language did you choose in userprefs? Does it also happen if you choose another language in userprefs? Maybe try to clear the cache under data/cache/i18n/. From valerio.daelli at gmail.com Wed Jun 7 08:16:42 2006 From: valerio.daelli at gmail.com (Valerio daelli) Date: Wed, 7 Jun 2006 14:16:42 +0200 Subject: [Moin-user] Problem with 1.5.3 Message-ID: <27dbfc8c0606070516r38ddaf01w2a4393a4de80a480@mail.gmail.com> Hi we have MoinMoin installed from ports on FreeBSD 5.4. On a site we have version 1.5.2 and it works fine. On a second site we have version 1.5.3 and we get errors with the UserPrefences page. The problem is that there is no 'Login' button, only the 'Cancel' one, so the user cannot login. We use these relevant lines in wikiconfig.py # Security ---------------------------------------------------------- # This is checked by some rather critical and potentially harmful actions, # like despam or PackageInstaller action: superuser = [u"SuperAdmin", ] acl_rights_before = u"SuperAdmin:read,write,delete,revert,admin" acl_rights_default = u"SuperAdmin:read,write,delete,revert,admin\ All:read" user_form_remove = [u"create"] show_login = 1 Thanks for your help Valerio Daelli From valerio.daelli at gmail.com Tue Jun 6 05:56:56 2006 From: valerio.daelli at gmail.com (Valerio daelli) Date: Tue, 6 Jun 2006 11:56:56 +0200 Subject: [Moin-user] Problem duplicating wiki Message-ID: <27dbfc8c0606060256g5d00953egce07e63a3ee9ef6d@mail.gmail.com> Hi we have MoinMoin 1.5.3 installed on FreeBSD from ports. We installed for a site and it is working. Then we tried to duplicate that wiki to another one: we just copied the directory ./wiki, which includes root at test:~ ls /data/httpd/test.group.ifom-ieo-campus.it/docs/wiki/ ._moin.cgi data/ moin.cgi* wikiconfig.py wikiconfig.pyc_ORIGINAL ._wikiconfig.py menu_OLD/ underlay/ wikiconfig.pyc wikiconfig_ORIGINAL.py from the original site to a second one. We personalized wikiconfig.py and moin.cgi. Everything works for the second one except the 'Login Page' of UserPreferences: it only shows the Cancel button, not the Login one so the user cannot Login. Could anyone help us? Thanks Valerio Daelli From msoulier at digitaltorque.ca Thu Jun 8 12:54:18 2006 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Thu, 8 Jun 2006 12:54:18 -0400 Subject: [Moin-user] odd editing problem in moin 1.5.3 In-Reply-To: <4486F1BE.6090101@gmx.de> References: <20060607144718.GF5228@tigger.digitaltorque.ca> <4486F1BE.6090101@gmx.de> Message-ID: <20060608165418.GJ5228@tigger.digitaltorque.ca> On 07/06/06 Thomas Waldmann said: > Which language did you choose in userprefs? en > Does it also happen if you choose another language in userprefs? no. > Maybe try to clear the cache under data/cache/i18n/. That fixed the problem. Would you like me to open a proper bug report? Thanks, Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From el.baby at gmail.com Thu Jun 8 20:24:32 2006 From: el.baby at gmail.com (Mariano Absatz) Date: Thu, 8 Jun 2006 21:24:32 -0300 Subject: [Moin-user] 1.1 => 1.5.3 upgrade path In-Reply-To: <446DEAA3.6030907@gmx.de> References: <3d8676e0604241149h1126aaa7k926ba3f932f085e9@mail.gmail.com> <3d8676e0605181309u55fb9c4dgcc324531c0d85705@mail.gmail.com> <446DEAA3.6030907@gmx.de> Message-ID: <3d8676e0606081724r5e1cfa60ib1e1a9257a4b3692@mail.gmail.com> On 5/19/06, Thomas Waldmann wrote: > > Hi... I posted this a month or so ago and got no answer... is this a > > silly question? (would like to know why) Is this clearly explained > > somewhere that I missed? Or no one has a clue? > > Maybe we just missed your post. Now I missed yours... sorry and thanx a lot for your reply > > > http://moinmoin.wikiwikiweb.de/HelpOnUpdating > > http://moinmoin.wikiwikiweb.de/MoinMoinUpgrade > > http://moinmoin.wikiwikiweb.de/MoinMoinRelease1.3/README.migration > > Yes, those are the docs. Plus docs/CHANGES in the latest release archive. OK... time to read seriously. > > > From the readings above, it seems I have to go this path: > > 1.1 => 1.2.4 > > 1.2.4 => 1.3 > > 1.3 => 1.5 > > If you don't have much time for one big effort, you can do this. > > There are 2 things taking time: > a) converting your data dir (necessary when crossing 1.3 boundary) > b) fixing your config > > If you prepare by reading those docs (also read docs/CHANGES please), > you can do this at once in a few hours. > > If you don't want to do it at once: > 1) upgrade to 1.2.4 (latest 1.2 release) and run it for some time to get > all issues resolved > 2) upgrade from 1.2.4 to 1.5.current (this will be the bigger part and > includes running the mig scripts) > > I don't think you need an intermediate step in 1.3.x. OK, that's nice, indeed. > > I suggest joining us on #moin on irc.freenode.net while you do it. We > expect you to read the docs before, but we can help you in case of trouble. OK, I'll try to find some time, read the docs, take a deep breath and join the irc channel... > > > I do have ssh access to the server, but I can't edit httpd.conf or > > other system config files (I *can* add and edit .htaccess files, > > however). > > You need to install a new moin.cgi file (if you run std. cgi). > And of course new static files (css and img) and new MoinMoin code. > > And you need to convert the data dir, check if you have enough access > rights for that. Yes I do... I have ssh access to a chrooted virtual site where I installed moin originally... > > > The python version that comes with the server is 2.2.3, but I'm gonna > > install 2.4.3 before the upgrade. > > Very good idea (2.3 is minimum requirement). :) This I already tried in the same server and my locally compiled /usr/local/python2.4 works just fine > > BTW: if you run non-standard macros/actions/processors/parsers/themes > you will need to adapt them to the moin target version you want to run. I don't think I do... Thanx a lot for your help, Thomas. -- Mariano Absatz - El Baby el (dot) baby (AT) gmail (dot) com el (punto) baby (ARROBA:@) gmail (punto) com From skip at pobox.com Fri Jun 9 18:43:22 2006 From: skip at pobox.com (skip at pobox.com) Date: Fri, 9 Jun 2006 17:43:22 -0500 Subject: [Moin-user] Confused about "add spaces" setting Message-ID: <17545.63882.766768.358853@montanaro.dyndns.org> There an "Add spaces to displayed wiki names" setting in my UserPreferences page. I selected it today to try it out. The WikiNames in the breadcrumbs were space-enhanced, but not those in the page content. Is this intentional or a bug? I'm using 1.3.5. Thx, -- Skip Montanaro - skip at pobox.com - http://www.mojam.com/ From chris at art-en-soul.cix.co.uk Sat Jun 10 06:22:40 2006 From: chris at art-en-soul.cix.co.uk (Chris Lawley) Date: Sat, 10 Jun 2006 11:22:40 +0100 Subject: [Moin-user] Confused about "add spaces" setting In-Reply-To: <17545.63882.766768.358853@montanaro.dyndns.org> Message-ID: <448AAB80.29182.2E82BD@chris.art-en-soul> Is that _really_ 1.3.5 ??? I believe it's intentional. Doing it in the breadcrumbs aids readability (at the risk of a certain confusion ;) Doing it in the body of the page risks breaking links and having unwanted, and unplanned for side-effects. So far as I understand (and that's not far :( the 'breadcrumber' is it's own code and unlikely to be 'tinkered' with by other modules, hence it's easy to break up Camel Case words but keep the links. The body of the page... chris :-) (MoinMoin Desktop 1.5.3) From franz.zieher at gmail.com Sat Jun 10 16:17:45 2006 From: franz.zieher at gmail.com (Franz Zieher) Date: Sat, 10 Jun 2006 20:17:45 +0000 (UTC) Subject: [Moin-user] =?utf-8?q?Bug=3F_data=5Fdir_created_locally_during_ma?= =?utf-8?q?cro_execution?= Message-ID: Hi All, I'm using moinmoin with the twisted setup locally on XP. The macro I'm executing changes the current directory to a specific folder and retrieves some information from that directory content, which is formatted as rawHTML. At the end of the macro excution the directory is changed back to the cwd, which was set before the macro was executed. It then appears that at some point a 'data' folder is created within the directory the macro changes to during execution. The 'data' folder is not created during each macro execution but only rather randomly. In addition, I'm also logged out from moin? Can anybody tell me what happens here (has that to do with moinmoin, twisted, ...)? Thx Franz From Ralf-Lists at ralfgross.de Mon Jun 12 07:19:48 2006 From: Ralf-Lists at ralfgross.de (Ralf Gross) Date: Mon, 12 Jun 2006 13:19:48 +0200 (CEST) Subject: [Moin-user] tag/baseline whole wiki content Message-ID: <49275.141.113.101.32.1150111188.squirrel@www.stz-softwaretechnik.com> Hi, we use our moin wiki to document our software development process. Now we would like to 'baseline' the whole wiki when a new version is released. This means, we would like to be able to view the complete wiki content as it was for software release v1, v2, v3... . Hence it's not sufficient to be able to view each single page by it's version. Is it possible to tag all pages with a version/release string? And how could all pages of a given version then be viewed? Right now, I use moin-dump to archive the wiki for each software release as static HTML files. It would be nice, if we could tag/view the whole wiki content for each release. Ralf From eamon at nerbonne.org Mon Jun 12 07:56:36 2006 From: eamon at nerbonne.org (Eamon Nerbonne) Date: Mon, 12 Jun 2006 13:56:36 +0200 Subject: [Moin-user] odd editing problem in moin 1.5.3 In-Reply-To: <20060608165418.GJ5228@tigger.digitaltorque.ca> References: <20060607144718.GF5228@tigger.digitaltorque.ca> <4486F1BE.6090101@gmx.de> <20060608165418.GJ5228@tigger.digitaltorque.ca> Message-ID: <16b7b9ec0606120456s679ca814le95f86957681ecd0@mail.gmail.com> Hi, I'm having a similar problem with the dutch language pack under moinmoin 1.5.3, and clearing the cache does not fix the problem. The same problem occurs on moinmoin.wikiwikiweb.de when I set the language to Nederlands and open the text-mode editor. --Eamon Nerbonne On 6/8/06, Michael P. Soulier wrote: > > On 07/06/06 Thomas Waldmann said: > > > Which language did you choose in userprefs? > > en > > > Does it also happen if you choose another language in userprefs? > > no. > > > Maybe try to clear the cache under data/cache/i18n/. > > That fixed the problem. > > Would you like me to open a proper bug report? > > Thanks, > Mike > > -- > Michael P. Soulier > "Any intelligent fool can make things bigger and more complex... It > takes a touch of genius - and a lot of courage to move in the opposite > direction." --Albert Einstein > > > > > _______________________________________________ > 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 tw-public at gmx.de Mon Jun 12 09:29:39 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 12 Jun 2006 15:29:39 +0200 Subject: [Moin-user] Bug? data_dir created locally during macro execution In-Reply-To: References: Message-ID: <448D6C43.9070701@gmx.de> > The macro I'm executing changes the current directory to > a specific folder and retrieves some information from that > directory content, which is formatted as rawHTML. At the > end of the macro excution the directory is changed back > to the cwd, which was set before the macro was executed. > > It then appears that at some point a 'data' folder is created > within the directory the macro changes to during execution. > The 'data' folder is not created during each macro execution but > only rather randomly. In addition, I'm also logged out from > moin? > Do you have data_dir = "./data" ? If yes, try using an absolute path. From tw-public at gmx.de Mon Jun 12 09:33:56 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 12 Jun 2006 15:33:56 +0200 Subject: [Moin-user] tag/baseline whole wiki content In-Reply-To: <49275.141.113.101.32.1150111188.squirrel@www.stz-softwaretechnik.com> References: <49275.141.113.101.32.1150111188.squirrel@www.stz-softwaretechnik.com> Message-ID: <448D6D44.1030905@gmx.de> > we use our moin wiki to document our software development process. Now we > would like to 'baseline' the whole wiki when a new version is released. > This means, we would like to be able to view the complete wiki content as > it was for software release v1, v2, v3... . Hence it's not sufficient to > be able to view each single page by it's version. > If the releases are very different, you could setup a wiki farm and have a wiki per major release. > Is it possible to tag all pages with a version/release string? And how > could all pages of a given version then be viewed? > We don't have a tagging feature. Of course you could edit all relevant pages and add an edit comment like "version 1.3". Doesn't help much but better than nothing. From crosseyedpenguin at yahoo.com Mon Jun 12 12:19:42 2006 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Mon, 12 Jun 2006 09:19:42 -0700 (PDT) Subject: [Moin-user] tag/baseline whole wiki content In-Reply-To: <49275.141.113.101.32.1150111188.squirrel@www.stz-softwaretechnik.com> Message-ID: <20060612161943.5860.qmail@web36205.mail.mud.yahoo.com> --- Ralf Gross wrote: > Hi, > > we use our moin wiki to document our software development process. > Now we > would like to 'baseline' the whole wiki when a new version is > released. > This means, we would like to be able to view the complete wiki > content as > it was for software release v1, v2, v3... . Hence it's not > sufficient to > be able to view each single page by it's version. > > Is it possible to tag all pages with a version/release string? And > how > could all pages of a given version then be viewed? > > Right now, I use moin-dump to archive the wiki for each software > release > as static HTML files. It would be nice, if we could tag/view the > whole > wiki content for each release. > > Ralf > > You may want to take a look at HTMLDOC. It has a number of features to pick and choose from to produce a pdf formatted file. If you choose the book format, it can create a multi-level table of contents (but not an index :( ) and the inter-page wiki links remain as links for on-line viewing. In my case, I had to reformat and create a few wiki pages so the HTMLDOC table of contents would appear neater. I use /export/dump to extract the contents of the wiki; then use a python program to strip out some heading and trailer junk from all the extracted pages (there is an extra

that gets in the way of the table of contents that I want to create). You then point HTMLDOC to the pages you want in your book and sort them in the order you want. Once you get the basics down, running the process to create a 200 page document takes about 2 minutes. As a bonus you get a professional looking manual the user can print at his expense. HTMLDOC is open source and there are free binaries around the web. There is also a supported version of the binaries for which you pay a fee. Roger Haase __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From chris at art-en-soul.cix.co.uk Mon Jun 12 12:34:46 2006 From: chris at art-en-soul.cix.co.uk (Chris Lawley) Date: Mon, 12 Jun 2006 17:34:46 +0100 Subject: [Moin-user] tag/baseline whole wiki content In-Reply-To: <448D6D44.1030905@gmx.de> References: <49275.141.113.101.32.1150111188.squirrel@www.stz-softwaretechnik.com> Message-ID: <448DA5B6.20413.59B9F59@chris.art-en-soul> On 12 Jun 2006, Thomas Waldmann wrote: > We don't have a tagging feature. MoinMoin does have Categories which could surely assist, Also subpages might be brought into play. Inevitably it'll require some fix-ups to bring old pages into line. chris :-) From dodecatheon at gmail.com Mon Jun 12 17:11:49 2006 From: dodecatheon at gmail.com (Ted Stern) Date: Mon, 12 Jun 2006 14:11:49 -0700 Subject: [Moin-user] data loss, recovery from backup Message-ID: I have a standalone wiki farm running like this: /share/moin/farm/{wiki1,wiki2} /{config,data,htdocs,server,underlay} I lost most of the changes over 3 weeks under the farm directory and restored it from a backup. For one of the farm wikis, the RecentChanges is just fine, showing all changes up to the backup time. For the other wiki, RecentChanges is completely empty, and some files under the data/pages directory appear to have recent revisions but they are not visible in the wiki. Is there a way to regenerate the cache so I can see the more recent pages? Ted -- dodecatheon at gmail dot com Frango ut patefaciam -- I break so that I may reveal From dodecatheon at gmail.com Mon Jun 12 18:01:19 2006 From: dodecatheon at gmail.com (Ted Stern) Date: Mon, 12 Jun 2006 15:01:19 -0700 Subject: [Moin-user] data loss, recovery from backup References: Message-ID: On 12 Jun 2006 14:11:49 -0700, Ted Stern wrote: > > I have a standalone wiki farm running like this: > > /share/moin/farm/{wiki1,wiki2} > /{config,data,htdocs,server,underlay} > > I lost most of the changes over 3 weeks under the farm directory and > restored it from a backup. > > For one of the farm wikis, the RecentChanges is just fine, showing all > changes up to the backup time. > > For the other wiki, RecentChanges is completely empty, and some files > under the data/pages directory appear to have recent revisions but > they are not visible in the wiki. > > Is there a way to regenerate the cache so I can see the more recent > pages? > > Ted An update to the situation -- The backup appears to have been incremental, so now I've restored the June 8 version on top of the May 22 version. After that I have a RecentChanges with info up to May 22. Changes between May 22 and June 8 are not seen, but the individual pages have the correct contents with appropriate history. There was one page that lost the revision history, but I was able to manually recover the appropriate revision file. So at this point it would be nice to regenerate RecentChanges but it is not necessary. Ted -- dodecatheon at gmail dot com Frango ut patefaciam -- I break so that I may reveal From Ralf-Lists at ralfgross.de Tue Jun 13 03:49:25 2006 From: Ralf-Lists at ralfgross.de (Ralf Gross) Date: Tue, 13 Jun 2006 09:49:25 +0200 (CEST) Subject: [Moin-user] tag/baseline whole wiki content In-Reply-To: <448D6D44.1030905@gmx.de> References: <49275.141.113.101.32.1150111188.squirrel@www.stz-softwaretechnik.com> <448D6D44.1030905@gmx.de> Message-ID: <58358.141.113.101.32.1150184965.squirrel@www.stz-softwaretechnik.com> Thomas Waldmann said: > >> we use our moin wiki to document our software development process. Now >> we >> would like to 'baseline' the whole wiki when a new version is released. >> This means, we would like to be able to view the complete wiki content >> as it was for software release v1, v2, v3... . Hence it's not sufficient >> to be able to view each single page by it's version. >> > If the releases are very different, you could setup a wiki farm and have > a wiki per major release. I thought of that too, but the result would be a lot of redundant data. >> Is it possible to tag all pages with a version/release string? And how >> could all pages of a given version then be viewed? >> > We don't have a tagging feature. > > Of course you could edit all relevant pages and add an edit comment like > "version 1.3". > Doesn't help much but better than nothing. I don't think that people like that very much ;) If they have to go back to version 1.0 they have to touch every single page. Maybe I should use cvs to manage our wikis... ;) Ralf From 2006a at usenet.alexanderweb.de Tue Jun 13 18:03:54 2006 From: 2006a at usenet.alexanderweb.de (Alexander Schremmer) Date: Wed, 14 Jun 2006 00:03:54 +0200 Subject: [Moin-user] Sprint together with MoinMoin at CERN Message-ID: Hi, MoinMoin will not only have a talk (held by ThomasWaldmann and me) but also a sprint at Europython 2006, CERN, Geneva, Switzerland. If you plan to join us, you can tentatively add your name on the page here: http://moinmoin.wikiwikiweb.de/EuroPython2006/Sprint Sprint dates: 6th July - 9th July Even if you do not like to participate in the sprint, the conference itself will be quite superb as well: Guido van Rossum and Alan Kay will have a keynote talk each and there will be talks by the usual suspects of the Django, Turbogears, etc. teams. Besides those web related topics, there are many other talks, ranging from "Agile Development" over "Python in Science" to "Python language and libaries". A time table: http://indico.cern.ch/conferenceTimeTable.py?confId=44&detailLevel=contribution&viewMode=room Conference dates: 3rd July - 5th July See you in Geneva, Alexander From pbutler at iel.ie Wed Jun 14 06:35:21 2006 From: pbutler at iel.ie (Peter Butler) Date: Wed, 14 Jun 2006 11:35:21 +0100 Subject: [Moin-user] Problems with bulleted lists in GUI mode Message-ID: <14F834609826C748873A5012F5C13EAE05CFC8@dubmail2.iel.ie> Hi everybody, I've got a MoinMoin Wiki 1.5.3 installed on a UNIX Solaris SPARC Sun Blade 2.8. I'm having the following problem in GUI mode an bulleted lists In GUI Mode I paste some text from another editor ie Textpad into a Wiki Page For example In Textpad we have Point 1 is that we have a problem Point 2 is that we have a problem 2 Point 3 is that we have a problem 3 pasting it into a Wiki page gives us Point 1 is that we have a problem Point 2 is that we have a problem 2 Point 3 is that we have a problem 3 which is fine as there no recognized [[BR]] However then we try to make this a bulleted list starting with * Point 1 is that we have a problem Point 2 is that we have a problem 2 Point 3 is that we have a problem 3 we then press enter at then end of the first "problem" in the text and so on until we have * Point 1 is that we have a problem * Point 2 is that we have a problem 2 * Point 3 is that we have a problem 3 everything looks fine and we save the results and then we are left with * * * All the text has been wiped! Has anybody else had this problem, is this a bug in the MoinMoin wiki? thanks, Peter From tw-public at gmx.de Wed Jun 14 06:33:58 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 14 Jun 2006 12:33:58 +0200 Subject: [Moin-user] data loss, recovery from backup In-Reply-To: References: Message-ID: <448FE616.5020207@gmx.de> Moin Ted, >> I have a standalone wiki farm running like this: >> >> /share/moin/farm/{wiki1,wiki2} >> /{config,data,htdocs,server,underlay} >> >> I lost most of the changes over 3 weeks under the farm directory and >> restored it from a backup. >> >> For one of the farm wikis, the RecentChanges is just fine, showing all >> changes up to the backup time. >> >> For the other wiki, RecentChanges is completely empty, and some files >> under the data/pages directory appear to have recent revisions but >> they are not visible in the wiki. >> >> Is there a way to regenerate the cache so I can see the more recent >> pages? >> >> Ted >> > > An update to the situation -- The backup appears to have been > incremental, so now I've restored the June 8 version on top of the May > 22 version. > > After that I have a RecentChanges with info up to May 22. > > Changes between May 22 and June 8 are not seen, RecentChanges is made from the global data/edit-log. If it doesn't show changes, you didn't have a current copy or your edit-log was damaged/incomplete somehow. > but the individual > pages have the correct contents with appropriate history. There was > one page that lost the revision history, but I was able to manually > recover the appropriate revision file. > > So at this point it would be nice to regenerate RecentChanges but it > is not necessary. > I don't think there is a script for that yet, but all information written to data/edit-log also gets written to the local data/pages/PageName/edit-log. So if you make some python script iterating over all pages collecting change entries (you could even read global edit-log and remove dupes, in case some page history data is also damaged), sorting by timestamp and writing to a newly created global edit-log, you could re-generate global edit-log, I guess. Thomas From mehdi.public at gmail.com Wed Jun 14 09:03:04 2006 From: mehdi.public at gmail.com (Mehdi Hassanpour) Date: Wed, 14 Jun 2006 16:33:04 +0330 Subject: [Moin-user] page hits shows wrong info ? Message-ID: <1abd6b930606140603h255b1b45i237730a273ece091@mail.gmail.com> Hi list, Have a look at this page: http://moinmoin.wikiwikiweb.de/MoinMoinWiki?action=info&hitcounts=1 See it shows hits info for random days... I have the same prob in our wiki -- ******************************************************** Yours Sincerely, Mehdi Hassanpour ---------------------------------------------------------------------- /* Of one Essence is the human race, Thusly has Creation put the Base; One Limb impacted is sufficient, For all Others to feel the Mace. ~Saadi (persian poet) -1258 */ ---------------------------------------------------------------------- http://ImPersian.com | http://Hezardastan.org ******************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From dodecatheon at gmail.com Wed Jun 14 12:33:52 2006 From: dodecatheon at gmail.com (Ted Stern) Date: Wed, 14 Jun 2006 09:33:52 -0700 Subject: [Moin-user] data loss, recovery from backup In-Reply-To: <448FE616.5020207@gmx.de> (Thomas Waldmann's message of "Wed, 14 Jun 2006 12:33:58 +0200") References: <448FE616.5020207@gmx.de> Message-ID: On 14 Jun 2006 03:33:58 -0700, Thomas Waldmann wrote: > > So if you make some python script iterating over all pages collecting > change entries (you could even read global edit-log and remove dupes, > in case some page history data is also damaged), sorting by timestamp > and writing to a newly created global edit-log, you could re-generate > global edit-log, I guess. > > Thomas > That sounds like what I want. But I'm not a python scripter :-(. Is there a requests area? As I said, it was a backup recovery. It didn't get everything, however, so there were damaged edit-log files. Such a script would help fix things. Thanks, Ted -- dodecatheon at gmail dot com Frango ut patefaciam -- I break so that I may reveal From matthew at agrip.org.uk Wed Jun 14 15:12:19 2006 From: matthew at agrip.org.uk (Matthew T. Atkinson) Date: Wed, 14 Jun 2006 20:12:19 +0100 Subject: [Moin-user] Spam Problems -> Moderated Sign-up/Postings? Message-ID: <1150312339.3547.41.camel@localhost> I've been using Moin happily for some time now; it really is just right for me and I'm very pleased I found it (thanks!). However there have been some issues caused by the abuse of others in recent months that are spoiling the sites I host. A number of months ago I had to stop universal write access to my Wikis because of spamming and now the spammers are signing up to post their nonsense on my pages. What I would really like to know is: * Is there a moderated sign-up system/patch? * Is there a moderated postings patch? If the answer to both of those is ``no'', could someone give me an idea of where I might poke around in the code to add one? I would also like to know where I might get a Debian source package, or source distribution of Moin 1.3.5 (I think that's the latest 1.3.x release). I've looked but not found either of these things on your site or by Googling :-S. [ Re later versions: I don't need most of the new features in 1.5 (my sites are designed for blind people, who can't use the GUI editor anyway). ] Thanks very much for your time, best regards, -- Matthew T. Atkinson From xavier.pessoles at crans.org Wed Jun 14 18:35:49 2006 From: xavier.pessoles at crans.org (Xavier Pessoles) Date: Thu, 15 Jun 2006 00:35:49 +0200 Subject: [Moin-user] Group & ACL Message-ID: <44908F45.5020002@crans.org> Hi I would like to know if it is possible to use acl for groups : - I would like to create a page name Group1 - In the page Group1 I inscribe a list of user - All the member of Group1 has several rights on several pages. I hope the question is understandable. Thanks for your help. (Wiki version 1.5.3-1 on debian etch) -- Xavier Pessoles From moin.askthem at gmail.com Wed Jun 14 21:27:46 2006 From: moin.askthem at gmail.com (Arp) Date: Thu, 15 Jun 2006 03:27:46 +0200 Subject: [Moin-user] Group & ACL In-Reply-To: <44908F45.5020002@crans.org> References: <44908F45.5020002@crans.org> Message-ID: <4910b3df0606141827w29531295g78275655aa64ebb@mail.gmail.com> Hi Xavier, > I would like to know if it is possible to use acl for groups : > - I would like to create a page name Group1 > - In the page Group1 I inscribe a list of user > - All the member of Group1 has several rights on several pages. This is exactly what ACLs are designed to do, but please note that you may have a problem with the name Group1 depending of the setting of the variable page_group_regex in wikiconfig.py (or other config file). I think the standard setting is: page_group_regex = u'[a-z0-9]Group$' That means any pagename ending in "Group", so "Group1" does NOT match, but something like MyFirstGroup _does_ match. Did you find http://moinmoin.wikiwikiweb.de/HelpOnAccessControlLists ?? After you create the proper group file you can then either set the acl for that group on a per page basis or assign global rights to the group with the acl_rights_xxxxx settings in your config file. Does that answer your question? Saludos -- Arp From tavasti at tavastisolutions.com Wed Jun 14 23:17:04 2006 From: tavasti at tavastisolutions.com (Markku Tavasti) Date: Thu, 15 Jun 2006 06:17:04 +0300 Subject: [Moin-user] data loss, recovery from backup In-Reply-To: (Ted Stern's message of "Wed, 14 Jun 2006 09:33:52 -0700") References: <448FE616.5020207@gmx.de> Message-ID: Ted Stern writes: > That sounds like what I want. But I'm not a python scripter :-(. > Is there a requests area? I had quick look at it. I don't see any reason why it had to be python. perl is fine also. I guess just concatenating all edit-log files, and sorting all entries. If entries would be 1 line/record, then simple shell scripti could be done, but they are 2 lines/record, so 'sort' command could not handle it. -- M. Tavasti / tavasti at tavastisolutions.com / +358-40-5078254 From tavasti at tavastisolutions.com Wed Jun 14 23:19:59 2006 From: tavasti at tavastisolutions.com (Markku Tavasti) Date: Thu, 15 Jun 2006 06:19:59 +0300 Subject: [Moin-user] Spam Problems -> Moderated Sign-up/Postings? In-Reply-To: <1150312339.3547.41.camel@localhost> (Matthew T. Atkinson's message of "Wed, 14 Jun 2006 20:12:19 +0100") References: <1150312339.3547.41.camel@localhost> Message-ID: "Matthew T. Atkinson" writes: > A number of months ago I had to stop universal write access to my Wikis > because of spamming and now the spammers are signing up to post their > nonsense on my pages. What I would really like to know is: > > * Is there a moderated sign-up system/patch? Allow writing to your pages to some specific group, and add wanted users to that group. -- M. Tavasti / tavasti at tavastisolutions.com / +358-40-5078254 From tw-public at gmx.de Thu Jun 15 11:17:52 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 15 Jun 2006 17:17:52 +0200 Subject: [Moin-user] Spam Problems -> Moderated Sign-up/Postings? In-Reply-To: <1150312339.3547.41.camel@localhost> References: <1150312339.3547.41.camel@localhost> Message-ID: <44917A20.2070908@gmx.de> > A number of months ago I had to stop universal write access to my Wikis > because of spamming and now the spammers are signing up to post their > nonsense on my pages. Do you have antispam security policy active? That should keep most of the spam out, so that the rest is easily handled by revert or despam action. > What I would really like to know is: > > * Is there a moderated sign-up system/patch? > * Is there a moderated postings patch? > No, but there are groups of users as already suggested. > If the answer to both of those is ``no'', could someone give me an idea > of where I might poke around in the code to add one? > I guess that would be much work and less effective than using antispam or groups. > I would also like to know where I might get a Debian source package, or > source distribution of Moin 1.3.5 (I think that's the latest 1.3.x > release). I've looked but not found either of these things on your site > or by Googling :-S. > > [ Re later versions: I don't need most of the new features in 1.5 (my > sites are designed for blind people, who can't use the GUI editor > anyway). ] > Well, we also did bug fixes and you can disable the gui editor. If you don't find a recent debian package: it is easy to install moin from distribution archive by just using python setup.py install, so you can use whatever version you want. From mehdi.public at gmail.com Thu Jun 15 15:33:37 2006 From: mehdi.public at gmail.com (Mehdi Hassanpour) Date: Thu, 15 Jun 2006 23:03:37 +0330 Subject: [Moin-user] [Moin-User] MoinMoin with phpbb Message-ID: <1abd6b930606151233q67894825p217be75e0bd60351@mail.gmail.com> Hi, Is it possible to have same users or database of users and aauthentication for MoinMoin wiki and phpbb or pnphpbb or another forum solution ? We would like to have a forum beside our wiki and it's better to have a centerlized authentication... Thanks -- ******************************************************** Yours Sincerely, Mehdi Hassanpour ---------------------------------------------------------------------- /* Of one Essence is the human race, Thusly has Creation put the Base; One Limb impacted is sufficient, For all Others to feel the Mace. ~Saadi (persian poet) -1258 */ ---------------------------------------------------------------------- http://ImPersian.com | http://Hezardastan.org ******************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From xavier.pessoles at crans.org Thu Jun 15 17:52:27 2006 From: xavier.pessoles at crans.org (Xavier Pessoles) Date: Thu, 15 Jun 2006 23:52:27 +0200 Subject: [Moin-user] Group & ACL In-Reply-To: <44908F45.5020002@crans.org> References: <44908F45.5020002@crans.org> Message-ID: <4491D69B.1050408@crans.org> Xavier Pessoles a ?crit : > Hi > I would like to know if it is possible to use acl for groups : > - I would like to create a page name Group1 > - In the page Group1 I inscribe a list of user > - All the member of Group1 has several rights on several pages. > I hope the question is understandable. > Thanks for your help. > (Wiki version 1.5.3-1 on debian etch) Thank you for your help ! Every thing is ok ! -- Xavier Pessoles From 2006a at usenet.alexanderweb.de Fri Jun 16 20:14:20 2006 From: 2006a at usenet.alexanderweb.de (Alexander Schremmer) Date: Sat, 17 Jun 2006 02:14:20 +0200 Subject: [Moin-user] data loss, recovery from backup References: <448FE616.5020207@gmx.de> Message-ID: On Thu, 15 Jun 2006 06:17:04 +0300, Markku Tavasti wrote: > perl is fine also. No, its not :) > I guess just concatenating all edit-log > files, and sorting all entries. If entries would be 1 line/record, > then simple shell scripti could be done, but they are 2 lines/record, > so 'sort' command could not handle it. No, they are not. cat data/pages/**/edit-log | sort > data/edit-log should do the job using zsh. Kind regards, Alexander From subscriptions at smart-knowhow.de Sat Jun 17 07:18:27 2006 From: subscriptions at smart-knowhow.de (Andrew Smart) Date: Sat, 17 Jun 2006 13:18:27 +0200 Subject: [Moin-user] Question WikiFarm: linking across wiki's Message-ID: <0ML21M-1FrYqj3GOd-0000rO@mrelayeu.kundenserver.de> Hi, I setup various wikis within a wikifarm - and I want to link from one wiki into the other. Is there a syntax for such links? Or do I have to use http:// - links? I browsed the interwiki stuff, but for that you'll have to make the wiki's public - since they are on my desktop engine this won't work... ;-) I'm also interested into [[including]] wiki pages from other wikis in the farm. Does the include work there? Regards, Andrew Smart From matthew.brett at gmail.com Sat Jun 17 07:26:06 2006 From: matthew.brett at gmail.com (Matthew Brett) Date: Sat, 17 Jun 2006 12:26:06 +0100 Subject: [Moin-user] ImageLink fix 20060509 broken? Message-ID: <1e2af89e0606170426o1837427buba2dfb04e1dff088@mail.gmail.com> Hi, I uploaded the patched version of ImageLink.py for 20060509: http://moinmoin.wikiwikiweb.de/MoinMoinBugs/ImageLinkToAttachmentBroken?action=AttachFile&do=get&target=ImageLink.py.20060509 When this is installed, the macro mangles the image URL using taintfilename, so that the image URL is no longer valid (line 129): image = wikiutil.taintfilename(args[0]) The result is that the following moin text: [[ImageLink(http://moinmaster.wikiwikiweb.de:8000/wiki/common/moindude.png)]] results in moin display of: Upload new attachment "http___moinmaster.wikiwikiweb.de_8000_wiki_common_moindude.png" Changing line 129 back to: image = args[0] fixes this, but I wasn't clear what the cleanest fix would be, Thanks a lot, Matthew From rux.li3 at gmail.com Mon Jun 19 01:19:28 2006 From: rux.li3 at gmail.com (Rux Li) Date: Mon, 19 Jun 2006 13:19:28 +0800 Subject: [Moin-user] Question WikiFarm: linking across wiki's In-Reply-To: <0ML21M-1FrYqj3GOd-0000rO@mrelayeu.kundenserver.de> References: <0ML21M-1FrYqj3GOd-0000rO@mrelayeu.kundenserver.de> Message-ID: Interwiki should satisfy your need, even on your desktop engine. Just edit intermap.txt. On 6/17/06, Andrew Smart wrote: > > Hi, > > I setup various wikis within a wikifarm - and I want to link from one wiki > into the other. Is there a syntax for such links? Or do I have to use > http:// - links? I browsed the interwiki stuff, but for that you'll have > to > make the wiki's public - since they are on my desktop engine this won't > work... ;-) > > I'm also interested into [[including]] wiki pages from other wikis in the > farm. Does the include work there? > > Regards, > Andrew Smart > > > > _______________________________________________ > 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 soloturn at gmail.com Mon Jun 19 03:44:24 2006 From: soloturn at gmail.com (solo turn) Date: Mon, 19 Jun 2006 09:44:24 +0200 Subject: [Moin-user] reuse "how to integrate gui editor" within edgewall trac Message-ID: hi, would it be possible to reuse how moinmoin included the gui editor to include it into edgewall trac? the wiki syntax seems to be sufficiently close. some discussion: * http://projects.edgewall.com/trac/wiki/WysiWyg * http://projects.edgewall.com/trac/ticket/2890 if yes, what would be the best starting point in the code? -solo. From tw-public at gmx.de Mon Jun 19 07:01:08 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 19 Jun 2006 13:01:08 +0200 Subject: [Moin-user] [Moin-User] MoinMoin with phpbb In-Reply-To: <1abd6b930606151233q67894825p217be75e0bd60351@mail.gmail.com> References: <1abd6b930606151233q67894825p217be75e0bd60351@mail.gmail.com> Message-ID: <449683F4.7050007@gmx.de> > Is it possible to have same users or database of users and > aauthentication > for MoinMoin wiki and phpbb or pnphpbb or another forum solution ? We > would > like to have a forum beside our wiki and it's better to have a > centerlized > authentication... Look at MoinMoin/auth.py (moin 1.5.3) if you find something useful there. From tw-public at gmx.de Mon Jun 19 07:15:27 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 19 Jun 2006 13:15:27 +0200 Subject: [Moin-user] Important note about bug reports / patches / feature requests etc. Message-ID: <4496874F.4090500@gmx.de> Bug reports, patches and feature requests should be posted and discussed on the wiki ONLY. See here: http://moinmoin.wikiwikiweb.de/MoinMoinBugs http://moinmoin.wikiwikiweb.de/MoinMoinPatch http://moinmoin.wikiwikiweb.de/FeatureRequests Also, if you see a bug there and you have additional infos about it (e.g. has been fixed, but not marked as fixed - or has been marked as fixed in some version, but still happens for you although you use a more recent version - or you just have additional data about it), just add them there. The more infos we have, the more likely it is that it will get fixed (esp. if there is some note about "can't reproduce"). Don't expect the core developers reading through the mailing list again and again searching for bug reports or patches or copying bug reports from here to the wiki for you. From dodecatheon at gmail.com Mon Jun 19 13:14:13 2006 From: dodecatheon at gmail.com (Ted Stern) Date: Mon, 19 Jun 2006 10:14:13 -0700 Subject: [Moin-user] Question WikiFarm: linking across wiki's References: <0ML21M-1FrYqj3GOd-0000rO@mrelayeu.kundenserver.de> Message-ID: On 17 Jun 2006 04:18:27 -0700, Andrew Smart wrote: > > Hi, > > I setup various wikis within a wikifarm - and I want to link from > one wiki into the other. Is there a syntax for such links? Or do I > have to use http:// - links? I browsed the interwiki stuff, but for > that you'll have to make the wiki's public - since they are on my > desktop engine this won't work... ;-) > > I'm also interested into [[including]] wiki pages from other wikis in the > farm. Does the include work there? > > Regards, > Andrew Smart In farmconfig.py: shared_intermap = '/path/to/farm/common/intermap.txt' show_interwiki = 1 In the ExampleWiki.py: interwiki_name = 'ExampleWiki' In /path/to/farm/common/intermap.txt: ExampleWiki http://examplewiki.org:8000/ If you have managed to get your farm working without DNS aliasing, congratulations! And tell me how you did it :-). MoinMoin format in a wiki page: [wiki:ExampleWiki/MainPage ExampleWiki] MoinMoin folks: would it be too much to ask to document all of this in one place somewhere? It's kind of spread out at the moment. Ted -- dodecatheon at gmail dot com Frango ut patefaciam -- I break so that I may reveal From domma at procoders.net Tue Jun 20 08:44:23 2006 From: domma at procoders.net (Achim Domma) Date: Tue, 20 Jun 2006 14:44:23 +0200 Subject: [Moin-user] Time estimations on wiki page Message-ID: <4497EDA7.70903@procoders.net> Hi, I have a project description on a wiki page and want to add estimations to some paragraphs and want to display a summary at the top (or bottom) of the page. I think about multiple [[estimation(3)]] on a page and [[estimation_summary]] to display the summary. I'm a python developer and I understand how to write macros, but I need some place to store the estimation data to be evaluated by estimation_summary. Any hint where to store this kind of data? A pointer to source code is also ok. regards, Achim PS.: I'm already waiting to here your talk at Europython 2006! From nirs at freeshell.org Tue Jun 20 17:39:02 2006 From: nirs at freeshell.org (Nir Soffer) Date: Wed, 21 Jun 2006 00:39:02 +0300 Subject: [Moin-user] Time estimations on wiki page In-Reply-To: <4497EDA7.70903@procoders.net> References: <4497EDA7.70903@procoders.net> Message-ID: On 20/06/2006, at 15:44, Achim Domma wrote: > I have a project description on a wiki page and want to add > estimations > to some paragraphs and want to display a summary at the top (or > bottom) > of the page. I think about multiple [[estimation(3)]] on a page and > [[estimation_summary]] to display the summary. > > I'm a python developer and I understand how to write macros, but I > need > some place to store the estimation data to be evaluated by > estimation_summary. > > Any hint where to store this kind of data? A pointer to source code is > also ok. You can write a parser that collect stuff in the text and write the total at the top/bottom. You can use SectionParser as template for such parser. The parser can collect the interesting text, then delegate the parsing to the real parser of the page, e.g. wiki parser. If you want to write the summary on the top, you will have to cache the page output and write it only after all the page is parsed. Best Regards, Nir Soffer -------------- next part -------------- An HTML attachment was scrubbed... URL: From theller at python.net Wed Jun 21 12:46:05 2006 From: theller at python.net (Thomas Heller) Date: Wed, 21 Jun 2006 18:46:05 +0200 Subject: [Moin-user] Need help with py2exe-wiki Message-ID: I've always tried to keep up with spam in the py2exe-wiki: http://starship.python.net/crew/theller/moin.cgi/FrontPage reverting spam changes as soon as I see it. Then, I inserted the ip-address of the spammers into the hosts_deny list in the moin_config.py file. So far, it has worked well with not too large effort. Now, it seems that the same spammer, coming from a different IP address, managed to make the frontpage write protected. I' do not know how this can be reverted - the moinmoin instance that runs is very old. Probably the best solution would be to upgrade to a newer version, but I hope the new py2exe-maintainer can supply his own wiki now. Is there a chance to make the whole wiki write protected, so that nobody can change it any more? Thomas From Mark.Martinec at ijs.si Wed Jun 21 13:56:43 2006 From: Mark.Martinec at ijs.si (Mark Martinec) Date: Wed, 21 Jun 2006 19:56:43 +0200 Subject: [Moin-user] Link to user preferences encoding problem? Message-ID: <200606211956.43882.Mark.Martinec@ijs.si> I would appreciate a hint on whether the following is a translation problem or a bug in Moin. I reported it in April, and is still easily reproducible on the moin home wiki http://moinmoin.wikiwikiweb.de/MoinMoinWiki as well as on our locally run wiki (1.5.3). A logged-in user having a Slovenian language chosen (sloven??ina), sees the following as a plain text (looks like raw html) after his username in the header division of the default 'modern' theme (also in the rightsidebar theme in the 'User' menu): Uporabni?keNastavitve The corresponding section of the HTML page source is: To reproduce: after being logged-in to http://moinmoin.wikiwikiweb.de/MoinMoinWiki go to user preferences and choose language 'sloven??ina'; the go to any page and admire the top of the page. Mark From tw-public at gmx.de Thu Jun 22 08:43:50 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 22 Jun 2006 14:43:50 +0200 Subject: [Moin-user] Need help with py2exe-wiki In-Reply-To: References: Message-ID: <449A9086.9090006@gmx.de> > Then, I inserted the ip-address of the spammers into the hosts_deny list in the > moin_config.py file. > This is the wrong approach. And ineffective as you've seen. But as of moin 1.1 there wasn't much else. Running a non-stoneage moin version would really help you because of the antispam feature in it. I suggest you first look for a newer python on that machine. A machine called starship.python.net should have something newer than 2.2.3 for sure. :) After you have located Python >=2.3 (if you install it, just use latest release), you can upgrade your moin to 1.5.3 (soon 1.5.4) and have much less trouble. Take time for reading docs/*, esp. the migration readme. Join #moin when you do the migration. Have backups. > Probably the best solution would be to upgrade to a newer version, > Indeed. > but I hope the new py2exe-maintainer can supply his own wiki now. > > Is there a chance to make the whole wiki write protected, so that nobody > can change it any more? > That would be a bad solution. It just needs some care, not closing it. From bryan.wiersma at ngc.com Mon Jun 26 17:27:23 2006 From: bryan.wiersma at ngc.com (Wiersma, Bryan L.) Date: Mon, 26 Jun 2006 15:27:23 -0600 Subject: [Moin-user] Configuration issue? Message-ID: <25FB7FBD7AA56143B7810F2565752CBE4F4B59@xmbco401.northgrum.com> I have installed the latest moinmoin version 1.5.3...however I seem to have a configuration issue that keeps me from creating new pages... If I do the wiki link to the new page, or type in the url of the page I want to create I simply get a page not found error instead of a template selection page for creating the new page... I have verified that I am superuser in the config file... What have I done wrong? Blw -------------- next part -------------- An HTML attachment was scrubbed... URL: From robert at cantab.net Tue Jun 27 04:35:48 2006 From: robert at cantab.net (Robert Schumann) Date: Tue, 27 Jun 2006 09:35:48 +0100 Subject: [Moin-user] Configuration issue? In-Reply-To: <25FB7FBD7AA56143B7810F2565752CBE4F4B59@xmbco401.northgrum.com> References: <25FB7FBD7AA56143B7810F2565752CBE4F4B59@xmbco401.northgrum.com> Message-ID: <1151397348.5049.35.camel@everland> On Mon, 2006-06-26 at 15:27 -0600, Wiersma, Bryan L. wrote: > I have installed the latest moinmoin version 1.5.3?however I seem to > have a configuration issue that keeps me from creating new pages? If I > do the wiki link to the new page, or type in the url of the page I > want to create I simply get a page not found error instead of a > template selection page for creating the new page? > > I have verified that I am superuser in the config file... > What have I done wrong? More information would be useful here; are you using the Desktop or Server edition? Is the site on the internet, in which case we can take a look at the problem? Are you using Apache or IIS, and what sort of configuration are you using (ScriptAlias or RewriteRule, moin.cgi or farmconfig)? It sounds like a web server misconfiguration; if by "page not found" you mean a 404 error from the web server, then it's obviously not passing on requests to moin.cgi or else it is asking for the wrong page. It is difficult to diagnose without further info. Robert. From tw-public at gmx.de Tue Jun 27 06:05:34 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 27 Jun 2006 12:05:34 +0200 Subject: [Moin-user] Configuration issue? In-Reply-To: <25FB7FBD7AA56143B7810F2565752CBE4F4B59@xmbco401.northgrum.com> References: <25FB7FBD7AA56143B7810F2565752CBE4F4B59@xmbco401.northgrum.com> Message-ID: <44A102EE.1060607@gmx.de> Wiersma, Bryan L. wrote: > I have installed the latest moinmoin version 1.5.3...however I seem to > have a configuration issue that keeps me from creating new pages... If I > do the wiki link to the new page, or type in the url of the page I want > to create I simply get a page not found error instead of a template > selection page for creating the new page... > I have verified that I am superuser in the config file... > That has nothing to do with superuser or not. > What have I done wrong? > Maybe you have chosen the wrong web server. :) MS IIS in its (wrong) default configuration shows you its own 404 error messages instead of the html the moin cgi sends. Search the wiki for details about this, it is documented how to configure IIS correctly. From bryan.wiersma at ngc.com Tue Jun 27 09:58:43 2006 From: bryan.wiersma at ngc.com (Wiersma, Bryan L.) Date: Tue, 27 Jun 2006 07:58:43 -0600 Subject: [Moin-user] Configuration issue? In-Reply-To: <1151397348.5049.35.camel@everland> Message-ID: <25FB7FBD7AA56143B7810F2565752CBE4F4BDE@xmbco401.northgrum.com> Robert, I am using the server edition. Unfortunately the site is on the Intranet and I am unable to make it available for you to look at. I am on IIS and using Moin.cgi I am able to view the default pages so it seems that the server is finding Moin.cgi. /mywiki/moin.cgi/FrontPage - works /mywiki/moin.cgi/HomePageTemplate - works etc... If I do /mywiki/moin.cgi/ANewPage I get a page not found error However, if I enter /mywiki/moin.cgi/ANewPage?action=edit I get a new empty page in the edit window Seems it may have something more to do with the page Templates? Thanks again, Bryan Bryan L. Wiersma Software Engineering Section Manager Northrop Grumman/TASC, Huntsville Office: (256) 213-5441 Fax: (256) 883-0212 Email: bryan.wiersma at ngc.com -----Original Message----- From: Robert Schumann [mailto:robert at cantab.net] Sent: Tuesday, June 27, 2006 3:36 AM To: Wiersma, Bryan L. Cc: moin-user at lists.sourceforge.net Subject: Re: [Moin-user] Configuration issue? On Mon, 2006-06-26 at 15:27 -0600, Wiersma, Bryan L. wrote: > I have installed the latest moinmoin version 1.5.3...however I seem to > have a configuration issue that keeps me from creating new pages... If I > do the wiki link to the new page, or type in the url of the page I > want to create I simply get a page not found error instead of a > template selection page for creating the new page... > > I have verified that I am superuser in the config file... > What have I done wrong? More information would be useful here; are you using the Desktop or Server edition? Is the site on the internet, in which case we can take a look at the problem? Are you using Apache or IIS, and what sort of configuration are you using (ScriptAlias or RewriteRule, moin.cgi or farmconfig)? It sounds like a web server misconfiguration; if by "page not found" you mean a 404 error from the web server, then it's obviously not passing on requests to moin.cgi or else it is asking for the wrong page. It is difficult to diagnose without further info. Robert. From bryan.wiersma at ngc.com Tue Jun 27 11:40:13 2006 From: bryan.wiersma at ngc.com (Wiersma, Bryan L.) Date: Tue, 27 Jun 2006 09:40:13 -0600 Subject: [Moin-user] Configuration issue? In-Reply-To: <1151397348.5049.35.camel@everland> Message-ID: <25FB7FBD7AA56143B7810F2565752CBE4F4C66@xmbco401.northgrum.com> I also get this in the error log when I try to access a nonexistent page to create it.. [Tue Jun 27 10:37:51 2006] IOError: [Errno 22] Invalid argument Traceback (most recent call last): File "C:\moin\mywiki\moin.cgi", line 42, in ? request.run() File "C:\Python24\Lib\site-packages\MoinMoin\request.py", line 1178, in run self.fail(err) File "C:\Python24\Lib\site-packages\MoinMoin\request.py", line 1212, in fail failure.handle(self) File "C:\Python24\Lib\site-packages\MoinMoin\failure.py", line 145, in handle request.write('
\n')
  File "C:\Python24\Lib\site-packages\MoinMoin\request.py", line 1398,
in write
    sys.stdout.write(self.encode(data))
IOError: [Errno 22] Invalid argument


 


Bryan L. Wiersma
Software Engineering Section Manager
Northrop Grumman/TASC, Huntsville
Office: (256) 213-5441
Fax: (256) 883-0212
Email: bryan.wiersma at ngc.com

-----Original Message-----
From: Robert Schumann [mailto:robert at cantab.net] 
Sent: Tuesday, June 27, 2006 3:36 AM
To: Wiersma, Bryan L.
Cc: moin-user at lists.sourceforge.net
Subject: Re: [Moin-user] Configuration issue?

On Mon, 2006-06-26 at 15:27 -0600, Wiersma, Bryan L. wrote:
> I have installed the latest moinmoin version 1.5.3...however I seem to

> have a configuration issue that keeps me from creating new pages... If
I 
> do the wiki link to the new page, or type in the url of the page I 
> want to create I simply get a page not found error instead of a 
> template selection page for creating the new page...
> 
> I have verified that I am superuser in the config file... 
> What have I done wrong?

More information would be useful here; are you using the Desktop or
Server edition?  Is the site on the internet, in which case we can take
a look at the problem?  Are you using Apache or IIS, and what sort of
configuration are you using (ScriptAlias or RewriteRule, moin.cgi or
farmconfig)?

It sounds like a web server misconfiguration; if by "page not found" you
mean a 404 error from the web server, then it's obviously not passing on
requests to moin.cgi or else it is asking for the wrong page.  It is
difficult to diagnose without further info.

Robert.





From tw-public at gmx.de  Tue Jun 27 13:38:13 2006
From: tw-public at gmx.de (Thomas Waldmann)
Date: Tue, 27 Jun 2006 19:38:13 +0200
Subject: [Moin-user] Configuration issue?
In-Reply-To: <25FB7FBD7AA56143B7810F2565752CBE4F4C66@xmbco401.northgrum.com>
References: <25FB7FBD7AA56143B7810F2565752CBE4F4C66@xmbco401.northgrum.com>
Message-ID: <44A16D05.6090109@gmx.de>

Wiersma, Bryan L. wrote:
> I also get this in the error log when I try to access a nonexistent page
> to create it..
>
> [Tue Jun 27 10:37:51 2006] IOError: [Errno 22] Invalid argument
> Traceback (most recent call last):
>   File "C:\moin\mywiki\moin.cgi", line 42, in ?
>     request.run()
>   File "C:\Python24\Lib\site-packages\MoinMoin\request.py", line 1178,
> in run
>     self.fail(err)
>   File "C:\Python24\Lib\site-packages\MoinMoin\request.py", line 1212,
> in fail
>     failure.handle(self)             
>   File "C:\Python24\Lib\site-packages\MoinMoin\failure.py", line 145, in
> handle
>     request.write('
\n')
>   File "C:\Python24\Lib\site-packages\MoinMoin\request.py", line 1398,
> in write
>     sys.stdout.write(self.encode(data))
> IOError: [Errno 22] Invalid argument
>   
Maybe first fix the IIS issue (see my last post) and look if you still 
get those error log entries.





From matthew.brett at gmail.com  Thu Jun 29 11:00:57 2006
From: matthew.brett at gmail.com (Matthew Brett)
Date: Thu, 29 Jun 2006 16:00:57 +0100
Subject: [Moin-user] Could not load Config in wiki farm
Message-ID: <1e2af89e0606290800u16286c63na3e42f4d6265d89d@mail.gmail.com>

Hi,

I have a wikifarm setup, here:

http://imaging.mrc-cbu.cam.ac.uk/lug
http://imaging.mrc-cbu.cam.ac.uk/mri
http://imaging.mrc-cbu.cam.ac.uk/imaging

I have just tried to add a new wiki to this farm

http://imaging.mrc-cbu.cam.ac.uk/stats

However, I get a "Could not find required "Config" class in "stats.py"
- reproducible by going to the link above.

All the other wikis are working fine.  I have attached my
farmconfig.py file, and stats.py file, which is identical (barring
string edits) to (e.g.) the mri.py file for the 'mri' wiki.

I have checked that stats.py file imports with the path set correctly
as the apache user, the error page reports I am finding the correct
python version and have the path set correctly, and I don't have more
ideas how to debug this problem.  Any thoughts?

Best,

Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: farmconfig.py
Type: text/x-python
Size: 6898 bytes
Desc: not available
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stats.py
Type: text/x-python
Size: 416 bytes
Desc: not available
URL: 

From rux.li3 at gmail.com  Thu Jun 29 22:57:51 2006
From: rux.li3 at gmail.com (Rux Li)
Date: Fri, 30 Jun 2006 10:57:51 +0800
Subject: [Moin-user] Could not load Config in wiki farm
In-Reply-To: <1e2af89e0606290800u16286c63na3e42f4d6265d89d@mail.gmail.com>
References: <1e2af89e0606290800u16286c63na3e42f4d6265d89d@mail.gmail.com>
Message-ID: 

I thought you should compare the difference between stats.py and lug.py.

I guess stats.py should be something like:

{{{
from MoinMoin.multiconfig import DefaultConfig
class Config(DefaultConfig):
...
}}}

On 6/29/06, Matthew Brett  wrote:
>
> Hi,
>
> I have a wikifarm setup, here:
>
> http://imaging.mrc-cbu.cam.ac.uk/lug
> http://imaging.mrc-cbu.cam.ac.uk/mri
> http://imaging.mrc-cbu.cam.ac.uk/imaging
>
> I have just tried to add a new wiki to this farm
>
> http://imaging.mrc-cbu.cam.ac.uk/stats
>
> However, I get a "Could not find required "Config" class in "stats.py"
> - reproducible by going to the link above.
>
> All the other wikis are working fine.  I have attached my
> farmconfig.py file, and stats.py file, which is identical (barring
> string edits) to (e.g.) the mri.py file for the 'mri' wiki.
>
> I have checked that stats.py file imports with the path set correctly
> as the apache user, the error page reports I am finding the correct
> python version and have the path set correctly, and I don't have more
> ideas how to debug this problem.  Any thoughts?
>
> Best,
>
> Matthew
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> _______________________________________________
> 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 matthew.brett at gmail.com  Fri Jun 30 03:06:10 2006
From: matthew.brett at gmail.com (Matthew Brett)
Date: Fri, 30 Jun 2006 08:06:10 +0100
Subject: [Moin-user] Could not load Config in wiki farm
In-Reply-To: 
References: <1e2af89e0606290800u16286c63na3e42f4d6265d89d@mail.gmail.com>
	
Message-ID: <1e2af89e0606300006m715ae377vbfad7eb0e2d19e88@mail.gmail.com>

Hi,

Thanks for the suggestion.

On 6/30/06, Rux Li  wrote:
> I thought you should compare the difference between stats.py and lug.py.

They are identical apart from the string definitions.  I have also
tried an identical copy of a working config, such as mri.py (which
would obviously point to the mri wiki), but get the same error.

The stats.py file, as all the other wiki configs in the farm, begin:

from farmconfig import FarmConfig
class Config(FarmConfig):

Best,

Matthew



From robert at cantab.net  Fri Jun 30 06:12:18 2006
From: robert at cantab.net (Robert Schumann)
Date: Fri, 30 Jun 2006 11:12:18 +0100
Subject: [Moin-user] Could not load Config in wiki farm
In-Reply-To: <1e2af89e0606300006m715ae377vbfad7eb0e2d19e88@mail.gmail.com>
References: <1e2af89e0606290800u16286c63na3e42f4d6265d89d@mail.gmail.com>
	
	<1e2af89e0606300006m715ae377vbfad7eb0e2d19e88@mail.gmail.com>
Message-ID: <1151662339.5046.22.camel@everland>

On Fri, 2006-06-30 at 08:06 +0100, Matthew Brett wrote:
> Hi,
> 
> Thanks for the suggestion.

I share your bafflement.  Here's all the troubleshooting I can think of.

What happens if you delete stats.py completely?  Do you get the same
error or does it complain about a missing file?

What happens if you remove one of the other wikis from the wikis
variable in farmconfig.py?

Is there perhaps a problem with the regexp "stats" (perhaps an existing
directory) - do you still get the problem if you substitute stats ->
foobar?

Robert.

> 
> On 6/30/06, Rux Li  wrote:
> > I thought you should compare the difference between stats.py and lug.py.
> 
> They are identical apart from the string definitions.  I have also
> tried an identical copy of a working config, such as mri.py (which
> would obviously point to the mri wiki), but get the same error.
> 
> The stats.py file, as all the other wiki configs in the farm, begin:
> 
> from farmconfig import FarmConfig
> class Config(FarmConfig):
> 
> Best,
> 
> Matthew





From tw-public at gmx.de  Fri Jun 30 06:30:13 2006
From: tw-public at gmx.de (Thomas Waldmann)
Date: Fri, 30 Jun 2006 12:30:13 +0200
Subject: [Moin-user] Could not load Config in wiki farm
In-Reply-To: <1e2af89e0606290800u16286c63na3e42f4d6265d89d@mail.gmail.com>
References: <1e2af89e0606290800u16286c63na3e42f4d6265d89d@mail.gmail.com>
Message-ID: <44A4FD35.7020906@gmx.de>


> However, I get a "Could not find required "Config" class in "stats.py"
> - reproducible by going to the link above.
I couldn't see an obvious error in your config.

The error message you got is caused by a Python "AttributeError" - this 
is usually caused by some attribute being accessed, but not been defined 
before.

If you can't find the error with this information, you can hack 
MoinMoin/multiconfig.py to get more information:

Go to function _makeConfig(name).

See "except AttributeError" (and the error msg you got is below that).

Replace that code by something like (indent correctly as it was!):

    except AttributeError, err:
        msg = '''%(err)s
... (keep old text)
''' % {'name': name, 'err': err, }
        raise error.ConfigurationError(msg)

That should give you more information in the error msg you get.

Either it is a subtle bug in your configuration or in our error handling 
(maybe just something else triggers an AttributeError there).




From tw-public at gmx.de  Fri Jun 30 06:36:18 2006
From: tw-public at gmx.de (Thomas Waldmann)
Date: Fri, 30 Jun 2006 12:36:18 +0200
Subject: [Moin-user] Could not load Config in wiki farm
In-Reply-To: <1e2af89e0606290800u16286c63na3e42f4d6265d89d@mail.gmail.com>
References: <1e2af89e0606290800u16286c63na3e42f4d6265d89d@mail.gmail.com>
Message-ID: <44A4FEA2.90806@gmx.de>


>     * configClass /undefined/
>     * /builtin/ *getattr* = 
>     * *module* =        '/usr/local/lib/python2.4/site-packages/MoinMoin/stats/__init__.pyc'>
>
Matthew, this is a bug in the moin code.

You can just avoid it by not using any name that exist under MoinMoin/ 
code directory. You see above, that it confuses the moin internal stats 
module with your configuration module.

So just use something else like "statswiki.py" or "ourstats.py" for your 
stuff and it will work.

If you have time, please file a bug report about that, so we don't 
forget fixing it in 1.6.




From matthew.brett at gmail.com  Fri Jun 30 06:54:02 2006
From: matthew.brett at gmail.com (Matthew Brett)
Date: Fri, 30 Jun 2006 11:54:02 +0100
Subject: [Moin-user] Could not load Config in wiki farm
In-Reply-To: <44A4FEA2.90806@gmx.de>
References: <1e2af89e0606290800u16286c63na3e42f4d6265d89d@mail.gmail.com>
	<44A4FEA2.90806@gmx.de>
Message-ID: <1e2af89e0606300354g44e10a4cvaaae36b2bbdbcd32@mail.gmail.com>

> >     * configClass /undefined/
> >     * /builtin/ *getattr* = 
> >     * *module* =  >       '/usr/local/lib/python2.4/site-packages/MoinMoin/stats/__init__.pyc'>
> >
> Matthew, this is a bug in the moin code.
>
> You can just avoid it by not using any name that exist under MoinMoin/
> code directory. You see above, that it confuses the moin internal stats
> module with your configuration module.

Excellent - thanks very much for tracking this down.

> If you have time, please file a bug report about that, so we don't
> forget fixing it in 1.6.

I will do that now.

Many thanks,

Matthew