From rb.proj at gmail.com Tue Dec 1 03:58:31 2009 From: rb.proj at gmail.com (R.Bauer) Date: Tue, 01 Dec 2009 09:58:31 +0100 Subject: [Moin-user] Is it possible to install current stable version on Bluehost hosting services? In-Reply-To: <720dc91f0911301118r48db06ew2a7674106c645b9f@mail.gmail.com> References: <720dc91f0911301118r48db06ew2a7674106c645b9f@mail.gmail.com> Message-ID: Mauricio Hernandez Z. schrieb: > Bluehost does provide SSH access and Python. > > Any successful installation story and howto? > > Regards, > Hi Mauricio, Do they provide also mod_wsgi? A installation by ssh should be basically no problem. cheers Reimar > Mauricio Hern?ndez Z. > +569 77785043 > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From tw-public at gmx.de Tue Dec 1 12:56:09 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 01 Dec 2009 18:56:09 +0100 Subject: [Moin-user] Is it possible to install current stable version on Bluehost hosting services? In-Reply-To: References: <720dc91f0911301118r48db06ew2a7674106c645b9f@mail.gmail.com> Message-ID: <1259690169.6514.38.camel@server.firma.waldmann-edv.de> > > Bluehost does provide SSH access and Python. > > Any successful installation story and howto? > Do they provide also mod_wsgi? I doubt that someone offers mod_wsgi for 7 USD/m. If you're "lucky", you get a working python for cgi. Mauricio, do you like to tell what that wiki will be about? From mhz.chile at gmail.com Tue Dec 1 20:46:15 2009 From: mhz.chile at gmail.com (mhz) Date: Tue, 1 Dec 2009 22:46:15 -0300 Subject: [Moin-user] Is it possible to install current stable version on Bluehost hosting services? In-Reply-To: <1259690169.6514.38.camel@server.firma.waldmann-edv.de> References: <720dc91f0911301118r48db06ew2a7674106c645b9f@mail.gmail.com> <1259690169.6514.38.camel@server.firma.waldmann-edv.de> Message-ID: <720dc91f0912011746g24cce145oe7b70fb4db5fb686@mail.gmail.com> Well, I'll ask Bluehost about it, right away. Hey, Thomas! I want to provide a Trikke Knowledge Base, the "Trikkepedia". An instance where Trikke riders and dealers can wiki about Riding tips, Riding techniques, Mechanics, Workouts, etc. And if possible to run a Moin instance, I'd love to get back my hands onto wiki loving, and so I'd also take advantage of it and would like to run TrikkeChile.com on Moin instead of current wordpress. Cordialmente, Mauricio Hern?ndez Z. +569 77785043 On Tue, Dec 1, 2009 at 2:56 PM, Thomas Waldmann wrote: > >> > Bluehost does provide SSH access and Python. >> > Any successful installation story and howto? > >> Do they provide also mod_wsgi? > > I doubt that someone offers mod_wsgi for 7 USD/m. > If you're "lucky", you get a working python for cgi. > > Mauricio, do you like to tell what that wiki will be about? > > > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From john.perry at usm.edu Tue Dec 1 20:58:59 2009 From: john.perry at usm.edu (John Perry) Date: Tue, 1 Dec 2009 19:58:59 -0600 Subject: [Moin-user] why /var/www ?!? Message-ID: <200912011958.59426.john.perry@usm.edu> Hi, I set up MoinMoin successfully today. I thought I followed the directions, but I kept encountering a problem. The CSS did not seem to load, and Apache kept reporting the error, [Tue Dec 01 19:48:28 2009] [error] [client 131.95.120.109] File does not exist: /var/www/home, referer: http://[deleted]/MyStartingPage Once I added a symbolic link /var/www/home -> /home, the error stopped appearing and the CSS loaded fine. I guess I must have set something up wrong. Weirdly, adding an Alias directive in Apache didn't fix the problem, either. Does anyone have any idea why this happened? regards john perry -- John Perry, PhD University of Southern Mississippi Assistant Professor, Department of Mathematics http://www.math.usm.edu/perry/ john.perry at usm.edu 601-266-4293 endless loop: See endless loop. (AmigaDOS 3.1 manual, Glossary, pg. 4) From rb.proj at gmail.com Wed Dec 2 08:14:04 2009 From: rb.proj at gmail.com (R.Bauer) Date: Wed, 02 Dec 2009 14:14:04 +0100 Subject: [Moin-user] why /var/www ?!? In-Reply-To: <200912011958.59426.john.perry@usm.edu> References: <200912011958.59426.john.perry@usm.edu> Message-ID: Hi John, can you please add more details: Which moin version is it? >From where is it? How do you have installed? Which directions do you have followed? cheers Reimar John Perry schrieb: > Hi, > > I set up MoinMoin successfully today. I thought I followed the directions, but > I kept encountering a problem. The CSS did not seem to load, and Apache kept > reporting the error, > > [Tue Dec 01 19:48:28 2009] [error] [client 131.95.120.109] File does not > exist: /var/www/home, referer: > http://[deleted]/MyStartingPage > > Once I added a symbolic link /var/www/home -> /home, the error stopped > appearing and the CSS loaded fine. > > I guess I must have set something up wrong. Weirdly, adding an Alias directive > in Apache didn't fix the problem, either. Does anyone have any idea why this > happened? > > regards > john perry From tw-public at gmx.de Wed Dec 2 10:33:05 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 02 Dec 2009 16:33:05 +0100 Subject: [Moin-user] why /var/www ?!? In-Reply-To: <200912011958.59426.john.perry@usm.edu> References: <200912011958.59426.john.perry@usm.edu> Message-ID: <1259767985.598.8.camel@server.firma.waldmann-edv.de> Hi John, > I set up MoinMoin successfully today. I thought I followed the directions, but > I kept encountering a problem. The CSS did not seem to load, That is usually because the Alias for /moin_static185 (e.g.) is missing or is not working. > and Apache kept reporting the error, > > [Tue Dec 01 19:48:28 2009] [error] [client 131.95.120.109] File does not > exist: /var/www/home, referer: > http://[deleted]/MyStartingPage moin does not access /var/www/home on its own. Maybe you have misconfigured something in apache, search for "home" there. > Once I added a symbolic link /var/www/home -> /home, the error stopped > appearing and the CSS loaded fine. You shouldn't link all your home directories to be accessible via the webserver, because they are linked to be below documentroot. That could be a major security/privacy issue. > I guess I must have set something up wrong. Weirdly, adding an Alias directive > in Apache didn't fix the problem, either. Maybe you added it at the wrong place? As Reimar already noted: we need more details and your configs. Regards, Thomas From john.perry at usm.edu Wed Dec 2 15:14:15 2009 From: john.perry at usm.edu (John Perry) Date: Wed, 2 Dec 2009 14:14:15 -0600 Subject: [Moin-user] why /var/www ?!? Message-ID: <200912021414.15715.john.perry@usm.edu> > You shouldn't link all your home directories to be accessible via the > webserver, because they are linked to be below documentroot. Ooooooops. I happened to mention my difficulties with one of my security-conscious colleagues, and he promptly went and read everything on the machine, just to prove your point. Okay, removed that symlink. > > I set up MoinMoin successfully today. I thought I followed the directions, > > but > > I kept encountering a problem. The CSS did not seem to load, > > That is usually because the Alias for /moin_static185 (e.g.) is missing > or is not working. This was in fact my problem. I didn't understand your hint until I looked carefully at both the Apache setup file and the wikiconfig.py. In case anyone else Googles across this, I'll explain my confusion, along with what I did to fix it. The wikiconfig.py requires the assignment of three directories, data_dir data_underlay_dir url_prefix The defaults for the first two ('./data' and './underlay') don't work, at least not on my system. When it fails, a helpful error message recommends giving the absolute pathname, e.g., /home/luser/read/the/directions . (That's not the actual help text I saw, in case anyone's wondering. It's just how I felt. ;-)) I figured the third one (url_prefix) would need an absolute path, too, and I seem to have misread at least one of the many web pages online that discuss the setup & configuration of this file. So url_prefix had the absolute path to the static files, when it wants a *relative* path. So that was the problem. I got it to work by changing url_prefix to '/moin_static160'. Likewise Apache's configuration *must* have the alias directive Alias /moin_static160/ /absolute/path/to/moin_static160/ I should have caught this sooner, but I didn't understand the hint in wikiconfig.py on THE LINE ABOVE THAT VERY ASSIGNMENT: # For CGI, it should match your Apache Alias setting. I understand what it's saying now, but that was weird. If someone has better advice, I'm open to it. For reference, I'm running Moin 1.90 on Ubuntu 8.04.3. regards john perry -- John Perry, PhD University of Southern Mississippi Assistant Professor, Department of Mathematics http://www.math.usm.edu/perry/ john.perry at usm.edu 601-266-4293 endless loop: See endless loop. (AmigaDOS 3.1 manual, Glossary, pg. 4) From tw-public at gmx.de Thu Dec 3 03:15:27 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 03 Dec 2009 09:15:27 +0100 Subject: [Moin-user] why /var/www ?!? In-Reply-To: <200912021414.15715.john.perry@usm.edu> References: <200912021414.15715.john.perry@usm.edu> Message-ID: <1259828127.3378.36.camel@x300> > Ooooooops. X) > The wikiconfig.py requires the assignment of three directories, > > data_dir > data_underlay_dir > url_prefix Ehrm, not quite. *_dir are directories in the filesystem (and yes, using an absolute path is a good idea, because relative pathes are ... relative :). BUT: url_prefix (or url_prefix_static as it is called in later moins) is a URL, not a filesystem directory. It is the url moin uses to generate static file URLs in the html it emits. The clientside browser then uses these URLs to fetch css, images, javascript etc. Thus, for moin < 1.9.0, you need to configure your web server to serve those static files when that url_prefix URL is accessed, that's what this Alias is for. In moin >= 1.9.0 we serve the static files by a server functionality built into moin, so one does not NEED the apache Alias any more. If you have moin as a long running process and you have sane clientside browsers (doing caching), it gives quite good performance. Of course if you run moin as cgi (sloooow) or if you want to tweak the last microsecond, you MAY still use apache to serve the static files (moin only serves requests it GETS, if Apache catches it first, Apache will serve it). > Alias /moin_static160/ /absolute/path/to/moin_static160/ Left side is the url, right side is the file system path. > If someone has better advice, I'm open to it. For reference, I'm running Moin > 1.90 on Ubuntu 8.04.3. The alias rather looks like you are running moin 1.6.0 (which is pretty outdated). You can check this on page SystemInfo in your wiki. We'll likely release moin 1.8.6 and 1.9.0 soon, btw. :) From rb.proj at gmail.com Thu Dec 3 03:34:31 2009 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 03 Dec 2009 09:34:31 +0100 Subject: [Moin-user] why /var/www ?!? In-Reply-To: <1259828127.3378.36.camel@x300> References: <200912021414.15715.john.perry@usm.edu> <1259828127.3378.36.camel@x300> Message-ID: Thomas Waldmann schrieb: >> Ooooooops. > > X) > >> The wikiconfig.py requires the assignment of three directories, >> >> data_dir >> data_underlay_dir >> url_prefix > > Ehrm, not quite. *_dir are directories in the filesystem (and yes, using > an absolute path is a good idea, because relative pathes are ... > relative :). > > BUT: url_prefix (or url_prefix_static as it is called in later moins) is > a URL, not a filesystem directory. It is the url moin uses to generate > static file URLs in the html it emits. The clientside browser then uses > these URLs to fetch css, images, javascript etc. > > Thus, for moin < 1.9.0, you need to configure your web server to serve > those static files when that url_prefix URL is accessed, that's what > this Alias is for. > > In moin >= 1.9.0 we serve the static files by a server functionality > built into moin, so one does not NEED the apache Alias any more. If you > have moin as a long running process and you have sane clientside > browsers (doing caching), it gives quite good performance. > Of course if you run moin as cgi (sloooow) or if you want to tweak the > last microsecond, you MAY still use apache to serve the static files > (moin only serves requests it GETS, if Apache catches it first, Apache > will serve it). > >> Alias /moin_static160/ /absolute/path/to/moin_static160/ > > Left side is the url, right side is the file system path. > >> If someone has better advice, I'm open to it. For reference, I'm running Moin >> 1.90 on Ubuntu 8.04.3. > > The alias rather looks like you are running moin 1.6.0 (which is pretty > outdated). You can check this on page SystemInfo in your wiki. or if you have had to configure this alias you may have it set too in your wikiconfig.py (url_prefix_static). If your previous wiki was running version 1.6, do you have run the migration script for your data dir and updated your configuration? If it is still 1.6 you should read http://moinmo.in/SecurityFixes and upgrade soon to a recent version. cheers Reimar From mike.freeman.3832 at gmail.com Sat Dec 5 14:36:08 2009 From: mike.freeman.3832 at gmail.com (Michael Freeman) Date: Sat, 5 Dec 2009 13:36:08 -0600 Subject: [Moin-user] MoinMoin wiki hosting (was Re: Is it possible to install current stable version on Bluehost hosting services?) Message-ID: On Tue, Dec 1, 2009 at 7:46 PM, mhz wrote: > Well, I'll ask Bluehost about it, right away. > > I want to provide a Trikke Knowledge Base, the "Trikkepedia". An > instance where Trikke riders and dealers can wiki about Riding tips, > Riding techniques, Mechanics, Workouts, etc. Check out: SabMagFaq.org > And if possible to run a Moin instance, I'd love to get back my hands > onto wiki loving, and so I'd also take advantage of it and would like > to run TrikkeChile.com on Moin instead of current wordpress. I run SabMagFAQ on HCoop. Currently they charge $7/month for hosting. MoinMoin is installed and maintained by the admins. You just have to set up your local configuration. I registered the domain name through gandi.net for $17.94 per year. There are links to HCoop and gandi.net in the footer of the SabMagFAQ wiki. -- Michael J. Freeman Reserve, LA From rb.proj at gmail.com Sat Dec 5 16:23:28 2009 From: rb.proj at gmail.com (R.Bauer) Date: Sat, 05 Dec 2009 22:23:28 +0100 Subject: [Moin-user] moin 1.8.6 released Message-ID: See http://moinmo.in/MoinMoinDownload for the release archive and the change log. BTW, we still need much more people helping with cleaning up on master19.moinmo.in. So, especially if you speak some non-english language, you can help! See http://moinmo.in/MoinDev/Translation for details. From rb.proj at gmail.com Sat Dec 5 19:00:17 2009 From: rb.proj at gmail.com (R.Bauer) Date: Sun, 06 Dec 2009 01:00:17 +0100 Subject: [Moin-user] moin-1.9.0 released Message-ID: See http://moinmo.in/MoinMoinDownload for the release archive and the change log. BTW, we still need much more people helping with cleaning up on master19.moinmo.in. So, especially if you speak some non-english language, you can help! See http://moinmo.in/MoinDev/Translation for details. From zoom.quiet at gmail.com Sun Dec 6 04:15:30 2009 From: zoom.quiet at gmail.com (Zoom.Quiet) Date: Sun, 6 Dec 2009 17:15:30 +0800 Subject: [Moin-user] moin-1.9.0 released In-Reply-To: References: Message-ID: <9dad9f0a0912060115y135f4095l5a6fa72d5cdbefd6@mail.gmail.com> On Sun, Dec 6, 2009 at 08:00, R.Bauer wrote: > See http://moinmo.in/MoinMoinDownload for the release archive and the > change log. > that great news! i'm join in MoinMoin 1.9.* Chinese translating... MoinI18n/zh - 1.9 Master Wiki http://master19.moinmo.in/MoinI18n/zh SystemPagesInSimplifiedChineseGroup - 1.9 Master Wiki http://master19.moinmo.in/SystemPagesInSimplifiedChineseGroup > BTW, we still need much more people helping with cleaning up on > master19.moinmo.in. > > So, especially if you speak some non-english language, you can help! > > See http://moinmo.in/MoinDev/Translation for details. > > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -- http://zoomquiet.org ????? Pythonic! ??????????????????! (ProcessEnhancement keeps evolving organizations which promoting people b... From marcel at frightanic.com Sun Dec 6 07:32:19 2009 From: marcel at frightanic.com (=?iso-8859-1?Q?Marcel_St=F6r?=) Date: Sun, 6 Dec 2009 13:32:19 +0100 Subject: [Moin-user] Installing MoinMoin on a typical web host Message-ID: <2964CE47-974B-44E2-B9DC-7D2031C580DE@frightanic.com> For someone coming from the PHP-corner going through the install docs at http://master19.moinmo.in/InstallDocs/ can be a somewhat intimidating experience. At least if the "1 minute MoinMoin install" doesn't suit you. For me it isn't a matter of lack-of-know-how, but rather a matter of lack-of-latitude. I would like use MoinMoin on the hosting account with my ISP i.e. I don't run my own server. Therefore, I don't have admin rights, I can't control Apache by myself and I can't use a shell. What I can do/use: FTP...I can also set up virtual directories (activating CGI and FastCGI for them) and I can configure mod_rewrite rules. Looking at Python as "just another scripting language" (I assume for those who love it it's a bit more ;-)) I assume that it should be possible to run MoinMoin in such a confined environment. I simply haven't found related hints the docs or the FAQ. Regards, Marcel -- Marcel St?r, http://www.frightanic.com Couchsurfing: http://www.couchsurfing.com/people/marcelstoer Skype: marcelstoer From lists at iDIAcomputing.com Sun Dec 6 13:37:02 2009 From: lists at iDIAcomputing.com (George Dinwiddie) Date: Sun, 06 Dec 2009 13:37:02 -0500 Subject: [Moin-user] Installing MoinMoin on a typical web host In-Reply-To: <2964CE47-974B-44E2-B9DC-7D2031C580DE@frightanic.com> References: <2964CE47-974B-44E2-B9DC-7D2031C580DE@frightanic.com> Message-ID: <4B1BF9CE.8030904@iDIAcomputing.com> Marcel, I've not moved to 1.9 (in fact, I'm still running 1.8.4), but I do have it running on a shared server (DreamHost). When I upgraded to 1.8.4, I installed everything under one directory (moin-1.8.4-installed) to make things easier to upgrade in the future. I put the bin, lib, & share directories under that, as well as my wikifarm directory which contains the configs & contents for the wikis themselves. I don't have access to the apache config, either, but I use .htaccess to rewrite: ReWriteEngine on ReWriteRule ^moin(/.*)? _moin.cgi$1 Does that help? - George Marcel St?r wrote: > For someone coming from the PHP-corner going through the install docs > at http://master19.moinmo.in/InstallDocs/ can be a somewhat > intimidating experience. At least if the "1 minute MoinMoin install" > doesn't suit you. > > For me it isn't a matter of lack-of-know-how, but rather a matter of > lack-of-latitude. > > I would like use MoinMoin on the hosting account with my ISP i.e. I > don't run my own server. Therefore, I don't have admin rights, I can't > control Apache by myself and I can't use a shell. What I can do/use: > FTP...I can also set up virtual directories (activating CGI and > FastCGI for them) and I can configure mod_rewrite rules. > > Looking at Python as "just another scripting language" (I assume for > those who love it it's a bit more ;-)) I assume that it should be > possible to run MoinMoin in such a confined environment. I simply > haven't found related hints the docs or the FAQ. > > Regards, > Marcel > -- ---------------------------------------------------------------------- * George Dinwiddie * http://blog.gdinwiddie.com Software Development http://www.idiacomputing.com Consultant and Coach http://www.agilemaryland.org ---------------------------------------------------------------------- From tw-public at gmx.de Sun Dec 6 14:31:53 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Sun, 06 Dec 2009 20:31:53 +0100 Subject: [Moin-user] Installing MoinMoin on a typical web host In-Reply-To: <2964CE47-974B-44E2-B9DC-7D2031C580DE@frightanic.com> References: <2964CE47-974B-44E2-B9DC-7D2031C580DE@frightanic.com> Message-ID: <1260127913.25816.23.camel@x300> On Sun, 2009-12-06 at 13:32 +0100, Marcel St?r wrote: > For someone coming from the PHP-corner going through the install docs > at http://master19.moinmo.in/InstallDocs/ can be a somewhat > intimidating experience. At least if the "1 minute MoinMoin install" > doesn't suit you. Well, php is easy because your web hoster installed mod_php and configured everything for you, so you can just drop in your php files and it works. You could have a similar experience with mod_wsgi and WSGI python apps (moin is one), but only if your hoster really cares about Python/WSGI and installs/configures that for you. The bad news is that most hosters don't, but let you alone with slow cgi or rather complicated fastcgi. > I would like use MoinMoin on the hosting account with my ISP i.e. I > don't run my own server. Therefore, I don't have admin rights, I can't > control Apache by myself and I can't use a shell. That's not quite the most comfortable environment to install moin into. I am not saying that it is impossible, but it is somehow like painting the living room through the keyhole. The best approach to make that not a complete pain is maybe to replicate your hoster's setup locally, make it work locally and then, after you have all working, ftp everything to the other side. > FTP...I can also set up virtual directories (activating CGI and > FastCGI for them) and I can configure mod_rewrite rules. For both cgi and fastcgi, with moin 1.9, you'll have to use some (e.g. "flup") middleware to convert that to wsgi. Please read flup's and apache's docs about that (and have a look into wiki/server/ directory in your moin download). As soon as you manage to run any (test) wsgi app on your host, you are ready for moin and for our docs. > Looking at Python as "just another scripting language" (I assume for > those who love it it's a bit more ;-)) I assume that it should be > possible to run MoinMoin in such a confined environment. I simply > haven't found related hints the docs or the FAQ. We only document running moin as a wsgi app, because wsgi is our interface to the outer world. We won't document how you have to use apache or flup (or any other web server or middleware needed), because there is better docs for that written by other people. BTW, moin 1.8.x still offers a direct (fast)cgi interface, but the future (1.9 and beyond) will be wsgi, for good reasons. :) From marcel at frightanic.com Sun Dec 6 14:51:23 2009 From: marcel at frightanic.com (=?iso-8859-1?Q?Marcel_St=F6r?=) Date: Sun, 6 Dec 2009 20:51:23 +0100 Subject: [Moin-user] Installing MoinMoin on a typical web host In-Reply-To: <1260127913.25816.23.camel@x300> References: <2964CE47-974B-44E2-B9DC-7D2031C580DE@frightanic.com> <1260127913.25816.23.camel@x300> Message-ID: <79C246EB-46E1-450E-9E11-E109BEDB15FE@frightanic.com> On 06.12.2009, at 20:31, Thomas Waldmann wrote: > On Sun, 2009-12-06 at 13:32 +0100, Marcel St?r wrote: >> For someone coming from the PHP-corner going through the install docs >> at http://master19.moinmo.in/InstallDocs/ can be a somewhat >> intimidating experience. At least if the "1 minute MoinMoin install" >> doesn't suit you. > > Well, php is easy because your web hoster installed mod_php and > configured everything for you, so you can just drop in your php files > and it works. > > You could have a similar experience with mod_wsgi and WSGI python apps > (moin is one), but only if your hoster really cares about Python/WSGI > and installs/configures that for you. > > The bad news is that most hosters don't, but let you alone with slow > cgi > or rather complicated fastcgi. > >> I would like use MoinMoin on the hosting account with my ISP i.e. I >> don't run my own server. Therefore, I don't have admin rights, I >> can't >> control Apache by myself and I can't use a shell. > > That's not quite the most comfortable environment to install moin > into. > > I am not saying that it is impossible, but it is somehow like painting > the living room through the keyhole. The best approach to make that > not > a complete pain is maybe to replicate your hoster's setup locally, > make > it work locally and then, after you have all working, ftp everything > to > the other side. > >> FTP...I can also set up virtual directories (activating CGI and >> FastCGI for them) and I can configure mod_rewrite rules. > > For both cgi and fastcgi, with moin 1.9, you'll have to use some (e.g. > "flup") middleware to convert that to wsgi. Please read flup's and > apache's docs about that (and have a look into wiki/server/ > directory in > your moin download). As soon as you manage to run any (test) wsgi > app on > your host, you are ready for moin and for our docs. > >> Looking at Python as "just another scripting language" (I assume for >> those who love it it's a bit more ;-)) I assume that it should be >> possible to run MoinMoin in such a confined environment. I simply >> haven't found related hints the docs or the FAQ. > > We only document running moin as a wsgi app, because wsgi is our > interface to the outer world. > > We won't document how you have to use apache or flup (or any other web > server or middleware needed), because there is better docs for that > written by other people. > > BTW, moin 1.8.x still offers a direct (fast)cgi interface, but the > future (1.9 and beyond) will be wsgi, for good reasons. :) Ok, what I understood or rather "interpreted" going through the various installation documents: - if I can access and run myhost//wiki/server/test.wsgi once the archive is on the server I know that the host supports wsgi - then I'd have to follow http://moinmo.in/HowTo/Run%20Moin%20using%20the%20download%20archive because it's this document that describes the setup without setup.py Correct? Regards, Marcel -- Marcel St?r, http://www.frightanic.com Couchsurfing: http://www.couchsurfing.com/people/marcelstoer Skype: marcelstoer From tw-public at gmx.de Mon Dec 7 06:53:45 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 07 Dec 2009 12:53:45 +0100 Subject: [Moin-user] Installing MoinMoin on a typical web host In-Reply-To: <79C246EB-46E1-450E-9E11-E109BEDB15FE@frightanic.com> References: <2964CE47-974B-44E2-B9DC-7D2031C580DE@frightanic.com> <1260127913.25816.23.camel@x300> <79C246EB-46E1-450E-9E11-E109BEDB15FE@frightanic.com> Message-ID: <1260186825.881.2.camel@x300> > > The bad news is that most hosters don't, but let you alone with slow > > cgi or rather complicated fastcgi. !!! > Ok, what I understood or rather "interpreted" going through the > various installation documents: > - if I can access and run myhost//wiki/server/test.wsgi once the > archive is on the server I know that the host supports wsgi Yes. Depends on the hosters configuration, though. > - then I'd have to follow http://moinmo.in/HowTo/Run%20Moin%20using%20the%20download%20archive > because it's this document that describes the setup without setup.py That was written for 1.8, but is rather generic, so it still applies for 1.9 also. From roger.bos at rothschild.com Mon Dec 7 16:33:12 2009 From: roger.bos at rothschild.com (Bos, Roger) Date: Mon, 7 Dec 2009 16:33:12 -0500 Subject: [Moin-user] How to link to wiki when using DNS entry Message-ID: Hello, I run moin 1.8.5 called "testwiki" on our intranet on a server called rins0050. So the following address takes me to the wiki: http://rins0050/testwiki To make matters easier for users, I had our IT dept create a DNS entry called "pad" that takes the user to rins0050. This for fine for my web pages, but does work for my testwiki. The following link doesn't work: http://pad/testtwiki Anyone have any ideas on how I can get it to work? Thanks, Roger *************************************************************** This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No right to confidential or privileged treatment of this message is waived or lost by an error in transmission. If you have received this message in error, please immediately notify the the sender by e-mail, delete the message and all copies from your system and destroy any hard copies. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. **************************************************************** ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Tue Dec 8 02:53:52 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 08 Dec 2009 08:53:52 +0100 Subject: [Moin-user] How to link to wiki when using DNS entry In-Reply-To: References: Message-ID: <1260258832.18990.2.camel@x300> > I run moin 1.8.5 called "testwiki" on our intranet on a server called > rins0050. So the following address takes me to the wiki: > > http://rins0050/testwiki > > To make matters easier for users, I had our IT dept create a DNS entry > called "pad" that takes the user to rins0050. This for fine for my > web pages, but does work for my testwiki. The following link doesn't > work: > > http://pad/testtwiki > > Anyone have any ideas on how I can get it to work? Well, I guess it is not the typo (double-t in the middle of testwiki) that causes the fault, right? If it is not that and you are running a farm configuration, you maybe have to fix the farmconfig.py, so it also (or only) matches the new URL. From fpiat at klabs.be Tue Dec 8 03:10:33 2009 From: fpiat at klabs.be (Frank Lin PIAT) Date: Tue, 08 Dec 2009 09:10:33 +0100 Subject: [Moin-user] wikis URLs in farmconfig (moin 1.9.0) Message-ID: <1260259833.3974.756.camel@solid.paris.klabs.be> Hello, It seems there's a discrepancy in farmconfig.py[1] for moinmoin-1.9.0 : The documentation (comments) mention that > # * the right part does NOT include "http://" nor "https://" at > the beginning But a few line below, the example is: > #("wiki1", r"^http://wiki1\.example\.org/.*$"), BTW, I suggest that the example is changed to: > #("wiki1", r"^https?://wiki2\.example\.org/.*$"), Franklin [1] http://hg.moinmo.in/moin/1.9/file/f992fed6e94a/wiki/config/wikifarm/farmconfig.py [2] http://hg.moinmo.in/moin/1.8/file/tip/wiki/config/wikifarm/farmconfig.py From tw at waldmann-edv.de Tue Dec 8 06:17:40 2009 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Tue, 08 Dec 2009 12:17:40 +0100 Subject: [Moin-user] wikis URLs in farmconfig (moin 1.9.0) In-Reply-To: <1260259833.3974.756.camel@solid.paris.klabs.be> References: <1260259833.3974.756.camel@solid.paris.klabs.be> Message-ID: <1260271060.18990.4.camel@x300> Moin Franklin, > It seems there's a discrepancy in farmconfig.py[1] for moinmoin-1.9.0 : Thanks for reporting this, it is fixed by: http://hg.moinmo.in/moin/1.9/rev/a7477cf9c536 Cheers, Thomas From roger.bos at rothschild.com Tue Dec 8 07:36:46 2009 From: roger.bos at rothschild.com (Bos, Roger) Date: Tue, 8 Dec 2009 07:36:46 -0500 Subject: [Moin-user] How to link to wiki when using DNS entry In-Reply-To: <1260258832.18990.2.camel@x300> References: <1260258832.18990.2.camel@x300> Message-ID: Thomas, Yes, I had to add the URL to the farmconfig.py. Thanks so much for your help! Thanks, Roger -----Original Message----- From: Thomas Waldmann [mailto:tw-public at gmx.de] Sent: Tuesday, December 08, 2009 2:54 AM To: Bos, Roger Cc: moin-user at lists.sourceforge.net Subject: Re: [Moin-user] How to link to wiki when using DNS entry > I run moin 1.8.5 called "testwiki" on our intranet on a server called > rins0050. So the following address takes me to the wiki: > > http://rins0050/testwiki > > To make matters easier for users, I had our IT dept create a DNS entry > called "pad" that takes the user to rins0050. This for fine for my > web pages, but does work for my testwiki. The following link doesn't > work: > > http://pad/testtwiki > > Anyone have any ideas on how I can get it to work? Well, I guess it is not the typo (double-t in the middle of testwiki) that causes the fault, right? If it is not that and you are running a farm configuration, you maybe have to fix the farmconfig.py, so it also (or only) matches the new URL. *************************************************************** This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No right to confidential or privileged treatment of this message is waived or lost by an error in transmission. If you have received this message in error, please immediately notify the the sender by e-mail, delete the message and all copies from your system and destroy any hard copies. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. **************************************************************** ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ From hamjavar at unm.edu Tue Dec 8 11:03:36 2009 From: hamjavar at unm.edu (Farid Hamjavar) Date: Tue, 08 Dec 2009 09:03:36 -0700 Subject: [Moin-user] nested renaming Message-ID: <4B1E78D8.8070305@unm.edu> moin 1.8.4 Hello, I have a documentaion comprised of pages in which there linked pages and.... It's 4 or 5 level nested hierarchiy. How would I go about changing their names? I would hope that by changing the name of the top page, Moin will figure out the rest and chnage the names of all pages underneath ..... Is that true? Thanks, Farid From fpiat at klabs.be Thu Dec 10 02:19:59 2009 From: fpiat at klabs.be (Frank Lin PIAT) Date: Thu, 10 Dec 2009 08:19:59 +0100 Subject: [Moin-user] cookie_lifetime, anonymous_session_lifetime, and openid in MoinMoin 1.9 Message-ID: <1260429599.15218.76.camel@solid.paris.klabs.be> Hello, The variables cookie_lifetime and anonymous_session_lifetime have changed in an incompatible way in moin 1.9: in moin 1.8 [1], the variables use to be: cookie_lifetime = INTEGER anonymous_session_lifetime = INTEGER in moin 1.9 [2], the variables use to be: cookie_lifetime = TUPLE, like: (0, 12) anonymous_session_lifetime -> NOT USED. Make sure you update the variable in your configuration file, to avoid: 1. the Error File "/usr/lib/pymodules/python2.5/MoinMoin/user.py", line 874, in _wantTrail return (not self.valid and self._request.cfg.cookie_lifetime[0] # anon sessions enabled TypeError: 'int' object is unsubscriptable 2. broken OpenID authentication (??) Wiki translators: The Spanish, Chinese, Ukrainian, Portuguese and French wiki pages needs to be updated (search "cookie_lifetime" see [3]). For more information, see: http://moinmo.in/MoinMoinBugs/CookieLifetimeSmoothTransition Franklin [1] http://master18.moinmo.in/HelpOnSessions [2] http://master19.moinmo.in/HelpOnSessions [3] http://master19.moinmo.in/FrontPage?action=fullsearch&context=180&value=cookie_lifetime&fullsearch=Text From kdmoyers at gmail.com Thu Dec 10 15:41:00 2009 From: kdmoyers at gmail.com (Kirby Moyers) Date: Thu, 10 Dec 2009 15:41:00 -0500 Subject: [Moin-user] making a macro to tell the page rev number Message-ID: <912741790912101241n414f0d55mc798447d57d40f90@mail.gmail.com> I'm having trouble making a macro to tell the page rev number and last rev date. My short poor attempt is listed below. I am a fairly experienced coder, but have never worked with python before. The calculation of the rev number works sometimes, but other times makes an error "unsubscriptable", I guess because the expression did not return a list. Is there a more reliable way to get the rev number? The rev date calculation is just me taking shots in the dark. I have no firm idea how to find this value. Anyone got an idea how to find these two values? As last ditch, I guess I could try to go find the edit-log file and read out the last line, but that seemed to violate the general flow of the 1.8.5 moinmoin code. Thanks in advance for any help!! -Kirby from MoinMoin.wikiutil import get_unicode, get_bool, get_int, get_float Dependencies = [] generates_headings = False def macro_PageRevision(macro): # arguments passed in can be None or a unicode object Dependencies = ["pages"] # is this right?? # saw suggestion: macro.form.get("rev") which sometimes produces [u'25'] # saw suggestion: macro.request.page.rev which always produces 0 thisrev = int(macro.form.get("rev")[0])+1 # this actually worked sometimes thistim = macro.form.get('time', [''])[0] # this never worked return macro.formatter.text("Rev "+thisrev+" "+thistim) From tw-public at gmx.de Fri Dec 11 02:58:42 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 11 Dec 2009 08:58:42 +0100 Subject: [Moin-user] nested renaming In-Reply-To: <4B1E78D8.8070305@unm.edu> References: <4B1E78D8.8070305@unm.edu> Message-ID: <1260518322.18013.10.camel@x300> > I would hope that by changing the name of the top page, > Moin will figure out the rest and chnage the names of > all pages underneath ..... It optionally renames all sub-pages also. BUT: it won't fix the links that point to the renamed page. From matt.price at utoronto.ca Sat Dec 12 09:12:52 2009 From: matt.price at utoronto.ca (Matt Price) Date: Sat, 12 Dec 2009 09:12:52 -0500 Subject: [Moin-user] visual map of my wiki? Message-ID: <1260627172.2761.6226.camel@gont> Hi folks, I have a little project with a friend that started life as a kind of map of relationships using the bubbl.us mapping website (here's a picture: http://www.derailleur.org/images/bubblus_Hidden_Cameras.jpg ). But bubbl.us's interface is a little limiting, and I think the project makes more sense as a wiki, where nodes can be easily cross-linked and descriptions expanded arbitarily. So I'd like to create a wiki -- but then automatically generate something like the original map from the wiki links. I can imagine one might do this two ways -- either just by reading all the links in a wiki page, or by adding some kind of new field to a page that signals a relationship type, say: {relation:parent:WinnipegBabysitter} or something like that. Probably just organically following the links would be more interesting. Anyway I'm just beginning, don't have any experience with visualization tools, and it seems to me this is likely something that's already been done, and I'd just as soon not have to reinvent the wheel. So has anyone out there done something similar already? Thanks very much for your help! Matt -- Matt Price matt.price at utoronto.ca -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From matt.price at utoronto.ca Sat Dec 12 11:33:22 2009 From: matt.price at utoronto.ca (Matt Price) Date: Sat, 12 Dec 2009 11:33:22 -0500 Subject: [Moin-user] visual map of my wiki? Message-ID: <1260635602.2761.6812.camel@gont> Hi folks, I have a little project with a friend that started life as a kind of map of relationships using the bubbl.us mapping website (here's a picture: http://www.derailleur.org/images/bubblus_Hidden_Cameras.jpg ). But bubbl.us's interface is a little limiting, and I think the project makes more sense as a wiki, where nodes can be easily cross-linked and descriptions expanded arbitarily. So I'd like to create a wiki -- but then automatically generate something like the original map from the wiki links. I'm not at all familiar with Graphviz,and in fact have no experience with visualization software at all; but I see there are graphViz plugins for several popular wiki systems -- I use MoinMoin, but I guess it works for mediawiki, too. But most of the examples I find there are for static graphs, and I want to dynamically generate a graph of the whole wiki -- and maybe also smaller graphs that would go, say, atthe base of each page. Can you give me some hints for stariting out -- maybe links to other graphs that do similar things, or some such? It'd be a tremendous help. Thanks so much, Matt -- Matt Price matt.price at utoronto.ca -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From matt.price at utoronto.ca Sat Dec 12 11:36:12 2009 From: matt.price at utoronto.ca (Matt Price) Date: Sat, 12 Dec 2009 11:36:12 -0500 Subject: [Moin-user] visual map of my wiki? In-Reply-To: <1260635602.2761.6812.camel@gont> References: <1260635602.2761.6812.camel@gont> Message-ID: <1260635772.2761.6826.camel@gont> On Sat, 2009-12-12 at 11:33 -0500, Matt Price wrote: sorry, just discovered the graphviz plugin & was writing to graphviz. apologies for the duplicates! matt -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From kdmoyers at gmail.com Thu Dec 17 15:24:57 2009 From: kdmoyers at gmail.com (Kirby Moyers) Date: Thu, 17 Dec 2009 15:24:57 -0500 Subject: [Moin-user] making a macro to tell the page rev number In-Reply-To: <912741790912101241n414f0d55mc798447d57d40f90@mail.gmail.com> References: <912741790912101241n414f0d55mc798447d57d40f90@mail.gmail.com> Message-ID: <912741790912171224l3103678am84425987b4e551b8@mail.gmail.com> I think I've got it! see below I don't think I know what "Dependencies" is for though, and so that part is probably wrong. But the revision and date seem correct!! PageRevision.py from MoinMoin import wikiutil from MoinMoin.wikiutil import get_unicode, get_bool, get_int, get_float from MoinMoin.logfile import editlog Dependencies = [] generates_headings = False def macro_PageRevision(macro): request = macro.request pagename = request.page.page_name Dependencies = ["pages"] # is this right?? log = editlog.EditLog(request, rootpagename=pagename) for line in log.reverse(): rev = str(int(line.rev)) tim = request.user.getFormattedDateTime(wikiutil.version2timestamp(line.ed_time_usecs)) break return macro.formatter.text("Rev "+rev+" at "+tim) On Thu, Dec 10, 2009 at 3:41 PM, Kirby Moyers wrote: > I'm having trouble making a macro to tell the page rev number > and last rev date. ?My short poor attempt is listed below. ?I am a > fairly experienced coder, but have never worked with python before. > > The calculation of the rev number works sometimes, but > other times makes an error "unsubscriptable", I guess > because the expression did not return a list. ?Is there > a more reliable way to get the rev number? > > The rev date calculation is just me taking shots > in the dark. ?I have no firm idea how to find this value. > > Anyone got an idea how to find these two values? > > As last ditch, I guess I could try to go find the edit-log > file and read out the last line, but that seemed to violate > the general flow of the 1.8.5 moinmoin code. > > Thanks in advance for any help!! > -Kirby > > > from MoinMoin.wikiutil import get_unicode, get_bool, get_int, get_float > > Dependencies = [] > generates_headings = False > > def macro_PageRevision(macro): > ? ?# arguments passed in can be None or a unicode object > > ? ?Dependencies = ["pages"] # is this right?? > > ? ?# saw suggestion: macro.form.get("rev") ? which sometimes produces [u'25'] > ? ?# saw suggestion: macro.request.page.rev ?which always produces 0 > > ? ?thisrev = int(macro.form.get("rev")[0])+1 ? # this actually worked sometimes > ? ?thistim = macro.form.get('time', [''])[0] ? # this never worked > > ? ?return macro.formatter.text("Rev "+thisrev+" "+thistim) > From rick.vanderveer at gmail.com Thu Dec 17 16:11:36 2009 From: rick.vanderveer at gmail.com (Rick Vanderveer) Date: Thu, 17 Dec 2009 15:11:36 -0600 Subject: [Moin-user] PageComment2 update for Moin 1.9? Message-ID: <5c39e1ca0912171311j22294e12ja7ea40947c4a23a9@mail.gmail.com> While I have Moin 1.9 tested and running on my backup test server (and update instructions here for anyone else who may benefit http://moinmo.in/RickVanderveer/UpgradingFromMoin18ToMoin19), I cannot yet roll it out to our live production server because of one measly incompatible plugin: PageComment2 (found here: http://moinmo.in/MacroMarket/PageComment2). The error in the error logs is this: AttributeError: Macro instance has no attribute 'form' Anyone with any real python skills interested in updating this? Pretty please? I simply lack the programming skills to even know where to begin on tackling this... -Rick -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Fri Dec 18 03:44:39 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 18 Dec 2009 09:44:39 +0100 Subject: [Moin-user] PageComment2 update for Moin 1.9? In-Reply-To: <5c39e1ca0912171311j22294e12ja7ea40947c4a23a9@mail.gmail.com> References: <5c39e1ca0912171311j22294e12ja7ea40947c4a23a9@mail.gmail.com> Message-ID: <1261125879.27895.5.camel@x300> > AttributeError: Macro instance has no attribute 'form' macro.form is gone. This was deprecated since quite a while and because there is not only request.form now, but also request.args and request.values, we finally killed it. request.form = current POST form fields request.args = current URL args request.values = both mixed together http://moinmo.in/MoinMoinTodo/Release%201.9/FormReview From chris at edesix.com Mon Dec 21 16:58:16 2009 From: chris at edesix.com (Chris Paulson-Ellis) Date: Mon, 21 Dec 2009 21:58:16 +0000 Subject: [Moin-user] 'NoneType' object is unsubscriptable after 1.6 to 1.8 upgrade Message-ID: I just upgraded from 1.6 to 1.8 (fedora 10 to fedora 11 package moin-1.8.5-1.fc11) and applied the usual upgrade steps (replacing the underlay, updating moin.wsgi and wikiconfig.py, etc.). Now I'm getting a Python exception on any page access: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/MoinMoin/request/__init__.py", line 1311, in run handler(self.page.page_name, self) File "/usr/lib/python2.6/site-packages/MoinMoin/action/__init__.py", line 253, in do_show content_only=content_only, File "/usr/lib/python2.6/site-packages/MoinMoin/Page.py", line 1173, in send_page html_head=html_head, File "/usr/lib/python2.6/site-packages/MoinMoin/theme/__init__.py", line 1578, in send_title page_front_page = wikiutil.getFrontPage(request).page_name File "/usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py", line 787, in getFrontPage return getLocalizedPage(request, request.cfg.page_front_page) File "/usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py", line 756, in getLocalizedPage i18n_name = request.getText(pagename) File "/usr/lib/python2.6/site-packages/MoinMoin/request/__init__.py", line 248, in <lambda> self.getText = lambda text, i18n=self.i18n, request=self, lang=self.lang, **kv: i18n.getText(text, request, lang, **kv) File "/usr/lib/python2.6/site-packages/MoinMoin/i18n/__init__.py", line 285, in getText language = languages[lang]['x-language-in-english'] TypeError: 'NoneType' object is unsubscriptable I've attached the full error page. Can anyone who knows the code make sense of this? Thanks, Chris. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Mon Dec 21 18:26:16 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 22 Dec 2009 00:26:16 +0100 Subject: [Moin-user] 'NoneType' object is unsubscriptable after 1.6 to 1.8 upgrade In-Reply-To: References: Message-ID: <1261437976.9804.4.camel@x300> > I just upgraded from 1.6 to 1.8 (fedora 10 to fedora 11 package > moin-1.8.5-1.fc11) and applied the usual upgrade steps (replacing the > underlay, updating moin.wsgi and wikiconfig.py, etc.). Maybe add "moin ... cleancache" to the list. :) From chris at edesix.com Mon Dec 21 20:08:51 2009 From: chris at edesix.com (Chris Paulson-Ellis) Date: Tue, 22 Dec 2009 01:08:51 +0000 Subject: [Moin-user] 'NoneType' object is unsubscriptable after 1.6 to 1.8 upgrade In-Reply-To: <1261437976.9804.4.camel@x300> References: <1261437976.9804.4.camel@x300> Message-ID: >> I just upgraded from 1.6 to 1.8 (fedora 10 to fedora 11 package >> moin-1.8.5-1.fc11) and applied the usual upgrade steps (replacing the >> underlay, updating moin.wsgi and wikiconfig.py, etc.). > > Maybe add "moin ... cleancache" to the list. :) > Yep, did that! From chris at edesix.com Tue Dec 22 07:08:13 2009 From: chris at edesix.com (Chris Paulson-Ellis) Date: Tue, 22 Dec 2009 12:08:13 +0000 Subject: [Moin-user] 'NoneType' object is unsubscriptable after 1.6 to 1.8 upgrade [FIXED] In-Reply-To: References: Message-ID: Chris Paulson-Ellis wrote: > I just upgraded from 1.6 to 1.8 (fedora 10 to fedora 11 package > moin-1.8.5-1.fc11) and applied the usual upgrade steps (replacing the > underlay, updating moin.wsgi and wikiconfig.py, etc.). > > Now I'm getting a Python exception on any page access: > > Traceback (most recent call last): [snip] > File "/usr/lib/python2.6/site-packages/MoinMoin/i18n/__init__.py", > line 285, in getText > language = languages[lang]['x-language-in-english'] > TypeError: 'NoneType' object is unsubscriptable I fixed my problem by doing "chown -R apache:apache data/cache", the redoing the "moin ... cleancache". The fedora package update seems to have resulted in the cache/__common__/i18n directory being owned by root, which caused the cache read/write code in i18n/__init__.py to fail. I would have found this easier to debug if the cache read/write code had logged some errors due to the permissions problem. Chris. From tw-public at gmx.de Tue Dec 22 10:30:08 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 22 Dec 2009 16:30:08 +0100 Subject: [Moin-user] 'NoneType' object is unsubscriptable after 1.6 to 1.8 upgrade [FIXED] In-Reply-To: References: Message-ID: <1261495808.27647.3.camel@server.firma.waldmann-edv.de> > I fixed my problem by doing "chown -R apache:apache data/cache", > the redoing the "moin ... cleancache". The fedora package update > seems to have resulted in the cache/__common__/i18n directory being > owned by root, which caused the cache read/write code in i18n/__init__.py to fail. Oops. Maybe report a bug to Fedora about that. They should either run chown also or execute moin script stuff under the user apache. > I would have found this easier to debug if the cache read/write code had logged > some errors due to the permissions problem. I'll check that. From mark at ucar.edu Wed Dec 23 14:12:01 2009 From: mark at ucar.edu (Mark Bradford) Date: Wed, 23 Dec 2009 12:12:01 -0700 Subject: [Moin-user] Need help migrating to WSGI Message-ID: <4B326B81.3020109@ucar.edu> I have a collection of MoinMoin wikis, running a way-old version, so I want to update them to 1.9.0. At the same time, since it seems to be the way of the future, I'm shifting from mod_python to WSGI. My first attempt was to configure them using FarmConfig, but rather than have them set up as wiki1.example.com wiki2.example.com wiki3.example.com they're configured as example.com/wiki1/FrontPage example.com/wiki2/FrontPage example.com/wiki3/FrontPage so FarmConfig didn't work, since it doesn't seem to preserve the 'wiki1' prefix to the page URLs. My next attempt was to put WSGIScriptAlias /wiki1 /path/to/share/moin/server/moin_wiki1.wsgi WSGIScriptAlias /wiki2 /path/to/share/moin/server/moin_wiki2.wsgi WSGIScriptAlias /wiki3 /path/to/share/moin/server/moin_wiki3.wsgi into the Apache config, with the appropriate data_dir configured in each copy of moin.wsgi. That seems to work for viewing pages anonymously, but when I log in, it sticks for exactly one page view, then I'm logged back out again. I found this page: http://moinmo.in/MoinMoinBugs/1.9WikiFarmSessionDirHandlingBroken but applying that fix didn't seem to make a difference. Can anyone shed some light on this issue? My fallback plan is to go ahead and configure wiki1.example.com, etc, and then proxy from example.com/wiki1, but that seems awfully convoluted... Thank you! -- Mark Bradford, NCAR/EOL/CDS/CTM (303) 497-8169 From mark at ucar.edu Wed Dec 23 17:28:48 2009 From: mark at ucar.edu (Mark Bradford) Date: Wed, 23 Dec 2009 15:28:48 -0700 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: <1261606632.1263.34.camel@lestat.vampyre.home> References: <4B326B81.3020109@ucar.edu> <1261606632.1263.34.camel@lestat.vampyre.home> Message-ID: <4B3299A0.70108@ucar.edu> Mail at Heavy.ch wrote: > Am Mittwoch, den 23.12.2009, 12:12 -0700 schrieb Mark Bradford: >> My next attempt was to put >> >> WSGIScriptAlias /wiki1 /path/to/share/moin/server/moin_wiki1.wsgi >> WSGIScriptAlias /wiki2 /path/to/share/moin/server/moin_wiki2.wsgi >> WSGIScriptAlias /wiki3 /path/to/share/moin/server/moin_wiki3.wsgi > > only one is enough! If you do not want separate the wikis by hostname > (like wiki1.example.com), but do seperate those with a directory name > (like example.com/wiki), you can use WSGIScriptAliasMatch. See here some > configuration hints: > http://code.google.com/p/modwsgi/wiki/IntegrationWithMoinMoin Marcle, thanks for your reply! I spotted that "IntegrationWithMoinMoin" page, actually, but it seems to be doing something very similar to what I'm doing above -- it just looks like a single line because it's doing regular expression matching. You still need a new something.wsgi script for each wiki instance. I'll try grabbing the code from Mercurial, thank you! -- Mark Bradford, NCAR/EOL/CDS/CTM (303) 497-8169 From mark at ucar.edu Wed Dec 23 17:36:22 2009 From: mark at ucar.edu (Mark Bradford) Date: Wed, 23 Dec 2009 15:36:22 -0700 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: <4B3299A0.70108@ucar.edu> References: <4B326B81.3020109@ucar.edu> <1261606632.1263.34.camel@lestat.vampyre.home> <4B3299A0.70108@ucar.edu> Message-ID: <4B329B66.9080805@ucar.edu> Mark Bradford wrote: > I'll try grabbing the code from Mercurial, thank you! ...Sadly, that doesn't seem to rectify the issue. -- Mark Bradford, NCAR/EOL/CDS/CTM (303) 497-8169 From mail at heavy.ch Wed Dec 23 17:37:58 2009 From: mail at heavy.ch (Mail@Heavy.ch) Date: Wed, 23 Dec 2009 23:37:58 +0100 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: <4B3299A0.70108@ucar.edu> References: <4B326B81.3020109@ucar.edu> <1261606632.1263.34.camel@lestat.vampyre.home> <4B3299A0.70108@ucar.edu> Message-ID: <1261607878.1263.58.camel@lestat.vampyre.home> Am Mittwoch, den 23.12.2009, 15:28 -0700 schrieb Mark Bradford: > Mail at Heavy.ch wrote: > > > Am Mittwoch, den 23.12.2009, 12:12 -0700 schrieb Mark Bradford: > > >> My next attempt was to put > >> > >> WSGIScriptAlias /wiki1 /path/to/share/moin/server/moin_wiki1.wsgi > >> WSGIScriptAlias /wiki2 /path/to/share/moin/server/moin_wiki2.wsgi > >> WSGIScriptAlias /wiki3 /path/to/share/moin/server/moin_wiki3.wsgi > > > > only one is enough! If you do not want separate the wikis by hostname > > (like wiki1.example.com), but do seperate those with a directory name > > (like example.com/wiki), you can use WSGIScriptAliasMatch. See here some > > configuration hints: > > http://code.google.com/p/modwsgi/wiki/IntegrationWithMoinMoin > > Marcle, thanks for your reply! I spotted that "IntegrationWithMoinMoin" > page, actually, but it seems to be doing something very similar to what > I'm doing above -- it just looks like a single line because it's doing > regular expression matching. You still need a new something.wsgi script > for each wiki instance. > > I'll try grabbing the code from Mercurial, thank you! > well, I running a farmwiki with different subdomains (like wiki1.example.com), and I have only one WSGIScriptAlias and one central moin.wsgi. the key is that you include the correct sys.path.insert to your farmconfig dir, in your wsgi file, like: sys.path.insert(0, '/var/www/moinmoin/config') bye Marcel From mail at heavy.ch Wed Dec 23 17:42:38 2009 From: mail at heavy.ch (Mail@Heavy.ch) Date: Wed, 23 Dec 2009 23:42:38 +0100 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: <4B329B66.9080805@ucar.edu> References: <4B326B81.3020109@ucar.edu> <1261606632.1263.34.camel@lestat.vampyre.home> <4B3299A0.70108@ucar.edu> <4B329B66.9080805@ucar.edu> Message-ID: <1261608158.1263.65.camel@lestat.vampyre.home> Am Mittwoch, den 23.12.2009, 15:36 -0700 schrieb Mark Bradford: > Mark Bradford wrote: > > > I'll try grabbing the code from Mercurial, thank you! > > ...Sadly, that doesn't seem to rectify the issue. > maybye login to irc and ask somebody there, maybe they can help you directly: http://moinmo.in/MoinMoinChat bye Marcel From mail at heavy.ch Wed Dec 23 17:17:12 2009 From: mail at heavy.ch (Mail@Heavy.ch) Date: Wed, 23 Dec 2009 23:17:12 +0100 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: <4B326B81.3020109@ucar.edu> References: <4B326B81.3020109@ucar.edu> Message-ID: <1261606632.1263.34.camel@lestat.vampyre.home> Hi Mark See some feedbacks directly in your mail... Am Mittwoch, den 23.12.2009, 12:12 -0700 schrieb Mark Bradford: > My first attempt was to configure them using FarmConfig, but rather than > have them set up as > > wiki1.example.com > wiki2.example.com > wiki3.example.com > > they're configured as > > example.com/wiki1/FrontPage > example.com/wiki2/FrontPage > example.com/wiki3/FrontPage be aware that with 1.9.x you have to add the protocol also, like: ^https?://www\.example\.com/wiki1/.*$ see here: http://hg.moinmo.in/moin/1.9/rev/a7477cf9c536 > My next attempt was to put > > WSGIScriptAlias /wiki1 /path/to/share/moin/server/moin_wiki1.wsgi > WSGIScriptAlias /wiki2 /path/to/share/moin/server/moin_wiki2.wsgi > WSGIScriptAlias /wiki3 /path/to/share/moin/server/moin_wiki3.wsgi only one is enough! If you do not want separate the wikis by hostname (like wiki1.example.com), but do seperate those with a directory name (like example.com/wiki), you can use WSGIScriptAliasMatch. See here some configuration hints: http://code.google.com/p/modwsgi/wiki/IntegrationWithMoinMoin > > into the Apache config, with the appropriate data_dir configured in each > copy of moin.wsgi. That seems to work for viewing pages anonymously, > but when I log in, it sticks for exactly one page view, then I'm logged > back out again. > > I found this page: > > http://moinmo.in/MoinMoinBugs/1.9WikiFarmSessionDirHandlingBroken > > but applying that fix didn't seem to make a difference. > > Can anyone shed some light on this issue? My fallback plan is to go > ahead and configure wiki1.example.com, etc, and then proxy from > example.com/wiki1, but that seems awfully convoluted... > > Thank you! > you may download directly the latest version from hg, because the session bug was fixed a few days ago, see here: http://hg.moinmo.in/moin/1.9/ bye Marcle From mark at ucar.edu Thu Dec 24 10:55:09 2009 From: mark at ucar.edu (Mark Bradford) Date: Thu, 24 Dec 2009 08:55:09 -0700 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: <1261607878.1263.58.camel@lestat.vampyre.home> References: <4B326B81.3020109@ucar.edu> <1261606632.1263.34.camel@lestat.vampyre.home> <4B3299A0.70108@ucar.edu> <1261607878.1263.58.camel@lestat.vampyre.home> Message-ID: <4B338EDD.8040300@ucar.edu> Mail at Heavy.ch wrote: > well, I running a farmwiki with different subdomains (like > wiki1.example.com), and I have only one WSGIScriptAlias and one central > moin.wsgi. the key is that you include the correct sys.path.insert to > your farmconfig dir, in your wsgi file, like: > > sys.path.insert(0, '/var/www/moinmoin/config') Yes, I understand that; I was trying for a configuration *without* using different host names. I looked in on the IRC channel but it was pretty silent; I may try again next week. Thanks for your responses! -- Mark Bradford, NCAR/EOL/CDS/CTM (303) 497-8169 From rick.vanderveer at gmail.com Thu Dec 24 13:54:29 2009 From: rick.vanderveer at gmail.com (Rick Vanderveer) Date: Thu, 24 Dec 2009 13:54:29 -0500 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: <4B338EDD.8040300@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> Message-ID: <44F48CE2-22A4-47CC-82E1-23787FF0B474@gmail.com> Mark, I have my wiki farm configured identically to how you are describing yours. http://wiki.example.com/project1 http://wiki.example.com/project2 Etc. 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. - Rick On Dec 24, 2009, at 10:55 AM, Mark Bradford wrote: > Mail at Heavy.ch wrote: > >> well, I running a farmwiki with different subdomains (like >> wiki1.example.com), and I have only one WSGIScriptAlias and one >> central >> moin.wsgi. the key is that you include the correct sys.path.insert to >> your farmconfig dir, in your wsgi file, like: >> >> sys.path.insert(0, '/var/www/moinmoin/config') > > Yes, I understand that; I was trying for a configuration *without* > using > different host names. > > I looked in on the IRC channel but it was pretty silent; I may try > again > next week. > > Thanks for your responses! > > -- > 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 mark at ucar.edu Thu Dec 24 15:02:36 2009 From: mark at ucar.edu (Mark Bradford) Date: Thu, 24 Dec 2009 13:02:36 -0700 Subject: [Moin-user] Need help migrating to WSGI In-Reply-To: <44F48CE2-22A4-47CC-82E1-23787FF0B474@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> Message-ID: <4B33C8DC.4090303@ucar.edu> 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 From mailinglists at xgm.de Fri Dec 25 11:50:53 2009 From: mailinglists at xgm.de (Florian Lindner) Date: Fri, 25 Dec 2009 17:50:53 +0100 Subject: [Moin-user] Upgrade to 1.9 problems Message-ID: <200912251750.53629.mailinglists@xgm.de> Hello, I just tried to upgrade from 1.8 to 1.9. I run the migration script and replaced the executable code as well as the moin.wsgi. But I get an server error and an error.log [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] mod_wsgi (pid=25777): Exception occurred processing WSGI script '/home/flindner/xgm.de/pub/rezepte'. [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] Traceback (most recent call last): [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/support/werkzeug/utils.py", line 248, in __call__ [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] return self.app(environ, start_response) [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 250, in __call__ [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] context = init(request) [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 33, in init [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] context.lang = setup_i18n_preauth(context) [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 224, in setup_i18n_preauth [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. Thanks, Florian From stellars at interia.pl Fri Dec 25 14:02:08 2009 From: stellars at interia.pl (Konrad Jelen) Date: Fri, 25 Dec 2009 20:02:08 +0100 Subject: [Moin-user] Upgrade to 1.9 problems In-Reply-To: <200912251750.53629.mailinglists@xgm.de> References: <200912251750.53629.mailinglists@xgm.de> Message-ID: hi, may I ask - what platform/os do you use? Is it Mac? I had similar problem with snow leopard, yet I have found a solution already. Cheers -- Konrad Jelen stellars at interia.pl On 25 Dec 2009, at 17:50, Florian Lindner wrote: > Hello, > > I just tried to upgrade from 1.8 to 1.9. I run the migration script and replaced the executable code as well as the moin.wsgi. But I get an server error and an error.log > > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] mod_wsgi (pid=25777): Exception occurred processing WSGI script '/home/flindner/xgm.de/pub/rezepte'. > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] Traceback (most recent call last): > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/support/werkzeug/utils.py", line 248, in __call__ > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] return self.app(environ, start_response) > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 250, in __call__ > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] context = init(request) > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 33, in init > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] context.lang = setup_i18n_preauth(context) > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 224, in setup_i18n_preauth > [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. > > Thanks, > > Florian > > ------------------------------------------------------------------------------ > 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 ---------------------------------------------------------------------- Milosc, praca, pieniadze. Sprawdz swoj horoskop na dzis >> http://link.interia.pl/f2531 From mailinglists at xgm.de Sat Dec 26 03:22:30 2009 From: mailinglists at xgm.de (Florian Lindner) Date: Sat, 26 Dec 2009 09:22:30 +0100 Subject: [Moin-user] Upgrade to 1.9 problems In-Reply-To: References: <200912251750.53629.mailinglists@xgm.de> Message-ID: <200912260922.30658.mailinglists@xgm.de> Am Freitag, 25. Dezember 2009 20:02:08 schrieb Konrad Jelen: > hi, > > may I ask - what platform/os do you use? Is it Mac? I had similar problem with snow leopard, yet I have found a solution already. Hello! It is a Debian Lenny Linux system. What was the solution in your case? Regards, Florian > On 25 Dec 2009, at 17:50, Florian Lindner wrote: > > > Hello, > > > > I just tried to upgrade from 1.8 to 1.9. I run the migration script and replaced the executable code as well as the moin.wsgi. But I get an server error and an error.log > > > > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] mod_wsgi (pid=25777): Exception occurred processing WSGI script '/home/flindner/xgm.de/pub/rezepte'. > > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] Traceback (most recent call last): > > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/support/werkzeug/utils.py", line 248, in __call__ > > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] return self.app(environ, start_response) > > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 250, in __call__ > > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] context = init(request) > > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 33, in init > > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] context.lang = setup_i18n_preauth(context) > > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 224, in setup_i18n_preauth > > [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. > From stellars at interia.pl Sat Dec 26 14:02:55 2009 From: stellars at interia.pl (Konrad Jelen) Date: Sat, 26 Dec 2009 20:02:55 +0100 Subject: [Moin-user] Upgrade to 1.9 problems In-Reply-To: <200912260922.30658.mailinglists@xgm.de> References: <200912251750.53629.mailinglists@xgm.de> <200912260922.30658.mailinglists@xgm.de> Message-ID: Hi. I had this problem on my mac - it was caused by some not-loaded apache2 server modules. I have noticed, that if I disable Bonjour module, 1.8.x wsgi version works fine while 1.9 doesn't. Entries in the server error logs looked similar. Cheers -- Konrad Jelen stellars at interia.pl On 26 Dec 2009, at 09:22, Florian Lindner wrote: > Am Freitag, 25. Dezember 2009 20:02:08 schrieb Konrad Jelen: >> hi, >> >> may I ask - what platform/os do you use? Is it Mac? I had similar problem with snow leopard, yet I have found a solution already. > > Hello! > > It is a Debian Lenny Linux system. What was the solution in your case? > > Regards, > > Florian > >> On 25 Dec 2009, at 17:50, Florian Lindner wrote: >> >>> Hello, >>> >>> I just tried to upgrade from 1.8 to 1.9. I run the migration script and replaced the executable code as well as the moin.wsgi. But I get an server error and an error.log >>> >>> [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] mod_wsgi (pid=25777): Exception occurred processing WSGI script '/home/flindner/xgm.de/pub/rezepte'. >>> [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] Traceback (most recent call last): >>> [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/support/werkzeug/utils.py", line 248, in __call__ >>> [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] return self.app(environ, start_response) >>> [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 250, in __call__ >>> [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] context = init(request) >>> [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 33, in init >>> [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] context.lang = setup_i18n_preauth(context) >>> [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] File "/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 224, in setup_i18n_preauth >>> [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. > >> ---------------------------------------------------------------------- Milosc, praca, pieniadze. Sprawdz swoj horoskop na dzis >> http://link.interia.pl/f2531 From tw-public at gmx.de Sat Dec 26 17:00:27 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Sat, 26 Dec 2009 23:00:27 +0100 Subject: [Moin-user] Upgrade to 1.9 problems In-Reply-To: <200912251750.53629.mailinglists@xgm.de> References: <200912251750.53629.mailinglists@xgm.de> Message-ID: <1261864827.20176.4.camel@x300> > [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 From lists at zopyx.com Sun Dec 27 07:34:24 2009 From: lists at zopyx.com (Andreas Jung) Date: Sun, 27 Dec 2009 13:34:24 +0100 Subject: [Moin-user] Creating new wikis dynmaically Message-ID: <4B375450.40207@zopyx.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, I am currently checking the options for integrating MoinMoin with the Plone CMS. Users should be able to create Wikis in the same way like standard Plone content (folders, pages, images etc.). Is there some way creating new wikis (not wiki pages) (e.g. through the XMLRPC API) or does it require a manual configuration (e.g. through farmconfig.py)? Andreas - -- ZOPYX Ltd. & Co KG \ zopyx group Charlottenstr. 37/1 \ The full-service network for your D-72070 T?bingen \ Python, Zope and Plone projects www.zopyx.com, info at zopyx.com \ www.zopyxgroup.com - ------------------------------------------------------------------------ E-Publishing, Python, Zope & Plone development, Consulting -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAks3VFAACgkQCJIWIbr9KYxDfACfa5TTtC3bRozVFNnlpBmss7W4 o1kAn3Jig7++zAmOlmPV0uuRKQXYjKk3 =aMjy -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: lists.vcf Type: text/x-vcard Size: 316 bytes Desc: not available URL: From tw-public at gmx.de Mon Dec 28 05:28:03 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 28 Dec 2009 11:28:03 +0100 Subject: [Moin-user] Creating new wikis dynmaically In-Reply-To: <4B375450.40207@zopyx.com> References: <4B375450.40207@zopyx.com> Message-ID: <1261996083.4378.4.camel@x300> > Users should be able to create Wikis in the same way like standard > Plone content > (folders, pages, images etc.). Is there some way creating new wikis > (not wiki pages) > (e.g. through the XMLRPC API) No. > or does it require a manual configuration (e.g. through farmconfig.py)? With the moin release code, you need farmconfig.py + config modules referenced from there. A moin config is just a python module with a Config class in it. moin first imports farmconfig, then the wiki config module it found by matching the URL regex. If you do some generally interesting hacks for autocreating wikis (that is not only usable for plone), join us on #moin-dev on freenode irc. From kai at aplteam.com Mon Dec 28 05:23:10 2009 From: kai at aplteam.com (Kai Jaeger) Date: Mon, 28 Dec 2009 10:23:10 +0000 Subject: [Moin-user] Search seems to have a problem Message-ID: <580814a00912280223h6620de69kaa294d303368446a@mail.gmail.com> on http://aplwiki.com there is a page with the title "Open Source APL: NARS2000" Now when I am entering "Open Source APL" into the "search for title" box it finds only the page OpenSourceAplStandards A full text search doesn't work either. Is this a bug or a feature? Kai From tw-public at gmx.de Mon Dec 28 06:14:17 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 28 Dec 2009 12:14:17 +0100 Subject: [Moin-user] Search seems to have a problem In-Reply-To: <580814a00912280223h6620de69kaa294d303368446a@mail.gmail.com> References: <580814a00912280223h6620de69kaa294d303368446a@mail.gmail.com> Message-ID: <1261998857.4378.6.camel@x300> > on > > http://aplwiki.com > > there is a page with the title > > "Open Source APL: NARS2000" I didn't see such a pagename there on TitleIndex. From kai at aplteam.com Mon Dec 28 09:12:15 2009 From: kai at aplteam.com (Kai Jaeger) Date: Mon, 28 Dec 2009 14:12:15 +0000 Subject: [Moin-user] Search seems to have a problem In-Reply-To: <1261998857.4378.6.camel@x300> References: <580814a00912280223h6620de69kaa294d303368446a@mail.gmail.com> <1261998857.4378.6.camel@x300> Message-ID: <580814a00912280612q2c7cc39du4684277d7326db47@mail.gmail.com> Thanks for your efforts, Marcel and Thomas So it's partly me - I wrongly assumed that the header matches the page name as it should but it doesn't. However, why is the full text search not working either? The first sentence of that page reads "NARS2000 is an Open Source APL." Kai On Mon, Dec 28, 2009 at 11:14, Thomas Waldmann wrote: >> on >> >> http://aplwiki.com >> >> there is a page with the title >> >> "Open Source APL: NARS2000" > > I didn't see such a pagename there on TitleIndex. > > > From mailinglists at xgm.de Mon Dec 28 12:03:59 2009 From: mailinglists at xgm.de (Florian Lindner) Date: Mon, 28 Dec 2009 18:03:59 +0100 Subject: [Moin-user] Upgrade to 1.9 problems In-Reply-To: <1261864827.20176.4.camel@x300> References: <200912251750.53629.mailinglists@xgm.de> <1261864827.20176.4.camel@x300> Message-ID: <200912281803.59697.mailinglists@xgm.de> 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 Thanks a lot, Florian From tw-public at gmx.de Mon Dec 28 12:29:45 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 28 Dec 2009 18:29:45 +0100 Subject: [Moin-user] Search seems to have a problem In-Reply-To: <580814a00912280223h6620de69kaa294d303368446a@mail.gmail.com> References: <580814a00912280223h6620de69kaa294d303368446a@mail.gmail.com> Message-ID: <1262021385.14054.0.camel@x300> > on > > http://aplwiki.com > > there is a page with the title > > "Open Source APL: NARS2000" > > Now when I am entering "Open Source APL" into the "search for title" > box it finds only the page > > OpenSourceAplStandards > > A full text search doesn't work either. Full text search works for me and finds the NARS2000 page. From kai at aplteam.com Mon Dec 28 13:17:36 2009 From: kai at aplteam.com (Kai Jaeger) Date: Mon, 28 Dec 2009 18:17:36 +0000 Subject: [Moin-user] Search seems to have a problem In-Reply-To: <1262021385.14054.0.camel@x300> References: <580814a00912280223h6620de69kaa294d303368446a@mail.gmail.com> <1262021385.14054.0.camel@x300> Message-ID: <580814a00912281017x4a2b5f9eg2cc32109c71adc06@mail.gmail.com> Apparently I have not managed to scroll to the very end of the second and last page of hits - and that's where it is, the page I was looking for. Although I would admire a hit list putting a page into a more prominent place which has all the magic words in both, the page header and the first sentence. Feature request?! On Mon, Dec 28, 2009 at 17:29, Thomas Waldmann wrote: >> on >> >> http://aplwiki.com >> >> there is a page with the title >> >> "Open Source APL: NARS2000" >> >> Now when I am entering "Open Source APL" into the "search for title" >> box it finds only the page >> >> OpenSourceAplStandards >> >> A full text search doesn't work either. > > Full text search works for me and finds the NARS2000 page. > > > > ------------------------------------------------------------------------------ > 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 mailinglists at xgm.de Wed Dec 30 13:03:30 2009 From: mailinglists at xgm.de (Florian Lindner) Date: Wed, 30 Dec 2009 19:03:30 +0100 Subject: [Moin-user] Upgrade to 1.9 problems In-Reply-To: <200912281803.59697.mailinglists@xgm.de> References: <200912251750.53629.mailinglists@xgm.de> <1261864827.20176.4.camel@x300> <200912281803.59697.mailinglists@xgm.de> Message-ID: <200912301903.30306.mailinglists@xgm.de> 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? :-/ Florian From mail at heavy.ch Wed Dec 30 16:08:06 2009 From: mail at heavy.ch (Mail@Heavy.ch) Date: Wed, 30 Dec 2009 22:08:06 +0100 Subject: [Moin-user] Upgrade to 1.9 problems In-Reply-To: <200912301903.30306.mailinglists@xgm.de> References: <200912251750.53629.mailinglists@xgm.de> <1261864827.20176.4.camel@x300> <200912281803.59697.mailinglists@xgm.de> <200912301903.30306.mailinglists@xgm.de> Message-ID: <1262207286.2585.10.camel@lestat.vampyre.home> 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? 4. Did you also clean the cache of your wiki? 5. Do you running latest WSGI 3.1 or atleast 2.5 or higher? 6. maybe not only replace, but reinstall everything with --force bye Marcel > > Florian > > ------------------------------------------------------------------------------ > 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