From shahyesha93 at gmail.com Mon Nov 4 09:46:11 2013 From: shahyesha93 at gmail.com (Yesha Shah) Date: Mon, 4 Nov 2013 20:16:11 +0530 Subject: [Moin-user] [Student] Want to start contributing to moinmoin Message-ID: Hello, I am a computer engineering student. I know Python and I would like to start contributing to moinmoin. Can you please suggest how can I get started? It would be good if you suggest me some sites to read. I did check 2 some bugs in the buglist. But then I was at a dead end about how to solve them as I don't have complete knowledge about moinmoin. Regards, Yesha -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at boddie.org.uk Mon Nov 4 10:10:20 2013 From: paul at boddie.org.uk (Paul Boddie) Date: Mon, 4 Nov 2013 16:10:20 +0100 Subject: [Moin-user] [Student] Want to start contributing to moinmoin In-Reply-To: References: Message-ID: <201311041610.21097.paul@boddie.org.uk> On Monday 4. November 2013 15.46.11 Yesha Shah wrote: > > I am a computer engineering student. I know Python and I would like to > start contributing to moinmoin. Can you please suggest how can I get > started? It would be good if you suggest me some sites to read. I did check > 2 some bugs in the buglist. But then I was at a dead end about how to solve > them as I don't have complete knowledge about moinmoin. I imagine that you're a MoinMoin user already, so perhaps one way of getting into development is to identify a need you have and then see how you might address that need with an extension like a macro, action or parser. One fairly easy starting point would be to develop a macro, just to gain confidence with how these things are written and deployed, and how they interact with the rest of the code. See the following page for some guidance: https://moinmo.in/MoinDev/CreatingMacros Once you get a macro working and see how it changes the output of a page, you will probably be able to write actions and parsers fairly easily, too. After that, you'll probably be giving us advice about Moin development. ;-) Hope this helps! Paul From tw at waldmann-edv.de Tue Nov 5 10:55:17 2013 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Tue, 05 Nov 2013 16:55:17 +0100 Subject: [Moin-user] [Student] Want to start contributing to moinmoin In-Reply-To: References: Message-ID: <527914E5.90609@waldmann-edv.de> > I am a computer engineering student. I know Python and I would like to > start contributing to moinmoin. Can you please suggest how can I get > started? Join us on IRC #moin-dev on freenode, use moin yourself, read the docs, work with the source, ask questions, try to fix a bug or implement a feature. > It would be good if you suggest me some sites to read. http://moinmo.in/MoinMoin2.0 (aka moin2, the new stuff) docs, repos, etc. is all linked from there. if you use the old moin (e.g. on a production site), you can also hack that, but we only want fixes for this, no new features. > check 2 some bugs in the buglist. But then I was at a dead end about how > to solve them as I don't have complete knowledge about moinmoin. See the EasyToDo page on the wiki, these are selected tasks that are maybe easier to solve than others. From info at os-plus.org Wed Nov 13 04:19:15 2013 From: info at os-plus.org (christian jeannot) Date: Wed, 13 Nov 2013 10:19:15 +0100 Subject: [Moin-user] first install of moinmoin / my wiki does not look like origin moinmoin wiki pages Message-ID: <52834413.7000104@os-plus.org> hello community, i have installed and configured moinmoin with the help of https://help.ubuntu.com/12.04/serverguide/moinmoin.html. i have used "oswiki" instead of mywiki and changed to correspondig parts of the config. when i access it via firefox browser i get a screen which does not look like the original wiki pages. i have made a screenshot.http://scr.os-plus.de (user: scr; password: happa00). actually theme modern was the default theme. when i change it to modernized and restart the apache webserver nothing changes. i have checked the documentation but have not found an idea where to look for this. i am using - ubuntu 12.04 i386 lts in a vm (kvm based) - python-moinmoin package 1.9.3-1 - apache 2.2.22 someone has a tipp for me? best regards --christian -- -- christian jeannot From reuterru at arcor.de Wed Nov 13 05:23:24 2013 From: reuterru at arcor.de (Rudolf Reuter) Date: Wed, 13 Nov 2013 11:23:24 +0100 Subject: [Moin-user] first install of moinmoin / my wiki does not look like origin moinmoin wiki pages In-Reply-To: <52834413.7000104@os-plus.org> References: <52834413.7000104@os-plus.org> Message-ID: <5283531C.1080500@arcor.de> An HTML attachment was scrubbed... URL: From jkwight at gmail.com Wed Nov 13 06:40:16 2013 From: jkwight at gmail.com (Jim Wight) Date: Wed, 13 Nov 2013 11:40:16 +0000 Subject: [Moin-user] first install of moinmoin / my wiki does not look like origin moinmoin wiki pages In-Reply-To: <52834413.7000104@os-plus.org> References: <52834413.7000104@os-plus.org> Message-ID: On 13 November 2013 09:19, christian jeannot wrote: > hello community, > > i have installed and configured moinmoin with the help of > https://help.ubuntu.com/12.04/serverguide/moinmoin.html. i have used > "oswiki" instead of mywiki and changed to correspondig parts of the config. > > when i access it via firefox browser i get a screen which does not look > like the original wiki pages. i have made a > screenshot.http://scr.os-plus.de (user: scr; password: happa00). > You are failing to access MoinMoin's static files in the htdocs directory. Set url_prefix_static in the wiki's wikiconfig.py file, e.g. url_prefix_static = '/moin_static' and then provide an Apache alias for that value pointing to htdocs, e.g. Alias /moin_static /path/to/lib/python-d.d/site-packages/MoinMoin/web/static/htdocs Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From clements at galaxyproject.org Wed Nov 13 13:43:58 2013 From: clements at galaxyproject.org (Dave Clements) Date: Wed, 13 Nov 2013 10:43:58 -0800 Subject: [Moin-user] Google Chrome inserting non breaking space at front of line Message-ID: Hello all, I've noticed an odd behavior when editing pages (as text, not with the GUI editor) with Google Chrome. If I have a newline followed by a line that starts with a single space, for example * List item Google Chrome converts that leading space to a non-breaking space. This breaks a couple of things, including dictionary definitions Name:: Description Firefox does not do this, but leaves the leading space as a space. An od command run against a Chrome-edited page: 0000060 p l o y m e n t \r \n *\r \n* *302 240* O r 6c70 796f 656d 746e 0a0d * 0a0d a0c2* 724f And an od command on a Firefox edited page: 0000060 l o y m e n t *\r \n * O r g a n i 6f6c 6d79 6e65 *0d*74 *200a * 724f 6167 696e What I would really like to have happen, is that whenever a wiki page is saved, any non-breaking space characters at the front of lines get automatically replaced with plain old spaces. Is there a recommended way to do this? Thanks, Dave C. -- http://galaxyproject.org/ http://getgalaxy.org/ http://usegalaxy.org/ http://wiki.galaxyproject.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From roger.bos at rothschild.com Thu Nov 14 10:41:41 2013 From: roger.bos at rothschild.com (Bos, Roger) Date: Thu, 14 Nov 2013 15:41:41 +0000 Subject: [Moin-user] How does MoinMoin know where to look for the wikiconfig.py file? Message-ID: <0765308CD028654885F30322557308D80E20156A@NYCSM0208.rth.ad.rothschild.com> All, I have MoinMoin 1.9.7 installed on a windows Apache 2.2 server on the F: drive at F:/Moin. I want to move the Moin folder to the C: drive (I have to remove everything from my F: drive). So I moved the folder over and in my httpd.conf file I changed the WSGIScriptAlias to look at the c: drive as follows: WSGIScriptAlias /quantwiki "C:/Moin/quantwiki/moin.wsgi" I then restart Apache and goto my wiki and create a new page and it shows up on the F: drive folder instead of the C: drive folder. How does MoinMoin know where to look for the wikiconfig.py file? Thanks, Roger -------------- next part -------------- An HTML attachment was scrubbed... URL: From tcataldo at bham.lib.al.us Thu Nov 14 11:47:00 2013 From: tcataldo at bham.lib.al.us (Tobin Cataldo) Date: Thu, 14 Nov 2013 10:47:00 -0600 Subject: [Moin-user] How does MoinMoin know where to look for the wikiconfig.py file? In-Reply-To: <0765308CD028654885F30322557308D80E20156A@NYCSM0208.rth.ad.rothschild.com> References: <0765308CD028654885F30322557308D80E20156A@NYCSM0208.rth.ad.rothschild.com> Message-ID: <5284FE84.2080702@bham.lib.al.us> I would start with these steps : 1. Check wikiconfig.py and modify any absolute paths to new location. 2. Clean cache : python moin.py --config-dir=/path/to/config_dir --wiki-url=wiki.example.org/ maint cleancache moin.py is located in new download package MoinMoin\script\moin.py and I think in Python27\Lib\site-packages\MoinMoin\script On 11/14/2013 9:41 AM, Bos, Roger wrote: > > All, > > I have MoinMoin 1.9.7 installed on a windows Apache 2.2 server on the > F: drive at F:/Moin. I want to move the Moin folder to the C: drive > (I have to remove everything from my F: drive). So I moved the folder > over and in my httpd.conf file I changed the WSGIScriptAlias to look > at the c: drive as follows: > > WSGIScriptAlias /quantwiki "C:/Moin/quantwiki/moin.wsgi" > > I then restart Apache and goto my wiki and create a new page and it > shows up on the F: drive folder instead of the C: drive folder. How > does MoinMoin know where to look for the wikiconfig.py file? > > Thanks, > > Roger > > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* , and is > believed to be clean. > > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > > > _______________________________________________ > 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 at waldmann-edv.de Thu Nov 14 15:12:19 2013 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Thu, 14 Nov 2013 21:12:19 +0100 Subject: [Moin-user] Google Chrome inserting non breaking space at front of line In-Reply-To: References: Message-ID: <52852EA3.70602@waldmann-edv.de> > Google Chrome converts that leading space to a non-breaking space. Maybe file a bug for chrome? I think a browser textarea control should not change the text you enter in any way. Maybe check if that also happens with a freshly installed chrome (with a fresh profile, standard settings). > What I would really like to have happen, is that whenever a wiki page is > saved, any non-breaking space characters at the front of lines get > automatically replaced with plain old spaces. > > Is there a recommended way to do this? Look at the SecurityPolicy, iirc it has a save() method that gets called before saving. But that's just a work around, should be fixed where the root cause is. From tw at waldmann-edv.de Thu Nov 14 15:15:29 2013 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Thu, 14 Nov 2013 21:15:29 +0100 Subject: [Moin-user] How does MoinMoin know where to look for the wikiconfig.py file? In-Reply-To: <0765308CD028654885F30322557308D80E20156A@NYCSM0208.rth.ad.rothschild.com> References: <0765308CD028654885F30322557308D80E20156A@NYCSM0208.rth.ad.rothschild.com> Message-ID: <52852F61.7030509@waldmann-edv.de> > How does MoinMoin know where to look for the wikiconfig.py file? The code just imports wikiconfig.py (or farmconfig.py) module. Python uses sys.path to search for code modules to import. There is also a environment setting PYTHONPATH where you can set the search path. From clements at galaxyproject.org Fri Nov 15 17:17:30 2013 From: clements at galaxyproject.org (Dave Clements) Date: Fri, 15 Nov 2013 14:17:30 -0800 Subject: [Moin-user] Google Chrome inserting non breaking space at front of line In-Reply-To: <52852EA3.70602@waldmann-edv.de> References: <52852EA3.70602@waldmann-edv.de> Message-ID: Hi Thomas, I did a little bit more digging. Putting this in your CSS solves the problem: textarea#editor-textarea { white-space: pre-wrap; } This also does not break the text box in Firefox, so it seems to be a win. This has been irritating me for months. If it turns out there are issues with this fix, then I'll post a followup email. Thanks for your time, and to everyone in the MoinMoin community. Dave C On Thu, Nov 14, 2013 at 12:12 PM, Thomas Waldmann wrote: > > Google Chrome converts that leading space to a non-breaking space. > > Maybe file a bug for chrome? > > I think a browser textarea control should not change the text you enter > in any way. > > Maybe check if that also happens with a freshly installed chrome (with a > fresh profile, standard settings). > > > What I would really like to have happen, is that whenever a wiki page is > > saved, any non-breaking space characters at the front of lines get > > automatically replaced with plain old spaces. > > > > Is there a recommended way to do this? > > Look at the SecurityPolicy, iirc it has a save() method that gets called > before saving. > > But that's just a work around, should be fixed where the root cause is. > > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -- http://galaxyproject.org/ http://getgalaxy.org/ http://usegalaxy.org/ http://wiki.galaxyproject.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From S-Holzhauer at web.de Sat Nov 16 16:55:54 2013 From: S-Holzhauer at web.de (Sascha Holzhauer) Date: Sat, 16 Nov 2013 22:55:54 +0100 Subject: [Moin-user] Dynamic page(section) subscriptions Message-ID: <5287E9EA.1060709@web.de> Hi, I would be grateful if someone could give me some hints on the following challenge: The wiki has different "service" pages consisting of a table with columns date and user name. The aim is to subscribe users to those actions when others edit a row on some service page of that date when they are listed on another service page. Example: Service A 01.01. JohnSurname 02.01. MariaSurname Service B 01.01. PeterSurname 02.01. SamSurname For instance, Maria should receive an alert when someone changes Sam at 02.01. in service B because she is listed for service A at that date. There is also some kind of overview page for each date named e.g. Service_0201 which includes relevant user names. However, these pages are filled dynamically with the information by include macros from the service pages and are thus probably not helpful regarding the alert challenge. It may also help to get some summary on how the subscription and alert process works (which modules are involved). Thanks, Sascha From paul at boddie.org.uk Sun Nov 17 13:09:41 2013 From: paul at boddie.org.uk (Paul Boddie) Date: Sun, 17 Nov 2013 19:09:41 +0100 Subject: [Moin-user] Dynamic page(section) subscriptions In-Reply-To: <5287E9EA.1060709@web.de> References: <5287E9EA.1060709@web.de> Message-ID: <201311171909.41854.paul@boddie.org.uk> On Saturday 16. November 2013 22.55.54 Sascha Holzhauer wrote: > > I would be grateful if someone could give me some hints on the following > challenge: > The wiki has different "service" pages consisting of a table with > columns date and user name. > The aim is to subscribe users to those actions when others edit a row on > some service page of that date when they are listed on another service > page. > > Example: > > Service A > 01.01. JohnSurname > 02.01. MariaSurname > > Service B > 01.01. PeterSurname > 02.01. SamSurname > > For instance, Maria should receive an alert when someone changes Sam at > 02.01. in service B because she is listed for service A at that date. So what you want to do is this: analyze an edit on a page ("Service B"), extract the date, search for the date in other pages, extract the username, and then notify those users? All of the above is possible but probably not very convenient: use an event handler to detect a page edit, parse the change (a regular expression may be enough, but you would want the "diff" to begin with), perform a full-text search, parse each page in the search results to get affected users, then invoke a notification for each user. > There is also some kind of overview page for each date named e.g. > Service_0201 which includes relevant user names. However, these pages > are filled dynamically with the information by include macros from the > service pages and are thus probably not helpful regarding the alert > challenge. I wonder whether a different way of organising the underlying data might be better. Grouping the data by date might eliminate the need to perform a search to discover who to notify when the data changes, so that Service_0201 page might hold the actual data like this (using a wikidict notation for potential convenience): Service A:: MariaSurname Service B:: SamSurname Then, any edit to the page could fairly easily cause a scan of the different entries and some notifications to be sent. You skip the awkward "diff" parsing and can hopefully just grab everybody's details. To show the original "Service A" and "Service B" pages might then involve more work, however, but you could potentially write a macro to do that. This actually starts to approach the EventAggregator extension I wrote in some ways [1], but that extension only supports notifications in terms of RSS for particular event criteria, although you can use Moin search expressions to define which events/pages will be selected and thus appear in the RSS feed. > It may also help to get some summary on how the subscription and alert > process works (which modules are involved). I can't provide immediate advice about subscriptions and alerts, but the event handler API is something I use in my ApproveChanges plugin [2]. Maybe it can provide some inspiration. Good luck! Paul [1] https://moinmo.in/MacroMarket/EventAggregator [2] https://moinmo.in/ActionMarket/ApproveChanges From gustavoviolato at gmail.com Sat Nov 23 07:19:20 2013 From: gustavoviolato at gmail.com (Gustavo Violato) Date: Sat, 23 Nov 2013 10:19:20 -0200 Subject: [Moin-user] Segmentation Fault when trying to run moin.wsgi Message-ID: Hello, I'm trying to run a Moin farm on my recently installed system: $ uname -a Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.46-1 i686 GNU/Linux I've uninstalled the default apache instalation with: $ apt-get remove --purge apache2* ... and compiled/installed Apache 2.4 (installed in /usr/local): $ apachectl -v Server version: Apache/2.4.6 (Unix) My python version is: $ python -V Python 2.7.3 Moinmoin was installed from source as instructed in: http://master19.moinmo.in/InstallDocs#server The actual install command was: $ python setup.py install --force --record=install.log --prefix='/usr/local' I also compiled/installed mod_wsgi/3.4 as instructed in: https://code.google.com/p/modwsgi/wiki/QuickInstallationGuide And, configured my Apache conf file accordingly. I can run the test.wsgi script with succcess. When I finally try to run my moin.wsgi script, I get a segfault. Here is the error log for my domain: [Fri Nov 22 08:26:56.805867 2013] [:error] [pid 27851:tid 3018517360] 2013-11-22 08:26:56,804 INFO MoinMoin.log:151 using logging configuration read from built-in fallback in MoinMoin.log module [Fri Nov 22 08:26:56.828045 2013] [:error] [pid 27851:tid 3018517360] 2013-11-22 08:26:56,827 INFO MoinMoin.log:157 Running MoinMoin 1.9.7 release code from /usr/local/lib/python2.7/dist-packages/MoinMoin [Fri Nov 22 08:26:58.111596 2013] [core:error] [pid 27856:tid 3052088176] [client --------------] End of script output before headers: moin.wsgi, referer: ----------- Here is the apache error log: [Fri Nov 22 08:24:17.090949 2013] [mpm_event:notice] [pid 3097:tid 3075520832] AH00489: Apache/2.4.6 (Unix) mod_wsgi/3.4 Python/2.7.3 configured -- resuming normal operations [Fri Nov 22 08:24:17.091138 2013] [core:notice] [pid 3097:tid 3075520832] AH00094: Command line: '/usr/local/apache2/bin/httpd -f ./conf/httpd.conf' [Fri Nov 22 08:26:58.259406 2013] [core:notice] [pid 3097:tid 3075520832] AH00052: child pid 27851 exit signal Segmentation fault (11) Now, I've read some threads on mailing lists and some help pages like this: https://code.google.com/p/modwsgi/wiki/FrequentlyAskedQuestions indicating a possible shared-library conflict. In case anyone suspects of hardware, I've ran memtest+86 and everything seems fine. I'm not experienced enough to debug this through the code, but maybe someone could point me to the right direction? If I should re-install stuff, which order should I choose? Are there any dependencies I might be missing out? Is there a way to dump more log messages so I can track where the segfault is happening? Thank you very much. -- *GUSTAVO OLIVEIRA VIOLATO* -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw at waldmann-edv.de Sat Nov 23 07:39:43 2013 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Sat, 23 Nov 2013 13:39:43 +0100 Subject: [Moin-user] Segmentation Fault when trying to run moin.wsgi In-Reply-To: References: Message-ID: <5290A20F.40605@waldmann-edv.de> > I've uninstalled the default apache instalation with: > $ apt-get remove --purge apache2* why? > ... and compiled/installed Apache 2.4 (installed in /usr/local): if you compile it on your own, you can easily make mistakes or overlook some stuff... > 27851:tid 3018517360] 2013-11-22 08:26:56,804 INFO MoinMoin.log:151 > using logging configuration read from built-in fallback in MoinMoin.log > module OK, looks like your moin is getting invoked correctly. > 3075520832] AH00052: child pid 27851 exit signal Segmentation fault (11) segfaults are usually a problem in some non-python code, so this is not a moin problem, but likely apache or mod-wsgi or some library. > I'm not experienced enough to debug this through the code, but maybe > someone could point me to the right direction? Well, the easiest way is not to compile stuff on your own. If you have good reasons to do so, maybe rather build from a source package from your linux distribution than using a source code archive from apache/mod-wsgi. then, chances are better you have the right dependencies in place, compile with the right options, etc. > Is there a way to dump more log messages so I can track > where the segfault is happening? You can somehow use gdb and/or a core dump to try to debug such stuff, but don't ask me, I google that myself each time I need it once every few years... From gustavoviolato at gmail.com Sat Nov 23 10:02:13 2013 From: gustavoviolato at gmail.com (Gustavo Violato) Date: Sat, 23 Nov 2013 13:02:13 -0200 Subject: [Moin-user] Segmentation Fault when trying to run moin.wsgi In-Reply-To: <5290A20F.40605@waldmann-edv.de> References: <5290A20F.40605@waldmann-edv.de> Message-ID: 2013/11/23 Thomas Waldmann > > I've uninstalled the default apache instalation with: > > $ apt-get remove --purge apache2* > > why? > because I'm stupid. :-) > > > ... and compiled/installed Apache 2.4 (installed in /usr/local): > > if you compile it on your own, you can easily make mistakes or overlook > some stuff.. you are correct. After a lot of reading, I somehow thought that I could just go ahead and compile... > > I'm not experienced enough to debug this through the code, but maybe > > someone could point me to the right direction? > > Well, the easiest way is not to compile stuff on your own. > > If you have good reasons to do so, maybe rather build from a source > package from your linux distribution than using a source code archive > from apache/mod-wsgi. > > then, chances are better you have the right dependencies in place, > compile with the right options, etc. > > Thank you very much, Thomas! I've removed my compiled Apache and did a default installation of apache+mod_wsgi trough apt-get. Things are working just fine now! Moinmoin is really cool! -------------- next part -------------- An HTML attachment was scrubbed... URL: From holzkaefer at email-ausdrucker.de Sat Nov 23 13:21:51 2013 From: holzkaefer at email-ausdrucker.de (r2d2) Date: Sat, 23 Nov 2013 19:21:51 +0100 Subject: [Moin-user] givenauth login Message-ID: <5290F23F.3040503@email-ausdrucker.de> hi, I installed moinmoin1.9.7 to one of my SL6.4 boxes. For authentication I want to use the apache web login. Apache login works, but moinmoin doesn't seem to get the REMOTE_USER. http://moinmo.in/HelpOnAuthentication Any hints on how to fix this? Otherwise I would like to turn on loglevel debug, but I do not know how. From paul at boddie.org.uk Sat Nov 23 14:20:18 2013 From: paul at boddie.org.uk (Paul Boddie) Date: Sat, 23 Nov 2013 20:20:18 +0100 Subject: [Moin-user] givenauth login In-Reply-To: <5290F23F.3040503@email-ausdrucker.de> References: <5290F23F.3040503@email-ausdrucker.de> Message-ID: <201311232020.18683.paul@boddie.org.uk> On Saturday 23. November 2013 19.21.51 r2d2 wrote: > > I installed moinmoin1.9.7 to one of my SL6.4 boxes. For authentication I > want to use the apache web login. Apache login works, but moinmoin > doesn't seem to get the REMOTE_USER. > http://moinmo.in/HelpOnAuthentication Assuming that you've added the GivenAuth instance to the auth setting, the usual reason for not getting anything in REMOTE_USER is that Apache is somehow letting you access the site without invoking the authentication machinery. Are you being prompted for a password? Is your site entirely protected by authentication directives? > Any hints on how to fix this? Otherwise I would like to turn on loglevel > debug, but I do not know how. Moin logging is something I rarely use and need to look up every time, but you should be able to dig up a suitable config file in the MoinMoin distribution and then make sure that it gets loaded by moin.cgi or moin.wsgi. See the comments in those scripts for more details. Paul From tw at waldmann-edv.de Mon Nov 25 02:46:13 2013 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Mon, 25 Nov 2013 08:46:13 +0100 Subject: [Moin-user] givenauth login In-Reply-To: <5290F23F.3040503@email-ausdrucker.de> References: <5290F23F.3040503@email-ausdrucker.de> Message-ID: <52930045.4060405@waldmann-edv.de> > I installed moinmoin1.9.7 to one of my SL6.4 boxes. For authentication I > want to use the apache web login. Apache login works, but moinmoin > doesn't seem to get the REMOTE_USER. http://modwsgi.readthedocs.org/en/latest/configuration-directives/WSGIPassAuthorization.html maybe you need that? From holzkaefer at email-ausdrucker.de Mon Nov 25 03:34:34 2013 From: holzkaefer at email-ausdrucker.de (r2d2) Date: Mon, 25 Nov 2013 09:34:34 +0100 Subject: [Moin-user] givenauth login In-Reply-To: <52930045.4060405@waldmann-edv.de> References: <5290F23F.3040503@email-ausdrucker.de> <52930045.4060405@waldmann-edv.de> Message-ID: <52930B9A.8070003@email-ausdrucker.de> Problem is already solved, but I accidentally replied directly to Paul. Sorry. From info at os-plus.org Sat Nov 30 13:39:53 2013 From: info at os-plus.org (christian jeannot) Date: Sat, 30 Nov 2013 19:39:53 +0100 Subject: [Moin-user] first install of moinmoin / my wiki does not look like origin moinmoin wiki pages In-Reply-To: References: <52834413.7000104@os-plus.org> Message-ID: <529A30F9.5050103@os-plus.org> Am 13.11.2013 12:40, schrieb Jim Wight: > > On 13 November 2013 09:19, christian jeannot > wrote: > > hello community, > > i have installed and configured moinmoin with the help of > https://help.ubuntu.com/12.04/serverguide/moinmoin.html. i have used > "oswiki" instead of mywiki and changed to correspondig parts of the > config. > > when i access it via firefox browser i get a screen which does not look > like the original wiki pages. i have made a > screenshot.http://scr.os-plus.de (user: scr; password: happa00). > > > You are failing to access MoinMoin's static files in the htdocs > directory. > > Set url_prefix_static in the wiki's wikiconfig.py file, e.g. > > url_prefix_static = '/moin_static' > > and then provide an Apache alias for that value pointing to htdocs, e.g. > > Alias > /moin_static/path/to/lib/python-d.d/site-packages/MoinMoin/web/static/htdocs > > Jim > hello jim, sorry for the late answer. i had much work to do. i have the following entry for static in my config. i have checked my environment for a path like "/path/to/lib/python-d.d/site-packages/MoinMoin/web/static/htdocs" i have found 2 directories which are linked to each other. i do not know if this is normal. i have checked for bugs for moinmoin in ubuntu 12.04 but found nothing about it. root at carida:/usr/lib/python2.7/dist-packages/MoinMoin/web/static# ll insgesamt 16 drwxr-xr-x 2 root root 4096 Nov 9 15:30 ./ drwxr-xr-x 3 root root 4096 Nov 9 15:30 ../ lrwxrwxrwx 1 root root 59 Dez 30 2012 htdocs -> ../../../../../../share/pyshared/MoinMoin/web/static/htdocs lrwxrwxrwx 1 root root 64 Dez 30 2012 __init__.py -> ../../../../../../share/pyshared/MoinMoin/web/static/__init__.py -rw-r--r-- 1 root root 3758 Nov 9 15:30 __init__.pyc root at carida:/usr/share/pyshared/MoinMoin/web/static# ll insgesamt 16 drwxr-xr-x 2 root root 4096 Nov 9 15:30 ./ drwxr-xr-x 3 root root 4096 Nov 9 15:30 ../ lrwxrwxrwx 1 root root 107 Dez 30 2012 htdocs -> ../../../../../lib/python2.7/dist-packages/MoinMoin/web/static/debian/python-moinmoin/usr/share/moin/htdocs -rw-r--r-- 1 root root 3541 Dez 30 2012 __init__.py i have opened a a thread at ubuntu forum where you can see my configuration http://ubuntuforums.org/showthread.php?t=2191024&p=12861707#post12861707 is my static config the one you mean? best regards --christian -- -- christian jeannot