From mailinglists at xgm.de Fri Jan 1 07:47:50 2010 From: mailinglists at xgm.de (Florian Lindner) Date: Fri, 1 Jan 2010 13:47:50 +0100 Subject: [Moin-user] Upgrade to 1.9 problems In-Reply-To: <1262207286.2585.10.camel@lestat.vampyre.home> References: <200912251750.53629.mailinglists@xgm.de> <200912301903.30306.mailinglists@xgm.de> <1262207286.2585.10.camel@lestat.vampyre.home> Message-ID: <201001011347.50536.mailinglists@xgm.de> Am Mittwoch, 30. Dezember 2009 22:08:06 schrieben Sie: > Am Mittwoch, den 30.12.2009, 19:03 +0100 schrieb Florian Lindner: > > Am Montag, 28. Dezember 2009 18:03:59 schrieb Florian Lindner: > > > Am Samstag, 26. Dezember 2009 23:00:27 schrieb Thomas Waldmann: > > > > > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] if lang is None and cfg.language_default in i18n.languages: > > > > > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] TypeError: argument of type 'NoneType' is not iterable > > > > > > > > > > My language_default ist set to "de". I tried changing it to "en" but it changed nothing. > > > > > > > > See there: http://hg.moinmo.in/moin/1.9/rev/7c9372ef5428 > > > > > > Hello, > > > > > > thanks f?r your reply. I habe replaced my /lib/python2.5/site-packages/MoinMoin/wsgiapp.py with the one from the VCS and the error changed: > > > > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] mod_wsgi (pid=1445): Exception occurred processing WSGI script '/home/flindner/xgm.de/pub/rezepte'. > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] Traceback (most recent call last): > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/support/werkzeug/utils.py", line 248, in __call__ > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] return self.app(environ, start_response) > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File "/home/flindner/moin/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 263, in __call__ > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] response = run(context) > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File "/home/flindner/moin/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 70, in run > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] response = dispatch(request, context, action_name) > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File "/home/flindner/moin/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 118, in dispatch > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] response = handle_action(context, pagename, action_name) > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File "/home/flindner/moin/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 177, in handle_action > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] handler(context.page.page_name, context) > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/action/__init__.py", line 261, in do_show > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] content_only=content_only, > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/Page.py", line 1169, in send_page > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] html_head=html_head, > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/theme/__init__.py", line 1743, in send_title > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] bodyattr.append(' %s' % self.ui_lang_attr()) > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/theme/__init__.py", line 1550, in ui_lang_attr > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] return ' lang="%s" dir="%s"' % (lang, i18n.getDirection(lang)) > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/i18n/__init__.py", line 257, in getDirection > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] return languages[lang]['x-direction'] > > > [Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] TypeError: 'NoneType' object is unsubscriptable > > > > No idea anyone? > > > > :-/ > > I do not know, but here are some ideas... > > 1. Did you made every step explained here: > http://hg.moinmo.in/moin/1.9/raw-file/ffaec355ee84/docs/UPDATE.html > > 2. Also read carefully the changes here: > http://hg.moinmo.in/moin/1.9/file/ffaec355ee84/docs/CHANGES (special > this marked with HINT) > > 3. Update after reading this your wikiconfig correctly? AFAIK I did all these steps above > 4. Did you also clean the cache of your wiki? Just tried it, changed nothing. > 5. Do you running latest WSGI 3.1 or atleast 2.5 or higher? I'm using 2.5.1 from Debian Lenny: http://packages.debian.org/lenny/libapache2-mod-wsgi > 6. maybe not only replace, but reinstall everything with --force Did that anyway. I'll try to set up a clean new instance tomorrow and see if that works. Regards, Florian From mdshaw89 at gmail.com Wed Jan 6 12:12:27 2010 From: mdshaw89 at gmail.com (Mike Shaw) Date: Wed, 6 Jan 2010 12:12:27 -0500 Subject: [Moin-user] Is there a Solaris/Apache setup guide? Message-ID: Hello, I'm trying to setup MoinMoin v1.9.0 on a Solaris 10 server and not having very much luck. Anyone have a guide on setting it up with Solaris and Apache? Thanks, Mike --- Rorschach: By the way, you need a stronger lock. That new one broke after one shove. - Watchmen From nicozanf at gmail.com Thu Jan 7 11:47:35 2010 From: nicozanf at gmail.com (Nico Zanferrari) Date: Thu, 7 Jan 2010 17:47:35 +0100 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: <4B33C8DC.4090303@ucar.edu> References: <4B326B81.3020109@ucar.edu> <1261606632.1263.34.camel@lestat.vampyre.home> <4B3299A0.70108@ucar.edu> <1261607878.1263.58.camel@lestat.vampyre.home> <4B338EDD.8040300@ucar.edu> <44F48CE2-22A4-47CC-82E1-23787FF0B474@gmail.com> <4B33C8DC.4090303@ucar.edu> Message-ID: <1be999771001070847g3f9f7f0eke702e8b42fa1e463@mail.gmail.com> Hello, I have exactly the same problem (authentication valid just for the fist page, with a fresh 1.9 WSGI setup on Ubuntu 9.10). I've noticed that in this case the session cookie is not wrote at all on the client (tested with Chrome) - even with cookie_lifetime = (1, 12) parameter in farmconfig.py . Logging does not seem to help.... BTW: you can have different WSGIScriptAlias into the Apache config, but pointing to the same .wsgi file! i.e.: WSGIScriptAlias /wiki1 /path/to/share/moin/server/moin_wiki.wsgi WSGIScriptAlias /wiki2 /path/to/share/moin/server/moin_wiki.wsgi WSGIScriptAlias /wiki3 /path/to/share/moin/server/moin_wiki.wsgi Best regards, Nico. 2009/12/24 Mark Bradford > > On 12/24/09 11:54 AM, Rick Vanderveer wrote: > > > I can give you my farmconfig example, etc., but I won't be able to get > > that to you until Monday (I'm out of town for the holidays), if you > > can wait that long. > > That would be great, Rick, thank you! ?Happy holidays to you and yours! > > -- > Mark Bradford, NCAR/EOL/CDS/CTM > ?(303) 497-8169 > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From tw-public at gmx.de Thu Jan 7 15:36:42 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 07 Jan 2010 21:36:42 +0100 Subject: [Moin-user] Is there a Solaris/Apache setup guide? In-Reply-To: References: Message-ID: <1262896602.18210.1.camel@x300> > I'm trying to setup MoinMoin v1.9.0 on a Solaris 10 server and not > having very much luck. Anyone have a guide on setting it up with > Solaris and Apache? The procedure should be similar to moin 1.9 on linux. Maybe first try getting it working with ./wikiserver.py. If that works, your problem is not a moin problem, but a webserver configuration problem. From tw-public at gmx.de Thu Jan 7 15:42:25 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 07 Jan 2010 21:42:25 +0100 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: <1be999771001070847g3f9f7f0eke702e8b42fa1e463@mail.gmail.com> References: <4B326B81.3020109@ucar.edu> <1261606632.1263.34.camel@lestat.vampyre.home> <4B3299A0.70108@ucar.edu> <1261607878.1263.58.camel@lestat.vampyre.home> <4B338EDD.8040300@ucar.edu> <44F48CE2-22A4-47CC-82E1-23787FF0B474@gmail.com> <4B33C8DC.4090303@ucar.edu> <1be999771001070847g3f9f7f0eke702e8b42fa1e463@mail.gmail.com> Message-ID: <1262896945.18210.5.camel@x300> > I have exactly the same problem (authentication valid just for the > fist page, with a fresh 1.9 WSGI setup on Ubuntu 9.10). I've noticed > that in this case the session cookie is not wrote at all on the client > (tested with Chrome) - even with cookie_lifetime = (1, 12) parameter > in farmconfig.py . Logging does not seem to help.... Is it maybe related to this fix? http://hg.moinmo.in/moin/1.9/rev/437558fff184 There is also a bug report on the wiki with a workaround without moin code patching: http://moinmo.in/MoinMoinBugs/1.9WikiFarmSessionDirHandlingBroken From nicozanf at gmail.com Fri Jan 8 01:35:17 2010 From: nicozanf at gmail.com (Nico Zanferrari) Date: Fri, 8 Jan 2010 07:35:17 +0100 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: <1262896945.18210.5.camel@x300> References: <4B326B81.3020109@ucar.edu> <1261606632.1263.34.camel@lestat.vampyre.home> <4B3299A0.70108@ucar.edu> <1261607878.1263.58.camel@lestat.vampyre.home> <4B338EDD.8040300@ucar.edu> <44F48CE2-22A4-47CC-82E1-23787FF0B474@gmail.com> <4B33C8DC.4090303@ucar.edu> <1be999771001070847g3f9f7f0eke702e8b42fa1e463@mail.gmail.com> <1262896945.18210.5.camel@x300> Message-ID: <1be999771001072235h3dc441b9r6716809f9673d666@mail.gmail.com> No, I've already tried the fix : from farmconfig import FarmConfig class Config(FarmConfig): ... from MoinMoin.web.session import FileSessionService session_service = FileSessionService() but it didn't work... >From my point of view, this problems is different. The authentication is not valid anymore whatever I do after the first page - even on the same wiki! On the server, I can see the session files but on the client there is no cookie at all. Thank you, Nico. 2010/1/7 Thomas Waldmann : >> I have exactly the same problem (authentication valid just for the >> fist page, with a fresh 1.9 WSGI setup on Ubuntu 9.10). I've noticed >> that in this case the session cookie is not wrote at all on the client >> (tested with Chrome) - even with cookie_lifetime = (1, 12) parameter >> in farmconfig.py . Logging does not seem to help.... > > Is it maybe related to this fix? > > http://hg.moinmo.in/moin/1.9/rev/437558fff184 > > There is also a bug report on the wiki with a workaround without moin > code patching: > > http://moinmo.in/MoinMoinBugs/1.9WikiFarmSessionDirHandlingBroken > > > From nicozanf at gmail.com Fri Jan 8 06:28:43 2010 From: nicozanf at gmail.com (Nico Zanferrari) Date: Fri, 8 Jan 2010 12:28:43 +0100 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: <1be999771001072235h3dc441b9r6716809f9673d666@mail.gmail.com> References: <4B326B81.3020109@ucar.edu> <1261606632.1263.34.camel@lestat.vampyre.home> <4B3299A0.70108@ucar.edu> <1261607878.1263.58.camel@lestat.vampyre.home> <4B338EDD.8040300@ucar.edu> <44F48CE2-22A4-47CC-82E1-23787FF0B474@gmail.com> <4B33C8DC.4090303@ucar.edu> <1be999771001070847g3f9f7f0eke702e8b42fa1e463@mail.gmail.com> <1262896945.18210.5.camel@x300> <1be999771001072235h3dc441b9r6716809f9673d666@mail.gmail.com> Message-ID: <1be999771001080328o28605712y603f84ef316590b3@mail.gmail.com> I've found that the problem exist also on a single wiki, if it's not mapped on the virtual root of the web server.... So, the same single wiki works fine if I have on apache2.conf : WSGIScriptAlias / /wiki/moin.wsgi but doesn't cache login authorization for more than 1 page if I have : WSGIScriptAlias /myonlywiki /wiki/moin.wsgi I'm ready to file a bug if you wish (or are unable to reproduce the problem). Best regards, Nico. 2010/1/8 Nico Zanferrari : > No, I've already tried the fix : > > from farmconfig import FarmConfig > class Config(FarmConfig): > ... > ? ?from MoinMoin.web.session import FileSessionService > ? ?session_service = FileSessionService() > > but it didn't work... > > From my point of view, this problems is different. The authentication > is not valid anymore whatever I do after the first page - even on the > same wiki! On the server, I can see the session files but on the > client there is no cookie at all. > > Thank you, > Nico. > > > 2010/1/7 Thomas Waldmann : >>> I have exactly the same problem (authentication valid just for the >>> fist page, with a fresh 1.9 WSGI setup on Ubuntu 9.10). I've noticed >>> that in this case the session cookie is not wrote at all on the client >>> (tested with Chrome) - even with cookie_lifetime = (1, 12) parameter >>> in farmconfig.py . Logging does not seem to help.... >> >> Is it maybe related to this fix? >> >> http://hg.moinmo.in/moin/1.9/rev/437558fff184 >> >> There is also a bug report on the wiki with a workaround without moin >> code patching: >> >> http://moinmo.in/MoinMoinBugs/1.9WikiFarmSessionDirHandlingBroken >> >> >> > From tw-public at gmx.de Fri Jan 8 06:59:59 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 08 Jan 2010 12:59:59 +0100 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: <1be999771001080328o28605712y603f84ef316590b3@mail.gmail.com> References: <4B326B81.3020109@ucar.edu> <1261606632.1263.34.camel@lestat.vampyre.home> <4B3299A0.70108@ucar.edu> <1261607878.1263.58.camel@lestat.vampyre.home> <4B338EDD.8040300@ucar.edu> <44F48CE2-22A4-47CC-82E1-23787FF0B474@gmail.com> <4B33C8DC.4090303@ucar.edu> <1be999771001070847g3f9f7f0eke702e8b42fa1e463@mail.gmail.com> <1262896945.18210.5.camel@x300> <1be999771001072235h3dc441b9r6716809f9673d666@mail.gmail.com> <1be999771001080328o28605712y603f84ef316590b3@mail.gmail.com> Message-ID: <1262951999.14522.2.camel@x300> On Fri, 2010-01-08 at 12:28 +0100, Nico Zanferrari wrote: > I've found that the problem exist also on a single wiki, if it's not > mapped on the virtual root of the web server.... > > So, the same single wiki works fine if I have on apache2.conf : > > WSGIScriptAlias / /wiki/moin.wsgi > > but doesn't cache login authorization for more than 1 page if I have : > > WSGIScriptAlias /myonlywiki /wiki/moin.wsgi Ah, that's interesting. > I'm ready to file a bug if you wish (or are unable to reproduce the problem). Yes, please do so and include your wiki configs (remove any secrets) or at least your cookie_* and session related settings. I am having a look at the cookie code meanwhile (for testing and also for production, I usually only have root-mounted wikis). From tw-public at gmx.de Fri Jan 8 09:44:49 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 08 Jan 2010 15:44:49 +0100 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: <1be999771001080328o28605712y603f84ef316590b3@mail.gmail.com> References: <4B326B81.3020109@ucar.edu> <1261606632.1263.34.camel@lestat.vampyre.home> <4B3299A0.70108@ucar.edu> <1261607878.1263.58.camel@lestat.vampyre.home> <4B338EDD.8040300@ucar.edu> <44F48CE2-22A4-47CC-82E1-23787FF0B474@gmail.com> <4B33C8DC.4090303@ucar.edu> <1be999771001070847g3f9f7f0eke702e8b42fa1e463@mail.gmail.com> <1262896945.18210.5.camel@x300> <1be999771001072235h3dc441b9r6716809f9673d666@mail.gmail.com> <1be999771001080328o28605712y603f84ef316590b3@mail.gmail.com> Message-ID: <1262961889.14522.8.camel@x300> Could you check please: a) whether moin sends a cookie to your browser in the login response? you need some tool like livehttpheaders for firefox or some network packet inspection tool. b) in case it does and the cookie vanishes then mysteriously: could you check whether your server time is correct and your client time is in sync with it (thus also correct)? In case your client is too much ahead in time relative to your server, it might think that the cookie lifetime is over and just deletes the cookie. c) look into the cookie: is the cookie's path the same as your wiki's path? From rb.proj at gmail.com Fri Jan 8 10:22:28 2010 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 08 Jan 2010 16:22:28 +0100 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: <1be999771001070847g3f9f7f0eke702e8b42fa1e463@mail.gmail.com> References: <4B326B81.3020109@ucar.edu> <1261606632.1263.34.camel@lestat.vampyre.home> <4B3299A0.70108@ucar.edu> <1261607878.1263.58.camel@lestat.vampyre.home> <4B338EDD.8040300@ucar.edu> <44F48CE2-22A4-47CC-82E1-23787FF0B474@gmail.com> <4B33C8DC.4090303@ucar.edu> <1be999771001070847g3f9f7f0eke702e8b42fa1e463@mail.gmail.com> Message-ID: Nico Zanferrari schrieb: > Hello, > > I have exactly the same problem (authentication valid just for the > fist page, with a fresh 1.9 WSGI setup on Ubuntu 9.10). I've noticed > that in this case the session cookie is not wrote at all on the client > (tested with Chrome) - even with cookie_lifetime = (1, 12) parameter > in farmconfig.py . Logging does not seem to help.... > > > BTW: you can have different WSGIScriptAlias into the Apache config, > but pointing to the same .wsgi file! > > i.e.: > WSGIScriptAlias /wiki1 /path/to/share/moin/server/moin_wiki.wsgi > WSGIScriptAlias /wiki2 /path/to/share/moin/server/moin_wiki.wsgi > WSGIScriptAlias /wiki3 /path/to/share/moin/server/moin_wiki.wsgi > > > > Best regards, > Nico. Can you try if it works for one of your wikis if you setup it without a farmconfig configuration? cheers Reimar From rb.proj at gmail.com Fri Jan 8 13:25:45 2010 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 08 Jan 2010 19:25:45 +0100 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: References: <4B326B81.3020109@ucar.edu> <1261606632.1263.34.camel@lestat.vampyre.home> <4B3299A0.70108@ucar.edu> <1261607878.1263.58.camel@lestat.vampyre.home> <4B338EDD.8040300@ucar.edu> <44F48CE2-22A4-47CC-82E1-23787FF0B474@gmail.com> <4B33C8DC.4090303@ucar.edu> <1be999771001070847g3f9f7f0eke702e8b42fa1e463@mail.gmail.com> Message-ID: Please check if there are any old cookies stored for your wiki. if so please delete them and try again. Reimar From nicozanf at gmail.com Sat Jan 9 06:03:02 2010 From: nicozanf at gmail.com (Nico Zanferrari) Date: Sat, 9 Jan 2010 12:03:02 +0100 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: References: <4B326B81.3020109@ucar.edu> <1261606632.1263.34.camel@lestat.vampyre.home> <4B3299A0.70108@ucar.edu> <1261607878.1263.58.camel@lestat.vampyre.home> <4B338EDD.8040300@ucar.edu> <44F48CE2-22A4-47CC-82E1-23787FF0B474@gmail.com> <4B33C8DC.4090303@ucar.edu> <1be999771001070847g3f9f7f0eke702e8b42fa1e463@mail.gmail.com> Message-ID: <1be999771001090303jba7afd4xa07607df84a46f81@mail.gmail.com> Hi, I've filed the bug on http://moinmo.in/MoinMoinBugs/1.9AuthProblemWithNonRootWiki About the last questions: - the problem exists also on Firefox, and also from the server itself. - I cleaned up all the cookies on the client before any testing. I'll post my configuration on the bug page, trying to make it as simple as possible. Hoping to make it easily reproducible. Thanks to all, Nico. 2010/1/8 R.Bauer : > Please check if there are any old cookies stored for your wiki. if so > please delete them and try again. > > Reimar > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From andrefelipelobato at gmail.com Sun Jan 10 01:09:31 2010 From: andrefelipelobato at gmail.com (Andre Lobato) Date: Sun, 10 Jan 2010 04:09:31 -0200 Subject: [Moin-user] Hello List! Message-ID: Ola to everyone, i hope can make this the begining of great friendship... yeah right! seriously, i have administrating a wiki for over 1 year now and i dont know why i havn't subscribe before, since always got many doubts. But this time things are getting hard on my mind. Little tasks big problems. Greetings AndreLobato -------------- next part -------------- An HTML attachment was scrubbed... URL: From cmac at mit.edu Sun Jan 10 21:58:47 2010 From: cmac at mit.edu (Christopher MacMinn) Date: Sun, 10 Jan 2010 21:58:47 -0500 Subject: [Moin-user] Embedding an iframe Message-ID: <95da30591001101858lb290fffw88dca702edf912b9@mail.gmail.com> Hi everyone - I am using MoinMoin to run a non-wiki website, and I would like to include Google calendars and forms on some pages via