From maxb at f2s.com Sun Nov 1 11:55:03 2009 From: maxb at f2s.com (Max Bowsher) Date: Sun, 01 Nov 2009 16:55:03 +0000 Subject: [Moin-user] Removal of ability to use GivenAuth, formerly HTTPAuth, via passed Authorization header Message-ID: <4AEDBD67.9080500@f2s.com> I have just discovered that Moin 1.9 drops the ability to pass an authenticated identity to the Moin standalone server using an HTTP Basic auth Authorization header. An example whole-system scenario where this is useful is a front-end Apache performing HTTP Basic auth, and proxying the resultant request to a standalone-server Moin running bound to the localhost IP address only. Please could this feature be reinstated? Thanks, Max. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: OpenPGP digital signature URL: From maxb at f2s.com Sun Nov 1 12:52:36 2009 From: maxb at f2s.com (Max Bowsher) Date: Sun, 01 Nov 2009 17:52:36 +0000 Subject: [Moin-user] Proper timezone support using pytz Message-ID: <4AEDCAE4.80101@f2s.com> I have just finished an initial draft of a patch to give MoinMoin proper timezone support using pytz. (http://paste.ubuntu.com/306824/) If you're not aware, the problem with the existing timezone support is that it just allows configuration of a naive offset from UTC, which means every user needs to reconfigure their timezone every time they enter or exit DST. I have a few questions on the preferred way to proceed: One option would be for MoinMoin to require pytz - this has the advantage of making the code simpler, as it is not necessary to maintain parallel codepaths. Alternatively, I've currently got the patch set up to conditionally import pytz - but the migration corner cases, which I've yet to consider carefully, are more difficult this way, and I'm sceptical that the extra complexity is worth it. Another issue is user profile migration: I'm currently assuming that user profiles will be left containing and using their tz_offset immediately after an upgrade, and when users edit their profiles, they will get migrated to a named timezone. but: 1) Do I bother writing code specifically to allow people to enter and save the user prefs page (to change other prefs) without setting a timezone? (Or just default it to UTC and hope they set it properly whilst they're there) 2) Do I bother considering the potential for reverse-migration (e.g. 1.9 -> 1.8 rollback, or 1.9-with-pytz -> 1.9-without-pytz if we go the pytz as optional dependency route) ? Options would be: * Delete the tz_offset from user profiles when edited after upgrade. If you migrate back, users end up with a defaulted tz_offset. * Keep the old tz_offset lying around unused just in case. * Actually make an effort to update the tz_offset using the base offset of the timezone when the user reconfigures their timezone. I'm not a fan of this, as due to DST, it'll be a lie for half of the year anyway. Thanks, Max. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: OpenPGP digital signature URL: From waqas805 at hotmail.com Mon Nov 2 05:20:14 2009 From: waqas805 at hotmail.com (waqas ahmad) Date: Mon, 2 Nov 2009 11:20:14 +0100 Subject: [Moin-user] Feedback after completing one year Message-ID: Hi to All, I am administrating moinmoin engine for our company since last year. I collected some information about our wiki in the feedback round in our company. Wiki Specification:- Moinmoin_184 Apache Service Apache/2.2.8 (Win32) mod_ssl/2.2.8 OpenSSL/0.9.8g mod_wsgi/2.3 Python/2.5.2 mod_auth_sspi/1.0.4 Feedback There are 60 users in our wiki and they can write in wiki. And other near to 100 users, they can only read our wiki. I think the users will increase in the future and it can go 300-users till the end of 2010. Feedback round was really good, what I got from my wiki users. There are some Issues, which I know that moinmoin is working on those Issues. But I don?t know about the following Issues. 1. There is big problem for normal user in our company and the problem is ?GUI-Editor?. The expert user can also write in Text-Editor (maximum user 10) and others always use GUI-Editor to write the documents. Whenever a user writes a document with the help of ?GUI-Editor?, he/she needs support/help from administrators and it takes much time. Maybe for normal three pages (word-pages) need two hours (Off course, it depends on the formatting and diagrams and also depends on occurring the BUGs of GUI). I want to ask from moinmoin team that there is any plan to improve GUI-Editor in the next year. 2. The second problem is the page with many images. I think that moinmoin team is aware of this problem. a. When I have many images (60 pictures) on wiki page. Then wiki page does not load these images at once. Some of those do not appear. Then user should right click on the image and select ?show picture?, then it appears. It is not comfortable. I have tested different version of mod_wsgi but it didn?t help. Future Plans We are going to transfer our Intranet site on wiki. Here I have also some questions and I need suggestions from your side. ? There are lot of material on our intranet site in the form of html. Is there a way to simply import this material in wiki? I think that there is a way with parser (#format html), but I don?t know how professional is it? ? Other big challenge for me is that how can I import our product documentations in wiki. There are product documentations on intranet site, which are present in two forms; one form is pdf files and other ?html pages with search functionality? on Intranet. I think it is more than 2,000 pages (pdf format). ? I am realizing that the speed of our wiki page browsing is getting slow day by day. It is due the excess of pages in our wiki or something else? I want to say thanks to moinmoin supporters and team. They are really good and they helped me always very well in real manners. Good Luck MoinMoin, Best Regards,Waqas Ahmad _________________________________________________________________ Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail?. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009 -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Mon Nov 2 20:31:09 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 03 Nov 2009 02:31:09 +0100 Subject: [Moin-user] moin 1.9.0rc1 released Message-ID: <1257211869.13232.1.camel@x300> See http://moinmo.in/MoinMoinDownload for the release archive and the change log. Please test and report bugs to make it a better 1.9.0 release. Some system text translations and help pages still need improvement - if you know a non-english language, you can also help translating and/or fixing stuff. Please translate on master19 wiki, see: http://moinmo.in/MoinDev/Translation - your work will get into 1.9.0 release then. From tw-public at gmx.de Tue Nov 3 03:55:24 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 03 Nov 2009 09:55:24 +0100 Subject: [Moin-user] Removal of ability to use GivenAuth, formerly HTTPAuth, via passed Authorization header In-Reply-To: <4AEDBD67.9080500@f2s.com> References: <4AEDBD67.9080500@f2s.com> Message-ID: <1257238524.13232.20.camel@x300> Hi Max, > I have just discovered that Moin 1.9 drops the ability to pass an > authenticated identity to the Moin standalone server using an HTTP Basic > auth Authorization header. The mixed stuff that used to be in HTTPAuth in 1.8 was separated into 2 classes: GivenAuth (web server does auth somehow [can be via http basic auth, but also could be something completely different] and gives it to moin (e.g. via REMOTE_USER env var). HTTPAuthMoin (moin evaluates Authorization header of http basic auth and creates authenticated user from that, or requests auth if that doesn't work) > An example whole-system scenario where this is useful is a front-end > Apache performing HTTP Basic auth, and proxying the resultant request to > a standalone-server Moin running bound to the localhost IP address only. Ah, interesting. That is a scenario where the GivenAuth class does not work because the environment variable is not there. Thus you need HTTPAuthMoin, maybe with a small modification. > Please could this feature be reinstated? Please try if MoinMoin.auth.http.HTTPAuthMoin works for you (as is). If it doesn't, please try this modification of MoinMoin/auth/http.py: Original line: u = user.User(..., name=...) Modified line: u = user.User(..., auth_username=...) That might be needed for your usecase because your moin profiles do not have the http basic auth password. Please let me know about your results. Cheers, Thomas From baartzy at gmail.com Mon Nov 2 23:04:43 2009 From: baartzy at gmail.com (Peter Baartz) Date: Tue, 3 Nov 2009 14:04:43 +1000 Subject: [Moin-user] moin and xapian edit page->save; internal error Message-ID: Hi, I have moinmoin and Xapian configured, and it is mostly* working. unfortunately whenever i save changes to a page (only happens when xapian search is enabled), i see the following behaviour: * the changes to the page are successfully saved. * the saved changes are automatically updated in the Xapian index. * an "internal error" message is displayed immediately after the save(right down the bottom of the page ...see attached screenshot) . the error message is as follows: {{{ OK The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, wikiadm at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2.2.3 (Red Hat) Server at sbtwiki Port 80 }}} the corresponding Apache error_log show the following: {{{ [Tue Nov 03 12:58:12 2009] [error] [client xxx] PythonHandler MoinMoin.request.request_modpython::Request.run: Traceback (most recent call last):, referer: http://sbtwiki/test2?action=edit [Tue Nov 03 12:58:12 2009] [error] [client xxx] PythonHandler MoinMoin.request.request_modpython::Request.run: File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 301, in HandlerDispatch\n assert (type(result) == type(int())), \\, referer: http://sbtwiki/test2?action=edit [Tue Nov 03 12:58:12 2009] [error] [client xxx] PythonHandler MoinMoin.request.request_modpython::Request.run: AssertionError: Handler 'MoinMoin.request.request_modpython::Request.run' returned invalid return code., referer: http://sbtwiki/test2?action=edi }}} is there anything i can do to fix this? i have the following software versions installed : $ rpm -qa | egrep -i 'moin|xapian|httpd-2|^python-2.' moin-1.8.5-2 xapian-core-libs-1.0.15-1 httpd-2.2.3-22.el5_3.2 python-2.4.3-24.el5 xapian-bindings-python-1.0.15-1 xapian-core-devel-1.0.15-1 xapian-core-1.0.15-1 $ regards, Peter -------------- next part -------------- A non-text attachment was scrubbed... Name: xapina_error.GIF Type: image/gif Size: 65106 bytes Desc: not available URL: From tw-public at gmx.de Tue Nov 3 04:41:19 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 03 Nov 2009 10:41:19 +0100 Subject: [Moin-user] Proper timezone support using pytz In-Reply-To: <4AEDCAE4.80101@f2s.com> References: <4AEDCAE4.80101@f2s.com> Message-ID: <1257241279.13232.51.camel@x300> Hi Max, > I have just finished an initial draft of a patch to give MoinMoin proper > timezone support using pytz. (http://paste.ubuntu.com/306824/) Ah, nice. :) I didn't try the patch (and I don't have an openid test environment anyway), but it looks good. Maybe some small change request: try: import pytz except ImportError: pytz = None if pytz: # pytz is there else: # no pytz > One option would be for MoinMoin to require pytz - this has the > advantage of making the code simpler, as it is not necessary to maintain > parallel codepaths. Alternatively, I've currently got the patch set up > to conditionally import pytz - but the migration corner cases, which > I've yet to consider carefully, are more difficult this way, and I'm > sceptical that the extra complexity is worth it. Well, this all depends on the user profiles: if they contain settings for the non-pytz / pytz way of doing things, moin needs to be able to deal with them. > Another issue is user profile migration: I'm currently assuming that > user profiles will be left containing and using their tz_offset > immediately after an upgrade, and when users edit their profiles, they > will get migrated to a named timezone. but: One of the general problems with that is: you never know when all userprofiles will be migrated. For bigger wikis with some stale user profiles this likely will never happen. > 1) Do I bother writing code specifically to allow people to enter and > save the user prefs page (to change other prefs) without setting a > timezone? (Or just default it to UTC and hope they set it properly > whilst they're there) Maybe default to "not set" (None), so it will continue using tz_offset for that case. > 2) Do I bother considering the potential for reverse-migration (e.g. 1.9 > -> 1.8 rollback, or 1.9-with-pytz -> 1.9-without-pytz if we go the pytz > as optional dependency route) ? We usually do not support downgrades from a later to an earlier moin version. > Options would be: > * Delete the tz_offset from user profiles when edited after upgrade. If > you migrate back, users end up with a defaulted tz_offset. I almost would've preferred that way, but: there will likely be untouched userprofiles with just tz_offset (and no tz_name). > * Keep the old tz_offset lying around unused just in case. If pytz is present, moin should ask for tz_name and store this into user profile. If pytz is present and tz_name is set, moin should use this to do time calculations, otherwise it should use tz_offset. > * Actually make an effort to update the tz_offset using the base offset > of the timezone when the user reconfigures their timezone. I'm not a fan > of this, as due to DST, it'll be a lie for half of the year anyway. Yeah, maybe not worth the effort. Cheers, Thomas From tw-public at gmx.de Tue Nov 3 04:54:41 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 03 Nov 2009 10:54:41 +0100 Subject: [Moin-user] moin and xapian edit page->save; internal error In-Reply-To: References: Message-ID: <1257242081.13232.64.camel@x300> > I have moinmoin and Xapian configured, and it is mostly* working. I would almost say "mostly working" could be a typical description for mod_python based installations. :D Seriously: does anything hold you back from using mod_wsgi instead of mod_python? It usually works far better and is easy to set up. If you don't use mod_python for something else than moin, better deinstall it after installing mod_wsgi. BTW, moin 1.9 will be WSGI at the core, so using mod_wsgi is also a good preparation for the 1.9 upgrade later. The specific error you have seems to be that mod_python is somehow unhappy about the return value's type of the moin function it calls: > [Tue Nov 03 12:58:12 2009] [error] [client xxx] PythonHandler > MoinMoin.request.request_modpython::Request.run: File > "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 301, > in HandlerDispatch\n assert (type(result) == type(int())), \\, > referer: http://sbtwiki/test2?action=edit > [Tue Nov 03 12:58:12 2009] [error] [client xxx] PythonHandler > MoinMoin.request.request_modpython::Request.run: AssertionError: > Handler 'MoinMoin.request.request_modpython::Request.run' returned > invalid return code., referer: http://sbtwiki/test2?action=edi > is there anything i can do to fix this? Well, one could find out the return value it is unhappy about and the place where moin returns that value. The problem is that (AFAIK) none of the moin developers uses mod_python, so some mod_python user would have to do that. But I bet installing mod_wsgi is much easier (and much more useful long term) than debugging this. From tw-public at gmx.de Tue Nov 3 05:28:14 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 03 Nov 2009 11:28:14 +0100 Subject: [Moin-user] Feedback after completing one year In-Reply-To: References: Message-ID: <1257244094.13232.95.camel@x300> > Wiki Specification:- > Moinmoin_184 1.8.5 has some bug fixes. > mod_wsgi/2.3 2.3 has some known problems. Use some more recent version, if possible. > 1. There is big problem for normal user in our company and the > problem is ?GUI-Editor?. The expert user can also write in Text-Editor > (maximum user 10) and others always use GUI-Editor to write the > documents. Whenever a user writes a document with the help of > ?GUI-Editor?, he/she needs support/help from administrators and it > takes much time. Maybe for normal three pages (word-pages) need two > hours (Off course, it depends on the formatting and diagrams and also > depends on occurring the BUGs of GUI). I want to ask from moinmoin > team that there is any plan to improve GUI-Editor in the next year. If we get specific and detailled bug reports, we maybe can fix some of its problems. But note that the way the GUI editor works (editing html and then converting html to wiki) is non-trivial and as html is more powerful than wiki markup, it will never support everything html can do. Also, copy and pasting from MS applications (like word) causes even more problems, because there is lots of non-standard stuff in the pasted "html". Most of the development time likely will go into other areas, though, like developing moin 2.0 and maintaining 1.9. > 2. The second problem is the page with many images. I think that > moinmoin team is aware of this problem. Try 1.8.5, there were some win32 fixes related to CacheEntry locking. If you still encounter problems with 1.8.5, please file a bug report. > ? There are lot of material on our intranet site in the form > of html. Is there a way to simply import this material in wiki? I > think that there is a way with parser (#format html), but I don?t know > how professional is it? > > ? Other big challenge for me is that how can I import our > product documentations in wiki. There are product documentations on > intranet site, which are present in two forms; one form is pdf files > and other ?html pages with search functionality? on Intranet. I think > it is more than 2,000 pages (pdf format). Well, it isn't easy to get data out of some formats like .doc or .pdf - these formats are mostly usable together with the appropriate applications, but not easily for anything else. Thus it might be easier sometimes to just keep that stuff "as is" and link to it from the wiki. You can also use attachments and xapian search can even search those. For some html pages you have, it maybe could work to copy and paste them into the gui editor to get some of the contents converted to a wiki page. The more complex the original page is, the more additional work it might need, though. > ? I am realizing that the speed of our wiki page browsing is > getting slow day by day. It is due the excess of pages in our wiki or > something else? I don't think one can answer that without more information. In general, a fast CPU, lots of RAM, a good filesystem on a fast disk and a good OS helps. Some stuff (like e.g. the builtin slow search) works linearly and gets slower with the amount and size of pages (xapian indexed search is better for big wikis). Also, if you put lots of dynamic content on your pages (e.g. macros), that will need some cpu to process it. If such stuff is overused, your wiki processes might get cpu bound. From maxb at f2s.com Tue Nov 3 05:53:35 2009 From: maxb at f2s.com (Max Bowsher) Date: Tue, 03 Nov 2009 10:53:35 +0000 Subject: [Moin-user] Proper timezone support using pytz In-Reply-To: <1257241279.13232.51.camel@x300> References: <4AEDCAE4.80101@f2s.com> <1257241279.13232.51.camel@x300> Message-ID: <4AF00BAF.3030101@f2s.com> Thomas Waldmann wrote: > Hi Max, > >> I have just finished an initial draft of a patch to give MoinMoin proper >> timezone support using pytz. (http://paste.ubuntu.com/306824/) > > Ah, nice. :) > > I didn't try the patch (and I don't have an openid test environment > anyway), but it looks good. Neither do I, actually, which is one of the reasons I'm calling it a "draft". I'll need to figure this out at some point (or co-opt someone else to test that bit.) > Maybe some small change request: > > try: > import pytz > except ImportError: > pytz = None > > if pytz: > # pytz is there > else: > # no pytz Heh. I actually pondered doing it that way, but concluded "if pytz_available:" was more readable / less cryptic. I don't really mind which way we go on this. >> One option would be for MoinMoin to require pytz - this has the >> advantage of making the code simpler, as it is not necessary to maintain >> parallel codepaths. Alternatively, I've currently got the patch set up >> to conditionally import pytz - but the migration corner cases, which >> I've yet to consider carefully, are more difficult this way, and I'm >> sceptical that the extra complexity is worth it. > > Well, this all depends on the user profiles: if they contain settings > for the non-pytz / pytz way of doing things, moin needs to be able to > deal with them. > >> Another issue is user profile migration: I'm currently assuming that >> user profiles will be left containing and using their tz_offset >> immediately after an upgrade, and when users edit their profiles, they >> will get migrated to a named timezone. but: > > One of the general problems with that is: you never know when all > userprofiles will be migrated. For bigger wikis with some stale user > profiles this likely will never happen. > >> 1) Do I bother writing code specifically to allow people to enter and >> save the user prefs page (to change other prefs) without setting a >> timezone? (Or just default it to UTC and hope they set it properly >> whilst they're there) > > Maybe default to "not set" (None), so it will continue using tz_offset > for that case. > >> 2) Do I bother considering the potential for reverse-migration (e.g. 1.9 >> -> 1.8 rollback, or 1.9-with-pytz -> 1.9-without-pytz if we go the pytz >> as optional dependency route) ? > > We usually do not support downgrades from a later to an earlier moin > version. > >> Options would be: >> * Delete the tz_offset from user profiles when edited after upgrade. If >> you migrate back, users end up with a defaulted tz_offset. > > I almost would've preferred that way, but: there will likely be > untouched userprofiles with just tz_offset (and no tz_name). How about deleting tz_offset from profiles only when they are saved with a user-provided tz_name ? >> * Keep the old tz_offset lying around unused just in case. > > If pytz is present, moin should ask for tz_name and store this into user > profile. > > If pytz is present and tz_name is set, moin should use this to do time > calculations, otherwise it should use tz_offset. > >> * Actually make an effort to update the tz_offset using the base offset >> of the timezone when the user reconfigures their timezone. I'm not a fan >> of this, as due to DST, it'll be a lie for half of the year anyway. > > Yeah, maybe not worth the effort. This all makes sense, but there is one remaining issue: If we make Moin only optionally use pytz, what should it do when encountering a pytz-enabled user profile when the pytz module is not available? (e.g., if pytz was previously installed, but is no longer installed.) I vote that this is a corner case that is not worth putting too much thought into, and that Moin should just revert to letting the affected users configure their tz_offset, and using its configured default tz_offset until they do. Max. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: OpenPGP digital signature URL: From tw-public at gmx.de Tue Nov 3 06:47:35 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 03 Nov 2009 12:47:35 +0100 Subject: [Moin-user] Proper timezone support using pytz In-Reply-To: <4AF00BAF.3030101@f2s.com> References: <4AEDCAE4.80101@f2s.com> <1257241279.13232.51.camel@x300> <4AF00BAF.3030101@f2s.com> Message-ID: <1257248855.13232.107.camel@x300> > > try: > > import pytz > > except ImportError: > > pytz = None > > > > if pytz: > > # pytz is there > > else: > > # no pytz > > Heh. I actually pondered doing it that way, but concluded "if > pytz_available:" was more readable / less cryptic. Yeah, right. OTOH, we use this "module = None" thing also at other places, so feel free to use it there, too. And if you think of it as a question "pytz? -> there is None!" it maybe isn't even that cryptic. :) > How about deleting tz_offset from profiles only when they are saved with > a user-provided tz_name ? OK. BTW, you need to modify multiconfig.py to provide a wiki-wide default for tz_name (see the setting for the wiki-wide default for tz_offset). While this is not very useful for international internet wikis, it is quite useful for intranet or for local communities. The default for the wiki-wide tz_name default should be maybe that "not set" value. > This all makes sense, but there is one remaining issue: > > If we make Moin only optionally use pytz, what should it do when > encountering a pytz-enabled user profile when the pytz module is not > available? > > (e.g., if pytz was previously installed, but is no longer installed.) > > I vote that this is a corner case that is not worth putting too much > thought into, and that Moin should just revert to letting the affected > users configure their tz_offset, and using its configured default > tz_offset until they do. Exactly. From dimazest at gmail.com Tue Nov 3 08:17:38 2009 From: dimazest at gmail.com (Dmitrii Miliaev) Date: Tue, 3 Nov 2009 14:17:38 +0100 Subject: [Moin-user] moin and xapian edit page->save; internal error In-Reply-To: References: Message-ID: <58efbad60911030517t7e4ee861w187521a9ef5106f5@mail.gmail.com> Hi, On Tue, Nov 3, 2009 at 5:04 AM, Peter Baartz wrote: > Hi, > I have ?moinmoin and Xapian configured, and it is ?mostly* working. > > unfortunately whenever i save changes to a page (only happens when > xapian search is enabled), i see the following behaviour: > ?* the changes to the page ?are successfully saved. > ?* the saved changes ?are automatically updated in the Xapian index. > ?* an "internal error" ?message is displayed immediately after the > save(right down the bottom of the page ...see attached screenshot) . > > the error message is as follows: > {{{ > OK > > The server encountered an internal error or misconfiguration and was > unable to complete your request. > > Please contact the server administrator, wikiadm at localhost and inform > them of the time the error occurred, and anything you might have done > that may have caused the error. > > More information about this error may be available in the server error log. > Apache/2.2.3 (Red Hat) Server at sbtwiki Port 80 > }}} > > > the corresponding ?Apache error_log show the following: > {{{ > [Tue Nov 03 12:58:12 2009] [error] [client xxx] PythonHandler > MoinMoin.request.request_modpython::Request.run: Traceback (most > recent call last):, referer: http://sbtwiki/test2?action=edit > [Tue Nov 03 12:58:12 2009] [error] [client xxx] PythonHandler > MoinMoin.request.request_modpython::Request.run: ? File > "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 301, > in HandlerDispatch\n ? ?assert (type(result) == type(int())), \\, > referer: http://sbtwiki/test2?action=edit > [Tue Nov 03 12:58:12 2009] [error] [client xxx] PythonHandler > MoinMoin.request.request_modpython::Request.run: AssertionError: > Handler 'MoinMoin.request.request_modpython::Request.run' returned > invalid return code., referer: http://sbtwiki/test2?action=edi > }}} > > > > is there anything i can do to fix this? > Can you run py.test MoinMoin/search/ just to make sure that all search-related tests pass on your setup? > > > ?i have the following software versions installed : > $ rpm -qa | egrep -i 'moin|xapian|httpd-2|^python-2.' > moin-1.8.5-2 > xapian-core-libs-1.0.15-1 > httpd-2.2.3-22.el5_3.2 > python-2.4.3-24.el5 > xapian-bindings-python-1.0.15-1 > xapian-core-devel-1.0.15-1 > xapian-core-1.0.15-1 > $ > > > regards, > Peter > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > > -- Dima From jwhuang at twgrid.org Tue Nov 3 10:40:45 2009 From: jwhuang at twgrid.org (jwhuang) Date: Tue, 3 Nov 2009 16:40:45 +0100 Subject: [Moin-user] Question of auto create user profile via SSL client certification authentication Message-ID: <13ac44990911030740r3212cc43u5231c02d30a4177f@mail.gmail.com> Dear All, I met some problems with Moin configuration about SSL authentication. I have self-signed certificates for my wiki server and users. Now I would like to use certificates to do authentication. Here is my reference: http://moinmo.in/HelpOnAuthentication As the section "SSL client certification authentication" said, I can use "autocreate" parameter to create user profile automatically once users pass SSL check. But it does not work in my wiki server. Could you help me to check my configuration if something wrong? Thanks a lot. Add two lines at wikiconfig.py: from MoinMoin.auth.sslclientcert import SSLClientCertAuth auth = [SSLClientCertAuth(autocreate=['True'])] At http.conf, I did the following configuration: Alias /moin_static184/ "/var/www/mywiki/htdocs/" WSGIScriptAlias /mywiki /var/www/mywiki/moin.wsgi WSGIDaemonProcess mywiki user=apache group=apache processes=5 threads=10 maximum-requests=1000 umask=0007 WSGIProcessGroup mywiki WSGIPassAuthorization On SetHandler python-program # Add the path of your wiki directory PythonPath "['/var/www/mywiki', '/usr/local/lib/python2.4/site-packages'] + sys.path" PythonHandler MoinMoin.request.request_modpython::Request.run SSLVerifyClient require SSLUserName SSL_CLIENT_S_DN SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \ and %{SSL_CLIENT_S_DN_OU} in {"GRID"}) I can access my wiki page with security http and see my DN shown in the ssl_sccess.log. But the user profile can not be created automatically. Any idea about this? Thanks a lot. All the Best. Jhen-Wei Huang -- OPS Team, ASGC Tel: +886-2-2789-8311 Fax: +886-2-2783-7653 -------------- next part -------------- An HTML attachment was scrubbed... URL: From waqas805 at hotmail.com Tue Nov 3 11:43:41 2009 From: waqas805 at hotmail.com (waqas ahmad) Date: Tue, 3 Nov 2009 17:43:41 +0100 Subject: [Moin-user] error updating python and moinmoin Message-ID: Hi, i am installing moinmoin_185 and python26 and mod_wsgi26 on my test machine. here is specification of apache service:- Apache/2.2.13 (Win32) mod_ssl/2.2.13 OpenSSL/0.9.8k mod_wsgi/2.6 Python/2.6 mod_auth_sspi/1.0.4 IE browser shows me "Internal Server Error" message. I got following error in my apache error.log. Can someone help me that where i am doing some thing wrong. [Tue Nov 03 17:29:33 2009] [error] [client 270.16.10.184] mod_wsgi (pid=5188): Target WSGI script 'C:/Moin/supwiki/moin.wsgi' cannot be loaded as Python module. [Tue Nov 03 17:29:33 2009] [error] [client 270.16.10.184] mod_wsgi (pid=5188): Exception occurred processing WSGI script 'C:/Moin/supwiki/moin.wsgi'. [Tue Nov 03 17:29:33 2009] [error] Traceback (most recent call last): [Tue Nov 03 17:29:33 2009] [error] File "C:/Moin/supwiki/moin.wsgi", line 24, in [Tue Nov 03 17:29:33 2009] [error] import sys, os [Tue Nov 03 17:29:33 2009] [error] ImportError: No module named os Thanks bye _________________________________________________________________ Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010 -------------- next part -------------- An HTML attachment was scrubbed... URL: From kai at aplteam.com Tue Nov 3 14:04:14 2009 From: kai at aplteam.com (Kai Jaeger) Date: Tue, 3 Nov 2009 19:04:14 +0000 Subject: [Moin-user] Strange error message Message-ID: <580814a00911031104l10c63a61m6471172ff2f5b47e@mail.gmail.com> Today a user of my wiki sent a screenshot. It's telling this after clicking "Save" in the text editor: "Please use the interactive user interface to use action action" His work was gone although he had pressed "Preview" several times before he finally pressed "Save"; It was a completely new page. This error message is complety rubbish of course. How can one use a non-interactive user interface to edit anything?! Advice and encouragement is welcome ;) Kai From itsec.listuser at gmail.com Tue Nov 3 15:24:14 2009 From: itsec.listuser at gmail.com (ITSec_Mike) Date: Tue, 3 Nov 2009 21:24:14 +0100 Subject: [Moin-user] command line does not work Message-ID: <20091103202414.GB19832@my-toolbox.ch> Hello all I use moin 1.8.5 on Ubuntu server 8.04 with Python 2.5.2. When using the command line interface I get the below listed error message. As I do not know Python, I would be happy to get any feedback how to resolve that. Thanks, Mike moin ... check account... 2009-11-03 21:22:36,639 WARNING MoinMoin.log:139 using logging configuration read from built-in fallback in MoinMoin.log module! Traceback (most recent call last): File "/usr/local/bin/moin", line 6, in run() File "/usr/local/lib/python2.5/site-packages/MoinMoin/script/moin.py", line 15, in run MoinScript().run(showtime=0) File "/usr/local/lib/python2.5/site-packages/MoinMoin/script/__init__.py", line 138, in run self.mainloop() File "/usr/local/lib/python2.5/site-packages/MoinMoin/script/__init__.py", line 242, in mainloop plugin_class = wikiutil.importBuiltinPlugin('script.%s' % cmd_module, cmd_name, 'PluginScript') File "/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py", line 1137, in importBuiltinPlugin if not name in builtinPlugins(kind): File "/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py", line 1176, in builtinPlugins return pysupport.importName(modulename, "modules") File "/usr/local/lib/python2.5/site-packages/MoinMoin/util/pysupport.py", line 81, in importName module = __import__(modulename, globals(), {}, [name]) ValueError: Empty module name From ndbecker2 at gmail.com Wed Nov 4 10:04:14 2009 From: ndbecker2 at gmail.com (Neal Becker) Date: Wed, 04 Nov 2009 10:04:14 -0500 Subject: [Moin-user] cannot get syntax highlighting to work Message-ID: I'm using moin 1.8.5. I have pygments-1.1.1. I tried copying moin-parser.py to mywiki/data/plugin/parser/code.py. I edited that file to set INLINESTYLES = True. No other changes. I made a test page: Describe FrontEndDecimation here. {{{#!code python for i in range (10): print 'hello' }}} No highlighting. No error messages I could find. (How could I debug this?) If I change this to: {{{#!python ... I get highlighting. That's nice, but I want highlighting of my attachments, which I think means I need to use the code.py plugin. From waqas805 at hotmail.com Wed Nov 4 10:08:23 2009 From: waqas805 at hotmail.com (waqas ahmad) Date: Wed, 4 Nov 2009 16:08:23 +0100 Subject: [Moin-user] error updating python and moinmoin Message-ID: Hi, I have found the problem and the problem was python installation. I was installed python with the option "Install just for me", not for all users on the vista system. Therefore i was getting the following error message in my error.log. Now i installed python with the option "Install for all users" on my vista-test system. And everyting is running fine. Now i can test moinmoin_185 with following configuration. Apache/2.2.13 (Win32) mod_ssl/2.2.13 OpenSSL/0.9.8k mod_wsgi/2.6 Python/2.6.2 mod_auth_sspi/1.0.4 Have a nice day, Bye From: waqas805 at hotmail.com To: moin-user at lists.sourceforge.net Subject: error updating python and moinmoin Date: Tue, 3 Nov 2009 17:43:41 +0100 Hi, i am installing moinmoin_185 and python26 and mod_wsgi26 on my test machine. here is specification of apache service:- Apache/2.2.13 (Win32) mod_ssl/2.2.13 OpenSSL/0.9.8k mod_wsgi/2.6 Python/2.6 mod_auth_sspi/1.0.4 IE browser shows me "Internal Server Error" message. I got following error in my apache error.log. Can someone help me that where i am doing some thing wrong. [Tue Nov 03 17:29:33 2009] [error] [client 270.16.10.184] mod_wsgi (pid=5188): Target WSGI script 'C:/Moin/supwiki/moin.wsgi' cannot be loaded as Python module. [Tue Nov 03 17:29:33 2009] [error] [client 270.16.10.184] mod_wsgi (pid=5188): Exception occurred processing WSGI script 'C:/Moin/supwiki/moin.wsgi'. [Tue Nov 03 17:29:33 2009] [error] Traceback (most recent call last): [Tue Nov 03 17:29:33 2009] [error] File "C:/Moin/supwiki/moin.wsgi", line 24, in [Tue Nov 03 17:29:33 2009] [error] import sys, os [Tue Nov 03 17:29:33 2009] [error] ImportError: No module named os Thanks bye Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you. Windows Live: Make it easier for your friends to see what you?re up to on Facebook. _________________________________________________________________ Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail?. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rb.proj at gmail.com Wed Nov 4 10:54:34 2009 From: rb.proj at gmail.com (R.Bauer) Date: Wed, 04 Nov 2009 16:54:34 +0100 Subject: [Moin-user] Question of auto create user profile via SSL client certification authentication In-Reply-To: <13ac44990911030740r3212cc43u5231c02d30a4177f@mail.gmail.com> References: <13ac44990911030740r3212cc43u5231c02d30a4177f@mail.gmail.com> Message-ID: Hi just before going in details. Do you have installed on your site moin-1.9rc1? Because the help page you refer too is for moin-1.9. cheers Reimar jwhuang schrieb: > Dear All, > > I met some problems with Moin configuration about SSL authentication. > I have self-signed certificates for my wiki server and users. > Now I would like to use certificates to do authentication. Here is my > reference: http://moinmo.in/HelpOnAuthentication > As the section "SSL client certification authentication" said, I can use > "autocreate" parameter to create user profile automatically once users pass > SSL check. > But it does not work in my wiki server. Could you help me to check my > configuration if something wrong? Thanks a lot. > > Add two lines at wikiconfig.py: > from MoinMoin.auth.sslclientcert import SSLClientCertAuth > auth = [SSLClientCertAuth(autocreate=['True'])] > > At http.conf, I did the following configuration: > Alias /moin_static184/ "/var/www/mywiki/htdocs/" > WSGIScriptAlias /mywiki /var/www/mywiki/moin.wsgi > WSGIDaemonProcess mywiki user=apache group=apache processes=5 threads=10 > maximum-requests=1000 umask=0007 > WSGIProcessGroup mywiki > WSGIPassAuthorization On > > > SetHandler python-program > # Add the path of your wiki directory > PythonPath "['/var/www/mywiki', > '/usr/local/lib/python2.4/site-packages'] + sys.path" > PythonHandler MoinMoin.request.request_modpython::Request.run > SSLVerifyClient require > SSLUserName SSL_CLIENT_S_DN > SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \ > and %{SSL_CLIENT_S_DN_OU} in {"GRID"}) > > > I can access my wiki page with security http and see my DN shown in the > ssl_sccess.log. But the user profile can not be created automatically. > Any idea about this? Thanks a lot. > > All the Best. > Jhen-Wei Huang > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > > > ------------------------------------------------------------------------ > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From rb.proj at gmail.com Wed Nov 4 10:57:10 2009 From: rb.proj at gmail.com (R.Bauer) Date: Wed, 04 Nov 2009 16:57:10 +0100 Subject: [Moin-user] cannot get syntax highlighting to work In-Reply-To: References: Message-ID: Neal Becker schrieb: > I'm using moin 1.8.5. I have pygments-1.1.1. > > I tried copying moin-parser.py to mywiki/data/plugin/parser/code.py. > I edited that file to set INLINESTYLES = True. No other changes. Do you have restarted the server process. Or if you run mod_wsgi do you have touched your deployment script? This looks like the new module is not recognized. cheers Reimar > > I made a test page: > > Describe FrontEndDecimation here. > {{{#!code python > for i in range (10): > print 'hello' > }}} > > No highlighting. No error messages I could find. (How could I debug this?) > > If I change this to: > {{{#!python > ... > > I get highlighting. That's nice, but I want highlighting of my attachments, > which I think means I need to use the code.py plugin. > > > ------------------------------------------------------------------------------ > 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 From jwhuang at twgrid.org Wed Nov 4 11:00:26 2009 From: jwhuang at twgrid.org (jwhuang) Date: Wed, 4 Nov 2009 17:00:26 +0100 Subject: [Moin-user] Question of auto create user profile via SSL client certification authentication In-Reply-To: References: <13ac44990911030740r3212cc43u5231c02d30a4177f@mail.gmail.com> Message-ID: <13ac44990911040800i5608121eq51bd87a1afdc4c4f@mail.gmail.com> Hi Reimar, The version of my wiki is 1.8.4. BR, Jhen-Wei** On Wed, Nov 4, 2009 at 4:54 PM, R.Bauer wrote: > Hi > just before going in details. Do you have installed on your site > moin-1.9rc1? > > Because the help page you refer too is for moin-1.9. > > cheers > Reimar > > > > jwhuang schrieb: > > Dear All, > > > > I met some problems with Moin configuration about SSL authentication. > > I have self-signed certificates for my wiki server and users. > > Now I would like to use certificates to do authentication. Here is my > > reference: http://moinmo.in/HelpOnAuthentication > > As the section "SSL client certification authentication" said, I can use > > "autocreate" parameter to create user profile automatically once users > pass > > SSL check. > > But it does not work in my wiki server. Could you help me to check my > > configuration if something wrong? Thanks a lot. > > > > Add two lines at wikiconfig.py: > > from MoinMoin.auth.sslclientcert import SSLClientCertAuth > > auth = [SSLClientCertAuth(autocreate=['True'])] > > > > At http.conf, I did the following configuration: > > Alias /moin_static184/ "/var/www/mywiki/htdocs/" > > WSGIScriptAlias /mywiki /var/www/mywiki/moin.wsgi > > WSGIDaemonProcess mywiki user=apache group=apache processes=5 > threads=10 > > maximum-requests=1000 umask=0007 > > WSGIProcessGroup mywiki > > WSGIPassAuthorization On > > > > > > SetHandler python-program > > # Add the path of your wiki directory > > PythonPath "['/var/www/mywiki', > > '/usr/local/lib/python2.4/site-packages'] + sys.path" > > PythonHandler MoinMoin.request.request_modpython::Request.run > > SSLVerifyClient require > > SSLUserName SSL_CLIENT_S_DN > > SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \ > > and %{SSL_CLIENT_S_DN_OU} in {"GRID"}) > > > > > > I can access my wiki page with security http and see my DN shown in the > > ssl_sccess.log. But the user profile can not be created automatically. > > Any idea about this? Thanks a lot. > > > > All the Best. > > Jhen-Wei Huang > > > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart your > > developing skills, take BlackBerry mobile applications to market and stay > > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > > http://p.sf.net/sfu/devconference > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Moin-user mailing list > > Moin-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/moin-user > > > > ------------------------------------------------------------------------------ > 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 > -- OPS Team, ASGC Tel: +886-2-2789-8311 Fax: +886-2-2783-7653 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rb.proj at gmail.com Wed Nov 4 10:59:58 2009 From: rb.proj at gmail.com (R.Bauer) Date: Wed, 04 Nov 2009 16:59:58 +0100 Subject: [Moin-user] command line does not work In-Reply-To: <20091103202414.GB19832@my-toolbox.ch> References: <20091103202414.GB19832@my-toolbox.ch> Message-ID: ITSec_Mike schrieb: > Hello all > > I use moin 1.8.5 on Ubuntu server 8.04 with Python 2.5.2. > When using the command line interface I get the below listed error > message. > As I do not know Python, I would be happy to get any feedback how to > resolve that. > > Thanks, > Mike > > moin ... check account... That looks like a mismatch of order may be you want to call moin ... account check... see HelpOnMoinCommand cheers Reimar > 2009-11-03 21:22:36,639 WARNING MoinMoin.log:139 using logging > configuration read from built-in fallback in MoinMoin.log module! > Traceback (most recent call last): > File "/usr/local/bin/moin", line 6, in > run() > File "/usr/local/lib/python2.5/site-packages/MoinMoin/script/moin.py", > line 15, in run > MoinScript().run(showtime=0) > File > "/usr/local/lib/python2.5/site-packages/MoinMoin/script/__init__.py", > line 138, in run > self.mainloop() > File > "/usr/local/lib/python2.5/site-packages/MoinMoin/script/__init__.py", > line 242, in mainloop > plugin_class = wikiutil.importBuiltinPlugin('script.%s' % > cmd_module, cmd_name, 'PluginScript') > File "/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py", > line 1137, in importBuiltinPlugin > if not name in builtinPlugins(kind): > File "/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py", > line 1176, in builtinPlugins > return pysupport.importName(modulename, "modules") > File > "/usr/local/lib/python2.5/site-packages/MoinMoin/util/pysupport.py", > line 81, in importName > module = __import__(modulename, globals(), {}, [name]) > ValueError: Empty module name > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference From rb.proj at gmail.com Wed Nov 4 11:01:18 2009 From: rb.proj at gmail.com (R.Bauer) Date: Wed, 04 Nov 2009 17:01:18 +0100 Subject: [Moin-user] Strange error message In-Reply-To: <580814a00911031104l10c63a61m6471172ff2f5b47e@mail.gmail.com> References: <580814a00911031104l10c63a61m6471172ff2f5b47e@mail.gmail.com> Message-ID: Kai Jaeger schrieb: > Today a user of my wiki sent a screenshot. It's telling this after > clicking "Save" in the text editor: > > "Please use the interactive user interface to use action action" > > His work was gone although he had pressed "Preview" several times > before he finally pressed "Save"; It was a completely new page. > > This error message is complety rubbish of course. How can one use a > non-interactive user interface to edit anything?! > > Advice and encouragement is welcome ;) > > Kai > Can't say much without more details. Moin Version: Deployment: Server: OS: User Browser: cheers Reimar > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference From rb.proj at gmail.com Wed Nov 4 11:11:28 2009 From: rb.proj at gmail.com (R.Bauer) Date: Wed, 04 Nov 2009 17:11:28 +0100 Subject: [Moin-user] Question of auto create user profile via SSL client certification authentication In-Reply-To: <13ac44990911040800i5608121eq51bd87a1afdc4c4f@mail.gmail.com> References: <13ac44990911030740r3212cc43u5231c02d30a4177f@mail.gmail.com> <13ac44990911040800i5608121eq51bd87a1afdc4c4f@mail.gmail.com> Message-ID: jwhuang schrieb: > Hi Reimar, > > The version of my wiki is 1.8.4. Please use the Help Pages of your wiki. that line looks rather strange auth = [SSLClientCertAuth(autocreate=['True'])] boolean is True but 'True' is a string cheers Reimar > > BR, > Jhen-Wei** > > On Wed, Nov 4, 2009 at 4:54 PM, R.Bauer wrote: > >> Hi >> just before going in details. Do you have installed on your site >> moin-1.9rc1? >> >> Because the help page you refer too is for moin-1.9. >> >> cheers >> Reimar >> >> >> >> jwhuang schrieb: >>> Dear All, >>> >>> I met some problems with Moin configuration about SSL authentication. >>> I have self-signed certificates for my wiki server and users. >>> Now I would like to use certificates to do authentication. Here is my >>> reference: http://moinmo.in/HelpOnAuthentication >>> As the section "SSL client certification authentication" said, I can use >>> "autocreate" parameter to create user profile automatically once users >> pass >>> SSL check. >>> But it does not work in my wiki server. Could you help me to check my >>> configuration if something wrong? Thanks a lot. >>> >>> Add two lines at wikiconfig.py: >>> from MoinMoin.auth.sslclientcert import SSLClientCertAuth >>> auth = [SSLClientCertAuth(autocreate=['True'])] >>> >>> At http.conf, I did the following configuration: >>> Alias /moin_static184/ "/var/www/mywiki/htdocs/" >>> WSGIScriptAlias /mywiki /var/www/mywiki/moin.wsgi >>> WSGIDaemonProcess mywiki user=apache group=apache processes=5 >> threads=10 >>> maximum-requests=1000 umask=0007 >>> WSGIProcessGroup mywiki >>> WSGIPassAuthorization On >>> >>> >>> SetHandler python-program >>> # Add the path of your wiki directory >>> PythonPath "['/var/www/mywiki', >>> '/usr/local/lib/python2.4/site-packages'] + sys.path" >>> PythonHandler MoinMoin.request.request_modpython::Request.run >>> SSLVerifyClient require >>> SSLUserName SSL_CLIENT_S_DN >>> SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \ >>> and %{SSL_CLIENT_S_DN_OU} in {"GRID"}) >>> >>> >>> I can access my wiki page with security http and see my DN shown in the >>> ssl_sccess.log. But the user profile can not be created automatically. >>> Any idea about this? Thanks a lot. >>> >>> All the Best. >>> Jhen-Wei Huang >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> >> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart your >>> developing skills, take BlackBerry mobile applications to market and stay >>> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >>> http://p.sf.net/sfu/devconference >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Moin-user mailing list >>> Moin-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/moin-user >> >> >> ------------------------------------------------------------------------------ >> 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 >> > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > 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 rb.proj at gmail.com Wed Nov 4 11:22:51 2009 From: rb.proj at gmail.com (R.Bauer) Date: Wed, 04 Nov 2009 17:22:51 +0100 Subject: [Moin-user] Converting .draw file to .png offline? In-Reply-To: <20091005180701.7C1D01274573@montanaro.dyndns.org> References: <20091005180701.7C1D01274573@montanaro.dyndns.org> Message-ID: skip at pobox.com schrieb: > I'm using a recent version of MoinMoin and found (we just upgraded a month > or to ago to a 1.8-ish? version from 1.5.x) that when I save a drawing it > gets into an infinite loop. > > I haven't the slightest idea what package is used to do the editing but I > see that I can download the .draw file. Is there a way to generate a .png > file from .draw without using the Java applet? unfortunately not. And I wished we have had some code to convert it to something else already. anywikidraw stores in the adraw container a svg file too. svg-edit stores also svg. At current state both projects don't cover completly all kind of drawings of twikidraw. In a future state e.g. svg-edit 2.5 will be quite close to twikidraw. (http://code.google.com/p/svg-edit/issues/list) It is active developed please add into the tracker all your wishes. That means if one wants to work on a convertor please do it for draw -> svg. cheers Reimar From jwhuang at twgrid.org Wed Nov 4 11:24:47 2009 From: jwhuang at twgrid.org (jwhuang) Date: Wed, 4 Nov 2009 17:24:47 +0100 Subject: [Moin-user] Question of auto create user profile via SSL client certification authentication In-Reply-To: References: <13ac44990911030740r3212cc43u5231c02d30a4177f@mail.gmail.com> <13ac44990911040800i5608121eq51bd87a1afdc4c4f@mail.gmail.com> Message-ID: <13ac44990911040824m725d9f78m4452e27bac422f94@mail.gmail.com> Dear Reimar, Thanks for your reminder. I will go back to see the help of my wiki. BTW, we are now trying to obtain information of user's DN and display it at wiki page. Any progress about these two problems will reply to you. Thanks for your help. :) All the Best Jhen-Wei On Wed, Nov 4, 2009 at 5:11 PM, R.Bauer wrote: > jwhuang schrieb: > > Hi Reimar, > > > > The version of my wiki is 1.8.4. > > > Please use the Help Pages of your wiki. > > that line looks rather strange > auth = [SSLClientCertAuth(autocreate=['True'])] > > boolean is True but 'True' is a string > > cheers > Reimar > > > > > BR, > > Jhen-Wei** > > > > On Wed, Nov 4, 2009 at 4:54 PM, R.Bauer wrote: > > > >> Hi > >> just before going in details. Do you have installed on your site > >> moin-1.9rc1? > >> > >> Because the help page you refer too is for moin-1.9. > >> > >> cheers > >> Reimar > >> > >> > >> > >> jwhuang schrieb: > >>> Dear All, > >>> > >>> I met some problems with Moin configuration about SSL authentication. > >>> I have self-signed certificates for my wiki server and users. > >>> Now I would like to use certificates to do authentication. Here is my > >>> reference: http://moinmo.in/HelpOnAuthentication > >>> As the section "SSL client certification authentication" said, I can > use > >>> "autocreate" parameter to create user profile automatically once users > >> pass > >>> SSL check. > >>> But it does not work in my wiki server. Could you help me to check my > >>> configuration if something wrong? Thanks a lot. > >>> > >>> Add two lines at wikiconfig.py: > >>> from MoinMoin.auth.sslclientcert import SSLClientCertAuth > >>> auth = [SSLClientCertAuth(autocreate=['True'])] > >>> > >>> At http.conf, I did the following configuration: > >>> Alias /moin_static184/ "/var/www/mywiki/htdocs/" > >>> WSGIScriptAlias /mywiki /var/www/mywiki/moin.wsgi > >>> WSGIDaemonProcess mywiki user=apache group=apache processes=5 > >> threads=10 > >>> maximum-requests=1000 umask=0007 > >>> WSGIProcessGroup mywiki > >>> WSGIPassAuthorization On > >>> > >>> > >>> SetHandler python-program > >>> # Add the path of your wiki directory > >>> PythonPath "['/var/www/mywiki', > >>> '/usr/local/lib/python2.4/site-packages'] + sys.path" > >>> PythonHandler MoinMoin.request.request_modpython::Request.run > >>> SSLVerifyClient require > >>> SSLUserName SSL_CLIENT_S_DN > >>> SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \ > >>> and %{SSL_CLIENT_S_DN_OU} in {"GRID"}) > >>> > >>> > >>> I can access my wiki page with security http and see my DN shown in the > >>> ssl_sccess.log. But the user profile can not be created automatically. > >>> Any idea about this? Thanks a lot. > >>> > >>> All the Best. > >>> Jhen-Wei Huang > >>> > >>> > >>> > >>> > ------------------------------------------------------------------------ > >>> > >>> > >> > ------------------------------------------------------------------------------ > >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA > >>> is the only developer event you need to attend this year. Jumpstart > your > >>> developing skills, take BlackBerry mobile applications to market and > stay > >>> ahead of the curve. Join us from November 9 - 12, 2009. Register now! > >>> http://p.sf.net/sfu/devconference > >>> > >>> > >>> > ------------------------------------------------------------------------ > >>> > >>> _______________________________________________ > >>> Moin-user mailing list > >>> Moin-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/moin-user > >> > >> > >> > ------------------------------------------------------------------------------ > >> 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 > >> > > > > > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------------ > > 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 > > > > ------------------------------------------------------------------------------ > 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 > -- OPS Team, ASGC Tel: +886-2-2789-8311 Fax: +886-2-2783-7653 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ndbecker2 at gmail.com Wed Nov 4 11:31:11 2009 From: ndbecker2 at gmail.com (Neal Becker) Date: Wed, 04 Nov 2009 11:31:11 -0500 Subject: [Moin-user] cannot get syntax highlighting to work References: Message-ID: I am using mod_wsgi. I restarted apache. Don't know about 'touch deployment script'. Do I need to do something? R.Bauer wrote: > Neal Becker schrieb: >> I'm using moin 1.8.5. I have pygments-1.1.1. >> >> I tried copying moin-parser.py to mywiki/data/plugin/parser/code.py. >> I edited that file to set INLINESTYLES = True. No other changes. > > Do you have restarted the server process. Or if you run mod_wsgi do you > have touched your deployment script? > > This looks like the new module is not recognized. > > cheers > Reimar > >> >> I made a test page: >> >> Describe FrontEndDecimation here. >> {{{#!code python >> for i in range (10): >> print 'hello' >> }}} >> >> No highlighting. No error messages I could find. (How could I debug >> this?) >> >> If I change this to: >> {{{#!python >> ... >> >> I get highlighting. That's nice, but I want highlighting of my >> attachments, which I think means I need to use the code.py plugin. >> >> >> ------------------------------------------------------------------------------ >> 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 > > > ------------------------------------------------------------------------------ > 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 From kai at aplteam.com Wed Nov 4 12:16:06 2009 From: kai at aplteam.com (Kai Jaeger) Date: Wed, 4 Nov 2009 17:16:06 +0000 Subject: [Moin-user] Strange error message In-Reply-To: References: <580814a00911031104l10c63a61m6471172ff2f5b47e@mail.gmail.com> Message-ID: <580814a00911040916i3c82d5ack86f48488a3da5738@mail.gmail.com> I didn't expect help other that "Oh, I got this, know what it's about" or, more likelky, "wtf is this, neaver heard". Anyway: Moin 1.8.4 Windows Server 2003 64bit Apache 2.2 Firefox Don't know what you mean by deployment. Kai On Wed, Nov 4, 2009 at 16:01, R.Bauer wrote: > Kai Jaeger schrieb: >> Today a user of my wiki sent a screenshot. It's telling this after >> clicking "Save" in the text editor: >> >> "Please use the interactive user interface to use action action" >> >> His work was gone although he had pressed "Preview" several times >> before he finally pressed "Save"; It was a completely new page. >> >> This error message is complety rubbish of course. How can one use a >> non-interactive user interface to edit anything?! >> >> Advice and encouragement is welcome ;) >> >> Kai >> > > Can't say much without more details. > > Moin Version: > Deployment: > Server: > OS: > User Browser: > > cheers > Reimar > >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference > > > ------------------------------------------------------------------------------ > 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 rb.proj at gmail.com Wed Nov 4 12:37:34 2009 From: rb.proj at gmail.com (R.Bauer) Date: Wed, 04 Nov 2009 18:37:34 +0100 Subject: [Moin-user] Strange error message In-Reply-To: <580814a00911040916i3c82d5ack86f48488a3da5738@mail.gmail.com> References: <580814a00911031104l10c63a61m6471172ff2f5b47e@mail.gmail.com> <580814a00911040916i3c82d5ack86f48488a3da5738@mail.gmail.com> Message-ID: Kai Jaeger schrieb: > I didn't expect help other that "Oh, I got this, know what it's about" > or, more likelky, "wtf is this, neaver heard". meanwhile I searched for similiar bug reports that one sounds similiar to your problem http://moinmo.in/MoinMoinBugs/PleaseUseTheInteractiveUserInterfaceToUseActionEdit We know already about that problem but we don't have that amount of details that we can reproduce it. > > Anyway: > > Moin 1.8.4 > Windows Server 2003 64bit > Apache 2.2 > Firefox > > Don't know what you mean by deployment. deployment is the the servers method. e.g. cgi, fcgi, wsgi Reimar > > Kai > > On Wed, Nov 4, 2009 at 16:01, R.Bauer wrote: >> Kai Jaeger schrieb: >>> Today a user of my wiki sent a screenshot. It's telling this after >>> clicking "Save" in the text editor: >>> >>> "Please use the interactive user interface to use action action" >>> >>> His work was gone although he had pressed "Preview" several times >>> before he finally pressed "Save"; It was a completely new page. >>> >>> This error message is complety rubbish of course. How can one use a >>> non-interactive user interface to edit anything?! >>> >>> Advice and encouragement is welcome ;) >>> >>> Kai >>> >> Can't say much without more details. >> >> Moin Version: >> Deployment: >> Server: >> OS: >> User Browser: >> >> cheers >> Reimar >> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart your >>> developing skills, take BlackBerry mobile applications to market and stay >>> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >>> http://p.sf.net/sfu/devconference >> >> ------------------------------------------------------------------------------ >> 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 >> > > ------------------------------------------------------------------------------ > 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 rb.proj at gmail.com Wed Nov 4 16:34:14 2009 From: rb.proj at gmail.com (R.Bauer) Date: Wed, 04 Nov 2009 22:34:14 +0100 Subject: [Moin-user] cannot get syntax highlighting to work In-Reply-To: References: Message-ID: Neal Becker schrieb: > I am using mod_wsgi. I restarted apache. Don't know about 'touch > deployment script'. Do I need to do something? > no that's enought instead of restarting the apache process you could also touch your moin.wsgi. > R.Bauer wrote: > >> Neal Becker schrieb: >>> I'm using moin 1.8.5. I have pygments-1.1.1. >>> >>> I tried copying moin-parser.py to mywiki/data/plugin/parser/code.py. If I look for the highlighting parser I find http://moinmo.in/ParserMarket/highlight Where is yours from? >>> I edited that file to set INLINESTYLES = True. No other changes. >> Do you have restarted the server process. Or if you run mod_wsgi do you >> have touched your deployment script? >> >> >>> I made a test page: >>> >>> Describe FrontEndDecimation here. >>> {{{#!code python >>> for i in range (10): >>> print 'hello' >>> }}} >>> >>> No highlighting. No error messages I could find. (How could I debug >>> this?) >>> >>> If I change this to: >>> {{{#!python >>> ... >>> >>> I get highlighting. That's nice, but I want highlighting of my >>> attachments, which I think means I need to use the code.py plugin. hmm, no a python script should also hightlight on default if you view it in the attachment dialog or if you use transclusion syntax e.g. http://moinmo.in/WikiSandBox#old_1.8_code {{attachment:my_python_script.py}} does this work for you? cheers Reimar From tw-public at gmx.de Wed Nov 4 17:46:06 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 04 Nov 2009 23:46:06 +0100 Subject: [Moin-user] Question of auto create user profile via SSL client certification authentication In-Reply-To: <13ac44990911030740r3212cc43u5231c02d30a4177f@mail.gmail.com> References: <13ac44990911030740r3212cc43u5231c02d30a4177f@mail.gmail.com> Message-ID: <1257374766.13232.116.camel@x300> > from MoinMoin.auth.sslclientcert import SSLClientCertAuth > auth = [SSLClientCertAuth(autocreate=['True'])] Wrong syntax, it is autocreate=True. > At http.conf, I did the following configuration: > Alias /moin_static184/ "/var/www/mywiki/htdocs/" Please use 1.8.5. > WSGIScriptAlias /mywiki /var/www/mywiki/moin.wsgi So you are using mod_wsgi? > > SetHandler python-program > # Add the path of your wiki directory > PythonPath "['/var/www/mywiki', > '/usr/local/lib/python2.4/site-packages'] + sys.path" > PythonHandler MoinMoin.request.request_modpython::Request.run Or do you use mod_python? mod_wsgi is recommended, you should kill everything relating to mod_python. SetHandler, PythonPath, PythonHandler is all mod_python. > I can access my wiki page with security http and see my DN shown in > the ssl_sccess.log. But the user profile can not be created > automatically. > Any idea about this? Thanks a lot. I don't use SSL client cert auth myself (and it might be one of the rather rarely used auth methods). Maybe you can increase logging level (see the auth debug logging configuration example we provide, see wiki/config/logging/...) and add some logging.debug("...") statements to the ssl client cert auth code (see MoinMoin/auth/...) as needed. If you find any specific problem there, join us on #moin so we can help with it. It is no big problem to fix something there in case it is wrong, as soon as you have detailled information about it. From tw-public at gmx.de Wed Nov 4 17:51:36 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 04 Nov 2009 23:51:36 +0100 Subject: [Moin-user] Strange error message In-Reply-To: <580814a00911031104l10c63a61m6471172ff2f5b47e@mail.gmail.com> References: <580814a00911031104l10c63a61m6471172ff2f5b47e@mail.gmail.com> Message-ID: <1257375096.13232.122.camel@x300> > "Please use the interactive user interface to use action action" Strange, it should tell "... action edit". > His work was gone although he had pressed "Preview" several times > before he finally pressed "Save"; It was a completely new page. Moin emits that message if it thinks someone was just posting some stuff (e.g. spam content) without using the interactive user interface. There is a "ticket" in the editor form and moin checks if the POST contains a valid ticket. If there is none or the ticket is invalid somehow, you get this message and moin rejects to save. > This error message is complety rubbish of course. How can one use a > non-interactive user interface to edit anything?! By directly POSTing content to the submission URL. Usually spammers try that. Nevertheless, if he used preview before for that content, he should've been able to just close the browser and reopen the same page again - moin should offer to load the previewed content into the editor then. BTW, if you can reproduce that problem, please file a bug report with detailled step-by-step instructions. From tw-public at gmx.de Wed Nov 4 17:56:37 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 04 Nov 2009 23:56:37 +0100 Subject: [Moin-user] cannot get syntax highlighting to work In-Reply-To: References: Message-ID: <1257375397.13232.124.camel@x300> On Wed, 2009-11-04 at 10:04 -0500, Neal Becker wrote: > I'm using moin 1.8.5. I have pygments-1.1.1. > > I tried copying moin-parser.py to mywiki/data/plugin/parser/code.py. BTW, moin 1.9.0rc1 has parser/highlight.py built-in (and the highlight.py code is also available for 1.8.x on the wiki). Maybe you want to just try that. From kai at aplteam.com Thu Nov 5 01:05:06 2009 From: kai at aplteam.com (Kai Jaeger) Date: Thu, 5 Nov 2009 06:05:06 +0000 Subject: [Moin-user] Strange error message In-Reply-To: <1257375096.13232.122.camel@x300> References: <580814a00911031104l10c63a61m6471172ff2f5b47e@mail.gmail.com> <1257375096.13232.122.camel@x300> Message-ID: <580814a00911042205g42629e31h44a2ce3f98f4c24e@mail.gmail.com> > Strange, it should tell "... action edit". It did - my mistake, sorry. [...] > If there is none or the ticket is invalid somehow, you get this message > and moin rejects to save. In opposite to others my client left the browser window open for just 15 minutes. >> This error message is complety rubbish of course. How can one use a >> non-interactive user interface to edit anything?! > > By directly POSTing content to the submission URL. Usually spammers try > that. Understood. However, MoinMoin itself doesn't tell anything about it. Same for "edit_ticketing". > Nevertheless, if he used preview before for that content, he should've > been able to just close the browser and reopen the same page again - > moin should offer to load the previewed content into the editor then. That was the main problem: everything vanished. And the guy is a smat computer consultant... > BTW, if you can reproduce that problem, please file a bug report with > detailled step-by-step instructions. No we can't. We tried several times, no way. Is it a a good idea to set "edit_ticketing" to false? My wiki is closed anyway. Kai From itsec.listuser at gmail.com Thu Nov 5 01:58:59 2009 From: itsec.listuser at gmail.com (Mike) Date: Thu, 5 Nov 2009 07:58:59 +0100 (CET) Subject: [Moin-user] command line does not work In-Reply-To: References: <20091103202414.GB19832@my-toolbox.ch> Message-ID: <11375.193.134.170.35.1257404339.squirrel@www.my-toolbox.ch> On Wed, November 4, 2009 4:59 pm, R.Bauer wrote: > ITSec_Mike schrieb: >> I use moin 1.8.5 on Ubuntu server 8.04 with Python 2.5.2. >> When using the command line interface I get the below listed error >> message. >> As I do not know Python, I would be happy to get any feedback how to >> resolve that. >> >> moin ... check account... > > That looks like a mismatch of order > > may be you want to call moin ... account check... I am sorry, I did a typo in the email, by using the right syntax I still get the belwo liste error message 2009-11-03 21:22:36,639 WARNING MoinMoin.log:139 using logging configuration read from built-in fallback in MoinMoin.log module! Traceback (most recent call last): File "/usr/local/bin/moin", line 6, in run() File "/usr/local/lib/python2.5/site-packages/MoinMoin/script/moin.py", line 15, in run MoinScript().run(showtime=0) File "/usr/local/lib/python2.5/site-packages/MoinMoin/script/__init__.py", line 138, in run self.mainloop() File "/usr/local/lib/python2.5/site-packages/MoinMoin/script/__init__.py", line 242, in mainloop plugin_class = wikiutil.importBuiltinPlugin('script.%s' % cmd_module, cmd_name, 'PluginScript') File "/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py", line 1137, in importBuiltinPlugin if not name in builtinPlugins(kind): File "/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py", line 1176, in builtinPlugins return pysupport.importName(modulename, "modules") File "/usr/local/lib/python2.5/site-packages/MoinMoin/util/pysupport.py", line 81, in importName module = __import__(modulename, globals(), {}, [name]) ValueError: Empty module name From ndbecker2 at gmail.com Thu Nov 5 08:55:08 2009 From: ndbecker2 at gmail.com (Neal Becker) Date: Thu, 05 Nov 2009 08:55:08 -0500 Subject: [Moin-user] cannot get syntax highlighting to work References: Message-ID: R.Bauer wrote: > Neal Becker schrieb: >> I am using mod_wsgi. I restarted apache. Don't know about 'touch >> deployment script'. Do I need to do something? >> > > no that's enought instead of restarting the apache process you could > also touch your moin.wsgi. > >> R.Bauer wrote: >> >>> Neal Becker schrieb: >>>> I'm using moin 1.8.5. I have pygments-1.1.1. >>>> >>>> I tried copying moin-parser.py to mywiki/data/plugin/parser/code.py. > > If I look for the highlighting parser I find > http://moinmo.in/ParserMarket/highlight > > Where is yours from? > >>>> I edited that file to set INLINESTYLES = True. No other changes. >>> Do you have restarted the server process. Or if you run mod_wsgi do you >>> have touched your deployment script? >>> >>> >>>> I made a test page: >>>> >>>> Describe FrontEndDecimation here. >>>> {{{#!code python >>>> for i in range (10): >>>> print 'hello' >>>> }}} >>>> >>>> No highlighting. No error messages I could find. (How could I debug >>>> this?) >>>> >>>> If I change this to: >>>> {{{#!python >>>> ... >>>> >>>> I get highlighting. That's nice, but I want highlighting of my >>>> attachments, which I think means I need to use the code.py plugin. > > hmm, no a python script should also hightlight on default if you view it > in the attachment dialog or if you use transclusion syntax > e.g. http://moinmo.in/WikiSandBox#old_1.8_code > > {{attachment:my_python_script.py}} > > does this work for you? > Yes, that works, thanks! From rb.proj at gmail.com Thu Nov 5 11:17:29 2009 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 05 Nov 2009 17:17:29 +0100 Subject: [Moin-user] Strange error message In-Reply-To: <580814a00911042205g42629e31h44a2ce3f98f4c24e@mail.gmail.com> References: <580814a00911031104l10c63a61m6471172ff2f5b47e@mail.gmail.com> <1257375096.13232.122.camel@x300> <580814a00911042205g42629e31h44a2ce3f98f4c24e@mail.gmail.com> Message-ID: Kai Jaeger schrieb: >> Strange, it should tell "... action edit". > > It did - my mistake, sorry. > > [...] > >> If there is none or the ticket is invalid somehow, you get this message >> and moin rejects to save. > > In opposite to others my client left the browser window open for just > 15 minutes. > >>> This error message is complety rubbish of course. How can one use a >>> non-interactive user interface to edit anything?! >> By directly POSTing content to the submission URL. Usually spammers try >> that. > > Understood. However, MoinMoin itself doesn't tell anything about it. > Same for "edit_ticketing". > >> Nevertheless, if he used preview before for that content, he should've >> been able to just close the browser and reopen the same page again - >> moin should offer to load the previewed content into the editor then. > > That was the main problem: everything vanished. And the guy is a smat > computer consultant... Hmm wasn't he logged in? This feature is only available for logged in users. > >> BTW, if you can reproduce that problem, please file a bug report with >> detailled step-by-step instructions. > > No we can't. We tried several times, no way. > > Is it a a good idea to set "edit_ticketing" to false? My wiki is closed anyway. > > Kai > > ------------------------------------------------------------------------------ > 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 From kai at aplteam.com Thu Nov 5 11:23:00 2009 From: kai at aplteam.com (Kai Jaeger) Date: Thu, 5 Nov 2009 16:23:00 +0000 Subject: [Moin-user] Strange error message In-Reply-To: References: <580814a00911031104l10c63a61m6471172ff2f5b47e@mail.gmail.com> <1257375096.13232.122.camel@x300> <580814a00911042205g42629e31h44a2ce3f98f4c24e@mail.gmail.com> Message-ID: <580814a00911050823m21634b1fk597a9ce45655d629@mail.gmail.com> [...] > Hmm wasn't he logged in? This feature is only available for logged in users. Yes he was. Only with a user account one can do more than read. From rb.proj at gmail.com Thu Nov 5 11:28:45 2009 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 05 Nov 2009 17:28:45 +0100 Subject: [Moin-user] command line does not work In-Reply-To: <11375.193.134.170.35.1257404339.squirrel@www.my-toolbox.ch> References: <20091103202414.GB19832@my-toolbox.ch> <11375.193.134.170.35.1257404339.squirrel@www.my-toolbox.ch> Message-ID: Mike schrieb: > On Wed, November 4, 2009 4:59 pm, R.Bauer wrote: >> ITSec_Mike schrieb: >>> I use moin 1.8.5 on Ubuntu server 8.04 with Python 2.5.2. >>> When using the command line interface I get the below listed error >>> message. >>> As I do not know Python, I would be happy to get any feedback how to >>> resolve that. >>> >>> moin ... check account... >> That looks like a mismatch of order >> >> may be you want to call moin ... account check... > I am sorry, I did a typo in the email, by using the right syntax I still > get the belwo liste error message How do you have installed moin. Is it from ubuntu or the moin tarball from MoinMoinDownload? Does it make a difference if you call /usr/local/lib/python2.5/site-packages/MoinMoin/script/moin.py ... check account... ? If so please look into /usr/local/bin/moin may be it finds a wrong moin path? cheers Reimar > > > 2009-11-03 21:22:36,639 WARNING MoinMoin.log:139 using logging > configuration read from built-in fallback in MoinMoin.log module! > Traceback (most recent call last): > File "/usr/local/bin/moin", line 6, in > run() > File "/usr/local/lib/python2.5/site-packages/MoinMoin/script/moin.py", > line 15, in run > MoinScript().run(showtime=0) > File > "/usr/local/lib/python2.5/site-packages/MoinMoin/script/__init__.py", > line 138, in run > self.mainloop() > File > "/usr/local/lib/python2.5/site-packages/MoinMoin/script/__init__.py", > line 242, in mainloop > plugin_class = wikiutil.importBuiltinPlugin('script.%s' % > cmd_module, cmd_name, 'PluginScript') > File "/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py", > line 1137, in importBuiltinPlugin > if not name in builtinPlugins(kind): > File "/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py", > line 1176, in builtinPlugins > return pysupport.importName(modulename, "modules") > File > "/usr/local/lib/python2.5/site-packages/MoinMoin/util/pysupport.py", > line 81, in importName > module = __import__(modulename, globals(), {}, [name]) > ValueError: Empty module name > > > > ------------------------------------------------------------------------------ > 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 From itsec.listuser at gmail.com Thu Nov 5 17:50:52 2009 From: itsec.listuser at gmail.com (Mike) Date: Thu, 5 Nov 2009 23:50:52 +0100 (CET) Subject: [Moin-user] command line does not work Message-ID: <37370.192.168.1.1.1257461452.squirrel@www.my-toolbox.ch> On Thu, November 5, 2009 5:28 pm, R.Bauer wrote: > Mike schrieb: >> On Wed, November 4, 2009 4:59 pm, R.Bauer wrote: >>> ITSec_Mike schrieb: >>>> I use moin 1.8.5 on Ubuntu server 8.04 with Python 2.5.2. >>>> When using the command line interface I get the below listed error message. >>>> As I do not know Python, I would be happy to get any feedback how to resolve that. >>>> >>>> moin ... check account... >>> That looks like a mismatch of order >>> >>> may be you want to call moin ... account check... >> I am sorry, I did a typo in the email, by using the right syntax I still get the belwo liste error message > > How do you have installed moin. Is it from ubuntu or the moin tarball from MoinMoinDownload? I installed it from the tarball > Does it make a difference if you call > /usr/local/lib/python2.5/site-packages/MoinMoin/script/moin.py ... check account... ? Doing so I get the excat same error message (as below attached). -- Thanks for your help! Mike >> 2009-11-03 21:22:36,639 WARNING MoinMoin.log:139 using logging >> configuration read from built-in fallback in MoinMoin.log module! Traceback (most recent call last): >> File "/usr/local/bin/moin", line 6, in >> run() >> File "/usr/local/lib/python2.5/site-packages/MoinMoin/script/moin.py", >> line 15, in run >> MoinScript().run(showtime=0) >> File >> "/usr/local/lib/python2.5/site-packages/MoinMoin/script/__init__.py", line 138, in run >> self.mainloop() >> File >> "/usr/local/lib/python2.5/site-packages/MoinMoin/script/__init__.py", line 242, in mainloop >> plugin_class = wikiutil.importBuiltinPlugin('script.%s' % >> cmd_module, cmd_name, 'PluginScript') >> File "/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py", >> line 1137, in importBuiltinPlugin >> if not name in builtinPlugins(kind): >> File "/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py", >> line 1176, in builtinPlugins >> return pysupport.importName(modulename, "modules") >> File >> "/usr/local/lib/python2.5/site-packages/MoinMoin/util/pysupport.py", line 81, in importName >> module = __import__(modulename, globals(), {}, [name]) >> ValueError: Empty module name >> >> >> >> ------------------------------------------------------------------------------ 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 > > > ------------------------------------------------------------------------------ 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 itsec.listuser at gmail.com Fri Nov 6 01:53:04 2009 From: itsec.listuser at gmail.com (Mike) Date: Fri, 06 Nov 2009 07:53:04 +0100 Subject: [Moin-user] command line does not work In-Reply-To: References: <20091103202414.GB19832@my-toolbox.ch> <11375.193.134.170.35.1257404339.squirrel@www.my-toolbox.ch> Message-ID: <1257490384.5907.3.camel@leonis> On Thu, 2009-11-05 at 17:28 +0100, R.Bauer wrote: > Mike schrieb: > > On Wed, November 4, 2009 4:59 pm, R.Bauer wrote: > >> ITSec_Mike schrieb: > >>> I use moin 1.8.5 on Ubuntu server 8.04 with Python 2.5.2. > >>> When using the command line interface I get the below listed error > >>> message. > >>> As I do not know Python, I would be happy to get any feedback how to > >>> resolve that. > >>> > >>> moin ... check account... > >> That looks like a mismatch of order > >> > >> may be you want to call moin ... account check... > > I am sorry, I did a typo in the email, by using the right syntax I still > > get the belwo liste error message > > How do you have installed moin. Is it from ubuntu or the moin tarball > from MoinMoinDownload? > > Does it make a difference if you call > /usr/local/lib/python2.5/site-packages/MoinMoin/script/moin.py ... check > account... ? e.g. If I just use moin --version, I get the correct version: moin --version MoinMoin 1.8.5 [release] I would be very happy to get any feedback as I do not know python at all. Thanks, Mike > > > > > > 2009-11-03 21:22:36,639 WARNING MoinMoin.log:139 using logging > > configuration read from built-in fallback in MoinMoin.log module! > > Traceback (boost recent call last): > > File "/usr/local/bin/moin", line 6, in > > run() > > File "/usr/local/lib/python2.5/site-packages/MoinMoin/script/moin.py", > > line 15, in run > > MoinScript().run(showtime=0) > > File > > "/usr/local/lib/python2.5/site-packages/MoinMoin/script/__init__.py", > > line 138, in run > > self.mainloop() > > File > > "/usr/local/lib/python2.5/site-packages/MoinMoin/script/__init__.py", > > line 242, in mainloop > > plugin_class = wikiutil.importBuiltinPlugin('script.%s' % > > cmd_module, cmd_name, 'PluginScript') > > File "/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py", > > line 1137, in importBuiltinPlugin > > if not name in builtinPlugins(kind): > > File "/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py", > > line 1176, in builtinPlugins > > return pysupport.importName(modulename, "modules") > > File > > "/usr/local/lib/python2.5/site-packages/MoinMoin/util/pysupport.py", > > line 81, in importName > > module = __import__(modulename, globals(), {}, [name]) > > ValueError: Empty module name > > > > > > > > ------------------------------------------------------------------------------ > > 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 > > > ------------------------------------------------------------------------------ > 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 rb.proj at gmail.com Sun Nov 8 11:59:25 2009 From: rb.proj at gmail.com (R.Bauer) Date: Sun, 08 Nov 2009 17:59:25 +0100 Subject: [Moin-user] command line does not work In-Reply-To: <37370.192.168.1.1.1257461452.squirrel@www.my-toolbox.ch> References: <37370.192.168.1.1.1257461452.squirrel@www.my-toolbox.ch> Message-ID: Mike schrieb: > On Thu, November 5, 2009 5:28 pm, R.Bauer wrote: >> Mike schrieb: >>> On Wed, November 4, 2009 4:59 pm, R.Bauer wrote: >>>> ITSec_Mike schrieb: >>>>> I use moin 1.8.5 on Ubuntu server 8.04 with Python 2.5.2. >>>>> When using the command line interface I get the below listed error > message. >>>>> As I do not know Python, I would be happy to get any feedback how to > resolve that. >>>>> moin ... check account... >>>> That looks like a mismatch of order >>>> >>>> may be you want to call moin ... account check... >>> I am sorry, I did a typo in the email, by using the right syntax I > still get the belwo liste error message >> How do you have installed moin. Is it from ubuntu or the moin tarball > from MoinMoinDownload? > I installed it from the tarball > > >> Does it make a difference if you call >> /usr/local/lib/python2.5/site-packages/MoinMoin/script/moin.py ... check > account... ? > Doing so I get the excat same error message (as below attached). > -- > Thanks for your help! > Mike > I have no idea what the cause could be for this. I assume you have replaced ... by the right vars. You could post the complete line. Also you could meet as at #moin on chat.freenode.net. It is easier as the mailinglist for talking on that problem. May be we can try an experiment? Can you first use the builtin wiki http://master19.moinmo.in/InstallDocs#quick For 1.8 the procedure for the builtin wiki is the same as there described for 1.9. You could experiment there also with the moin command. calling it moin-1.8.5/MoinMoin/script/moin.py .... cheers Reimar From rb.proj at gmail.com Mon Nov 9 10:58:50 2009 From: rb.proj at gmail.com (R.Bauer) Date: Mon, 09 Nov 2009 16:58:50 +0100 Subject: [Moin-user] Cache problem? In-Reply-To: References: Message-ID: Manfred Lotz schrieb: > R.Bauer wrote: >> Manfred Lotz schrieb: > > ... > >>> When I go back to CategoryTest page 'Test' is not listed, obviously >>> because it was no added to the cache. >>> >>> >>> What is my mistake? >>> >>> >> No mistake, you have just to clean the cache by the more action menu >> "Clean Cache" FullSearchCached means the results are not automaticly >> refreshed. You have to force that by deleting the cache. >> >> That is the normal behaviour of FullSearchCached. >> > > Thanks for the hint. That (actually it is called DeleteCache) did work > fine but took time. > > > I'm wondering why moinmoin doesn't automatically add the page to the > cache of CategoryTest when I specified this on page Test. Wouldn't it be > much better performance wise? May be add a FeatureRequest for that. Reimar From sandro at e-den.it Mon Nov 9 12:03:12 2009 From: sandro at e-den.it (Alessandro Dentella) Date: Mon, 9 Nov 2009 18:03:12 +0100 Subject: [Moin-user] rst format & grafical editing Message-ID: <20091109170312.GA28570@ubuntu> Hi, I'm just starting to use Moin. As I always use rst format I'd like to use that in the new site I want to open but users will not be technically skilled so I'd like to let the ability to use the graphical editing mode. Is it supported for rst format? I couldn't find a pointer thanks in advance sandro *:-) -- Sandro Dentella *:-) http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy From tw-public at gmx.de Tue Nov 10 02:52:00 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 10 Nov 2009 08:52:00 +0100 Subject: [Moin-user] rst format & grafical editing In-Reply-To: <20091109170312.GA28570@ubuntu> References: <20091109170312.GA28570@ubuntu> Message-ID: <1257839520.31852.6.camel@x300> > I'm just starting to use Moin. As I always use rst format I'd like to use > that in the new site Please note that the rst part of moin currently lacks a maintainer. (the moin devs maintaining the other code don't use rst) > I want to open but users will not be technically > skilled so I'd like to let the ability to use the graphical editing mode. The is no GUI editor for rst markup. Or, to be more exact: the GUI editor is editing html, but there is no converter (html -> rst), but the converter would be needed for that. And no, we do not intend to write that converter. And for anybody who wants to, it is recommended to do that in moin/2.0 later, based on new infrastructure and different from moin < 2.0. From baartzy at gmail.com Wed Nov 11 01:51:57 2009 From: baartzy at gmail.com (Peter Baartz) Date: Wed, 11 Nov 2009 16:51:57 +1000 Subject: [Moin-user] moin and xapian edit page->save; internal error In-Reply-To: <1257242081.13232.64.camel@x300> References: <1257242081.13232.64.camel@x300> Message-ID: On Tue, Nov 3, 2009 at 7:54 PM, Thomas Waldmann wrote: >> I have ?moinmoin and Xapian configured, and it is ?mostly* working. > > I would almost say "mostly working" could be a typical description for > mod_python based installations. :D > > Seriously: does anything hold you back from using mod_wsgi instead of > mod_python? It usually works far better and is easy to set up. If you > don't use mod_python for something else than moin, better deinstall it > after installing mod_wsgi. > > BTW, moin 1.9 will be WSGI at the core, so using mod_wsgi is also a good > preparation for the 1.9 upgrade later. > > The specific error you have seems to be that mod_python is somehow > unhappy about the return value's type of the moin function it calls: > >> [Tue Nov 03 12:58:12 2009] [error] [client xxx] PythonHandler >> MoinMoin.request.request_modpython::Request.run: ? File >> "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 301, >> in HandlerDispatch\n ? ?assert (type(result) == type(int())), \\, >> referer: http://sbtwiki/test2?action=edit >> [Tue Nov 03 12:58:12 2009] [error] [client xxx] PythonHandler >> MoinMoin.request.request_modpython::Request.run: AssertionError: >> Handler 'MoinMoin.request.request_modpython::Request.run' returned >> invalid return code., referer: http://sbtwiki/test2?action=edi > >> is there anything i can do to fix this? > > Well, one could find out the return value it is unhappy about and the > place where moin returns that value. > > The problem is that (AFAIK) none of the moin developers uses mod_python, > so some mod_python user would have to do that. > > But I bet installing mod_wsgi is much easier (and much more useful long > term) than debugging this. > > > problem solved ... replacing mod_python with mod_wsgi fixed everything Thank you for your help. Regards, Peter From kai at aplteam.com Wed Nov 11 13:50:16 2009 From: kai at aplteam.com (Kai Jaeger) Date: Wed, 11 Nov 2009 18:50:16 +0000 Subject: [Moin-user] "Edit GUI" - where is it?! Message-ID: <580814a00911111050n3fa515adiecfec10340e4b689@mail.gmail.com> Today I encountered a strange difference between browsers. Safari and Chrome both do not offer the "Edit GUI" button while Firefox, Mozilla, IE and Opera do. JavaScript is enabled everywhere. Does anybody else encounter this? Kai From rb.proj at gmail.com Thu Nov 12 06:32:19 2009 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 12 Nov 2009 12:32:19 +0100 Subject: [Moin-user] "Edit GUI" - where is it?! In-Reply-To: <580814a00911111050n3fa515adiecfec10340e4b689@mail.gmail.com> References: <580814a00911111050n3fa515adiecfec10340e4b689@mail.gmail.com> Message-ID: Kai Jaeger schrieb: > Today I encountered a strange difference between browsers. > > Safari and Chrome both do not offer the "Edit GUI" button while > Firefox, Mozilla, IE and Opera do. JavaScript is enabled everywhere. > > Does anybody else encounter this? > > Kai You need a javascript which has a complete set of javascript features. I guess Safari and Chrome don't support the functions which are needed by fckeditor. cheers Reimar From kai at aplteam.com Thu Nov 12 08:14:34 2009 From: kai at aplteam.com (Kai Jaeger) Date: Thu, 12 Nov 2009 13:14:34 +0000 Subject: [Moin-user] "Edit GUI" - where is it?! In-Reply-To: References: <580814a00911111050n3fa515adiecfec10340e4b689@mail.gmail.com> Message-ID: <580814a00911120514u22a91d38x6d3634e3634995e0@mail.gmail.com> Okay, that makes sense, although it is a surprise to me - I didn't expect Chrome to be too restricted, let alone Safari. However, it shouldn't hide the "GUI Edit" button then. People using restricted browsers might never notice that they are missing something. The button should be there but inactive. Thanks. Kai On Thu, Nov 12, 2009 at 11:32, R.Bauer wrote: > Kai Jaeger schrieb: >> Today I encountered a strange difference between browsers. >> >> Safari and Chrome both do not offer the "Edit GUI" button while >> Firefox, Mozilla, IE and Opera do. JavaScript is enabled everywhere. >> >> Does anybody else encounter this? >> >> Kai > > You need a javascript which has a complete set of javascript features. > I guess Safari and Chrome don't support the functions which are needed > by fckeditor. > > cheers > Reimar > > > ------------------------------------------------------------------------------ > 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 mike.freeman.3832 at gmail.com Thu Nov 12 12:04:21 2009 From: mike.freeman.3832 at gmail.com (Michael Freeman) Date: Thu, 12 Nov 2009 11:04:21 -0600 Subject: [Moin-user] installing MoinMoin on ubuntu In-Reply-To: <1253650656.30932.112.camel@solid.paris.klabs.be> References: <1253634650.14528.6.camel@server.firma.waldmann-edv.de> <1253650656.30932.112.camel@solid.paris.klabs.be> Message-ID: On Tue, Sep 22, 2009 at 2:17 PM, Frank Lin PIAT wrote: > The GUI editor was removed in 1.6.2-1 > Since 1.8.2-2, Moinmoin can use Debian/Ubuntu's system-wide version of > fckeditor. > > If you use moinmoin >= 1.8.2 (i.e Jaunty or Karmic), make sure you > install the package "fckeditor" as it is merely "suggested" in Ubuntu. I'm running 1.8.2. I've installed the fckeditor package. Now how do I get MoinMoin to use it? Currently when I click on "edit(gui)" it doesn't load the editor, just all the MoinMoin stuff around it. The text editor works fine. TIA. Mike -- Michael J. Freeman Reserve, LA From kai at aplteam.com Thu Nov 12 15:17:01 2009 From: kai at aplteam.com (Kai Jaeger) Date: Thu, 12 Nov 2009 20:17:01 +0000 Subject: [Moin-user] "You are not allowed to do newaccount on this page. Login and try again" Message-ID: <580814a00911121217n1dde1952r4f160d166541abd7@mail.gmail.com> I got this message when I tried to create an account on a new wiki which got just part of my wiki farm. Apart from the fact that the message is nonsense (how shall I login in to create a new account?) I don't understand what's going on. This is my ACL: acl_rights_before = u" All:read,write,admin,delete,revert" No default, no after. Reason is that I want to create a number of accounts, then change the ACL and close the wiki. Why I'm getting the error - any ideas? Kai From mike.freeman.3832 at gmail.com Thu Nov 12 16:02:23 2009 From: mike.freeman.3832 at gmail.com (Michael Freeman) Date: Thu, 12 Nov 2009 15:02:23 -0600 Subject: [Moin-user] installing MoinMoin on ubuntu In-Reply-To: References: <1253634650.14528.6.camel@server.firma.waldmann-edv.de> <1253650656.30932.112.camel@solid.paris.klabs.be> Message-ID: On Thu, Nov 12, 2009 at 11:04 AM, Michael Freeman wrote: > I'm running 1.8.2. ?I've installed the fckeditor package. ?Now how do > I get MoinMoin to use it? > > Currently when I click on "edit(gui)" it doesn't load the editor, just > all the MoinMoin stuff around it. ?The text editor works fine. I've got the gui editor working now. Turns out I had a number of aliases incorrect, and a few files missing. Plowing through the /var/log/apache2/access.log helped me track down what was misplaced or missing. Mike -- Michael J. Freeman Reserve, LA From tw-public at gmx.de Fri Nov 13 02:29:10 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 13 Nov 2009 08:29:10 +0100 Subject: [Moin-user] "You are not allowed to do newaccount on this page. Login and try again" In-Reply-To: <580814a00911121217n1dde1952r4f160d166541abd7@mail.gmail.com> References: <580814a00911121217n1dde1952r4f160d166541abd7@mail.gmail.com> Message-ID: <1258097350.4482.18.camel@x300> > Apart from the fact that the message is nonsense (how shall I login in > to create a new account?) True, it's nonsense. The reason for it is that it comes from a rather highlevel and unspecific handler for all actions. It's just telling "it doesn't work". And because you are not logged in, it suggests you try logging in. I am not too happy with that "try logging in" as it almost sounds like promising it could work then. OTOH, many people have been unhappy if it does not suggest logging in in such cases. I guess we can't make everybody happy. > This is my ACL: This is unlikely an acl problem. Please rather look whether you really have a newaccount action (action/newaccount.py) and whether you might have excluded it in your configuration. From furutaka.kazuyoshi at jaea.go.jp Wed Nov 18 23:57:13 2009 From: furutaka.kazuyoshi at jaea.go.jp (Kazuyoshi Furutaka) Date: Thu, 19 Nov 2009 13:57:13 +0900 (JST) Subject: [Moin-user] migration to another host? Message-ID: <20091119.135713.55402544.furutaka.kazuyoshi@jaea.go.jp> Hi list, I have an wiki running on a linux machine (Fedora 10 (x86_64)), with moin-1.6.3-1.fc10.noarch rpm package, as a standalone server, and the owner of the files for the wiki instance, such as moin, moin.py, wikiconfig.py and those under data/, htdocs/, and underlay/, is an ordinary user, not a system user e.g. www. Now I would like to migrate the wiki to another machine (also linux, but running Fedora 12 (i386)), with moin-1.8.5-1.fc12.noarch rpm package and Apache, and the files for the wiki instance are owned by a system account. How can I migrate the wiki instance to the new machine? What additional steps are necessary in addition to those for the 1.6 -> 1.7 -> 1.8 migration (and backup/copy of the instance files)? Thanks in advance, Yours, Kazuyoshi -- Kazuyoshi Furutaka furutaka _dot_ kazuyoshi _at_ jaea _dot_ go _dot_ jp From tw-public at gmx.de Thu Nov 19 03:31:20 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 19 Nov 2009 09:31:20 +0100 Subject: [Moin-user] migration to another host? In-Reply-To: <20091119.135713.55402544.furutaka.kazuyoshi@jaea.go.jp> References: <20091119.135713.55402544.furutaka.kazuyoshi@jaea.go.jp> Message-ID: <1258619480.23773.4.camel@x300> Moin, > I have an wiki running > on a linux machine (Fedora 10 (x86_64)), > with moin-1.6.3-1.fc10.noarch rpm package, > as a standalone server, and > the owner of the files for the wiki instance, > such as moin, moin.py, wikiconfig.py and > those under data/, htdocs/, and underlay/, > is an ordinary user, not a system user e.g. > www. It is quite simple: the running moin code must have rw access to data_dir, also to data_underlay_dir. It needs to be able to at least read all code and configuration files. Usually I just chown -R x data/ underlay/ with x being the user used for running moin (e.g. "moin" or "www-data" or whatever). Then chmod -R u +rwX data/ underlay/. > Now I would like to migrate the wiki to another > machine (also linux, but running Fedora 12 (i386)), > with moin-1.8.5-1.fc12.noarch rpm package and > Apache, and > the files for the wiki instance are owned by > a system account. > > How can I migrate the wiki instance to the new > machine? You just copy the data/ dir to the new machine, make it read-write for the user running the mig scripts. Follow the docs and howtos on the wiki. Cheers, Thomas From furutaka.kazuyoshi at jaea.go.jp Thu Nov 19 07:27:41 2009 From: furutaka.kazuyoshi at jaea.go.jp (furutaka.kazuyoshi at jaea.go.jp) Date: Thu, 19 Nov 2009 21:27:41 +0900 (JST) Subject: [Moin-user] migration to another host? In-Reply-To: <1258619480.23773.4.camel@x300> References: <20091119.135713.55402544.furutaka.kazuyoshi@jaea.go.jp> <1258619480.23773.4.camel@x300> Message-ID: <20091119212741.BBH51597@ms11.jaea.go.jp> Dear Thomas, (Cc: the list) Thanks for your email. I'll try it tomorrow. Yours, Kazuyoshi @ home ---- Original message ---- >Date: Thu, 19 Nov 2009 09:31:20 +0100 >From: Thomas Waldmann >Subject: Re: [Moin-user] migration to another host? >To: Kazuyoshi Furutaka >Cc: moin-user at lists.sourceforge.net > >Moin, > >> I have an wiki running >> on a linux machine (Fedora 10 (x86_64)), >> with moin-1.6.3-1.fc10.noarch rpm package, >> as a standalone server, and >> the owner of the files for the wiki instance, >> such as moin, moin.py, wikiconfig.py and >> those under data/, htdocs/, and underlay/, >> is an ordinary user, not a system user e.g. >> www. > >It is quite simple: the running moin code must have rw access to >data_dir, also to data_underlay_dir. It needs to be able to at least >read all code and configuration files. > >Usually I just chown -R x data/ underlay/ with x being the user used for >running moin (e.g. "moin" or "www-data" or whatever). Then chmod -R u >+rwX data/ underlay/. > >> Now I would like to migrate the wiki to another >> machine (also linux, but running Fedora 12 (i386)), >> with moin-1.8.5-1.fc12.noarch rpm package and >> Apache, and >> the files for the wiki instance are owned by >> a system account. >> >> How can I migrate the wiki instance to the new >> machine? > >You just copy the data/ dir to the new machine, make it read-write for >the user running the mig scripts. Follow the docs and howtos on the >wiki. > >Cheers, > >Thomas > > From jwhuang at twgrid.org Thu Nov 19 08:32:28 2009 From: jwhuang at twgrid.org (Jhen-Wei Huang) Date: Thu, 19 Nov 2009 14:32:28 +0100 Subject: [Moin-user] Question of auto create user profile via SSL client certification authentication In-Reply-To: <1257374766.13232.116.camel@x300> References: <13ac44990911030740r3212cc43u5231c02d30a4177f@mail.gmail.com> <1257374766.13232.116.camel@x300> Message-ID: <13ac44990911190532g561a04e0n5e718e16003106c6@mail.gmail.com> Hi Thomas and All, Really thanks for your help. We finally solved this problem. This is caused by stupid me. On Wed, Nov 4, 2009 at 11:46 PM, Thomas Waldmann wrote: > > from MoinMoin.auth.sslclientcert import SSLClientCertAuth > > auth = [SSLClientCertAuth(autocreate=['True'])] > Wrong syntax, it is autocreate=True. > Yes, and I put this in the wrong place. It should be put into the class rather than outside. Correct this and it works. > > > At http.conf, I did the following configuration: > > Alias /moin_static184/ "/var/www/mywiki/htdocs/" > > Please use 1.8.5. > > > WSGIScriptAlias /mywiki /var/www/mywiki/moin.wsgi > > So you are using mod_wsgi? > > > > > SetHandler python-program > > # Add the path of your wiki directory > > PythonPath "['/var/www/mywiki', > > '/usr/local/lib/python2.4/site-packages'] + sys.path" > > PythonHandler MoinMoin.request.request_modpython::Request.run > > Or do you use mod_python? > > mod_wsgi is recommended, you should kill everything relating to > mod_python. SetHandler, PythonPath, PythonHandler is all mod_python. > > > I can access my wiki page with security http and see my DN shown in > > the ssl_sccess.log. But the user profile can not be created > > automatically. > > Any idea about this? Thanks a lot. > > I don't use SSL client cert auth myself (and it might be one of the > rather rarely used auth methods). > > Maybe you can increase logging level (see the auth debug logging > configuration example we provide, see wiki/config/logging/...) and add > some logging.debug("...") statements to the ssl client cert auth code > (see MoinMoin/auth/...) as needed. > > If you find any specific problem there, join us on #moin so we can help > with it. It is no big problem to fix something there in case it is > wrong, as soon as you have detailled information about it. > > > BR, Jhen-Wei -- OPS Team, ASGC Tel: +886-2-2789-8311 Fax: +886-2-2783-7653 -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael_soulier at mitel.com Sat Nov 21 18:16:46 2009 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Sat, 21 Nov 2009 18:16:46 -0500 Subject: [Moin-user] macros displayed post-upgrade Message-ID: <20091121231645.GV12510@e-smith.com> Hi, I upgraded to the latest Moin in Debian Lenny, a 1.7 release, and now my macros aren't being resolved, they're being displayed. Example, I'm seeing "BR" in a page instead of it inserting a break. How do I delete all cached pages and force moin to recreate them? I tried the moin command but I can't get it to work. I'm passing it a correct --config-dir argument but it keeps using the default config and then failing to find the wiki data. Thanks, Mike -- Michael P. Soulier , 613-592-2122 x2522 "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From michael_soulier at mitel.com Sat Nov 21 19:03:07 2009 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Sat, 21 Nov 2009 19:03:07 -0500 Subject: [Moin-user] macros displayed post-upgrade In-Reply-To: <20091121231645.GV12510@e-smith.com> References: <20091121231645.GV12510@e-smith.com> Message-ID: <20091122000306.GW12510@e-smith.com> On 21/11/09 Michael P. Soulier did say: > Hi, > > I upgraded to the latest Moin in Debian Lenny, a 1.7 release, and now my > macros aren't being resolved, they're being displayed. > > Example, I'm seeing "BR" in a page instead of it inserting a break. > > How do I delete all cached pages and force moin to recreate them? I tried the > moin command but I can't get it to work. I'm passing it a correct --config-dir > argument but it keeps using the default config and then failing to find the > wiki data. It looks like my data dir needs migrating, but this command is failing. rndlists:/var/www/rndwiki# moin --config-dir `pwd`/data --wiki-url=rndwiki.mitel.com/wiki migration data 2009-11-21 19:02:08,915 WARNING MoinMoin.log:120 using logging configuration read from built-in fallback in MoinMoin.log module! 2009-11-21 19:02:09,126 INFO MoinMoin.config.multiconfig:90 using farm config: /etc/moin/farmconfig.pyc Traceback (most recent call last): File "/usr/bin/moin", line 5, in run() File "/var/lib/python-support/python2.5/MoinMoin/script/moin.py", line 15, in run MoinScript().run(showtime=0) File "/var/lib/python-support/python2.5/MoinMoin/script/__init__.py", line 138, in run self.mainloop() File "/var/lib/python-support/python2.5/MoinMoin/script/__init__.py", line 255, in mainloop plugin_class(args[2:], self.options).run() # all starts again there File "/var/lib/python-support/python2.5/MoinMoin/script/__init__.py", line 138, in run self.mainloop() File "/var/lib/python-support/python2.5/MoinMoin/script/migration/data.py", line 36, in mainloop self.init_request() File "/var/lib/python-support/python2.5/MoinMoin/script/__init__.py", line 178, in init_request self.request = request_cli.Request(self.options.wiki_url, self.options.page) File "/var/lib/python-support/python2.5/MoinMoin/request/request_cli.py", line 35, in __init__ RequestBase.__init__(self, properties) File "/var/lib/python-support/python2.5/MoinMoin/request/__init__.py", line 166, in __init__ self._load_multi_cfg() File "/var/lib/python-support/python2.5/MoinMoin/request/__init__.py", line 361, in _load_multi_cfg self.cfg = multiconfig.getConfig(self.url) File "/var/lib/python-support/python2.5/MoinMoin/config/multiconfig.py", line 208, in getConfig cfg = _makeConfig(cfgName) File "/var/lib/python-support/python2.5/MoinMoin/config/multiconfig.py", line 122, in _makeConfig cfg = configClass(name) File "/var/lib/python-support/python2.5/MoinMoin/config/multiconfig.py", line 771, in __init__ self._check_directories() File "/var/lib/python-support/python2.5/MoinMoin/config/multiconfig.py", line 1042, in _check_directories raise error.ConfigurationError(msg) MoinMoin.error.ConfigurationError: data_dir "/org/mywiki/data" does not exist, or has incorrect ownership or permissions. Make sure the directory and the subdirectory "pages" are owned by the web server and are readable, writable and executable by the web server user and group. It is recommended to use absolute paths and not relative paths. Check also the spelling of the directory name. Help appreciated, Mike -- Michael P. Soulier , 613-592-2122 x2522 "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From michael_soulier at mitel.com Sat Nov 21 19:27:51 2009 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Sat, 21 Nov 2009 19:27:51 -0500 Subject: [Moin-user] macros displayed post-upgrade In-Reply-To: <20091122000306.GW12510@e-smith.com> References: <20091121231645.GV12510@e-smith.com> <20091122000306.GW12510@e-smith.com> Message-ID: <20091122002751.GX12510@e-smith.com> On 21/11/09 Michael P. Soulier did say: > It looks like my data dir needs migrating, but this command is failing. > > rndlists:/var/www/rndwiki# moin --config-dir `pwd`/data > --wiki-url=rndwiki.mitel.com/wiki migration data > 2009-11-21 19:02:08,915 WARNING MoinMoin.log:120 using logging configuration > read from built-in fallback in MoinMoin.log module! > 2009-11-21 19:02:09,126 INFO MoinMoin.config.multiconfig:90 using farm config: > /etc/moin/farmconfig.pyc Ok, I moved that file that Debian put there and it got further. rndlists:/var/www/rndwiki# moin --config-dir=`pwd`/config --wiki-url=rndwiki.mitel.com/wiki migration data 2009-11-21 19:26:49,913 WARNING MoinMoin.log:120 using logging configuration read from built-in fallback in MoinMoin.log module! 2009-11-21 19:26:51,321 INFO MoinMoin.config.multiconfig:124 using wiki config: /var/www/rndwiki/config/wikiconfig.py Traceback (most recent call last): File "/usr/bin/moin", line 5, in run() File "/var/lib/python-support/python2.5/MoinMoin/script/moin.py", line 15, in run MoinScript().run(showtime=0) File "/var/lib/python-support/python2.5/MoinMoin/script/__init__.py", line 138, in run self.mainloop() File "/var/lib/python-support/python2.5/MoinMoin/script/__init__.py", line 255, in mainloop plugin_class(args[2:], self.options).run() # all starts again there File "/var/lib/python-support/python2.5/MoinMoin/script/__init__.py", line 138, in run self.mainloop() File "/var/lib/python-support/python2.5/MoinMoin/script/migration/data.py", line 44, in mainloop curr_rev = meta['data_format_revision'] File "/var/lib/python-support/python2.5/MoinMoin/wikiutil.py", line 475, in __getitem__ return dict.__getitem__(self, key) KeyError: 'data_format_revision' Still need help. Thanks, Mike From michael_soulier at mitel.com Sat Nov 21 21:01:00 2009 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Sat, 21 Nov 2009 21:01:00 -0500 Subject: [Moin-user] macros displayed post-upgrade In-Reply-To: <20091122002751.GX12510@e-smith.com> References: <20091121231645.GV12510@e-smith.com> <20091122000306.GW12510@e-smith.com> <20091122002751.GX12510@e-smith.com> Message-ID: <20091122020059.GY12510@e-smith.com> On 21/11/09 Michael P. Soulier did say: > __getitem__ > return dict.__getitem__(self, key) > KeyError: 'data_format_revision' > > Still need help. Found this http://moinmo.in/MoinMoinBugs/CannotUpgrade1.5.2to1.5.3With_moin.py So I ran this /usr/share/python-support/python-moinmoin/MoinMoin/script/old/migration/152_to_1050300.py And now the migration is running. KeyError? Really? Surely we can do better to make upgrading easy... Woohoo! It worked. Thanks, Mike -- Michael P. Soulier , 613-592-2122 x2522 "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From tw-public at gmx.de Mon Nov 23 04:22:55 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 23 Nov 2009 10:22:55 +0100 Subject: [Moin-user] macros displayed post-upgrade In-Reply-To: <20091122020059.GY12510@e-smith.com> References: <20091121231645.GV12510@e-smith.com> <20091122000306.GW12510@e-smith.com> <20091122002751.GX12510@e-smith.com> <20091122020059.GY12510@e-smith.com> Message-ID: <1258968175.21221.48.camel@x300> > So I ran this > > /usr/share/python-support/python-moinmoin/MoinMoin/script/old/migration/152_to_1050300.py > > And now the migration is running. > > KeyError? Really? Surely we can do better to make upgrading easy... Yes, for example we could read docs/README.migration where the necessary procedure is documented, including the 1.5.2 to 1.5.3 step. > Woohoo! It worked. :) From michael_soulier at mitel.com Mon Nov 23 07:26:58 2009 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Mon, 23 Nov 2009 07:26:58 -0500 Subject: [Moin-user] macros displayed post-upgrade In-Reply-To: <1258968175.21221.48.camel@x300> References: <20091121231645.GV12510@e-smith.com> <20091122000306.GW12510@e-smith.com> <20091122002751.GX12510@e-smith.com> <20091122020059.GY12510@e-smith.com> <1258968175.21221.48.camel@x300> Message-ID: <20091123122658.GD12510@e-smith.com> On 23/11/09 Thomas Waldmann did say: > > KeyError? Really? Surely we can do better to make upgrading easy... > > Yes, for example we could read docs/README.migration where the necessary > procedure is documented, including the 1.5.2 to 1.5.3 step. Honestly, I found the way it was written confusing, and compared to come applications, overlay manual. Mike -- Michael P. Soulier , 613-592-2122 x2522 "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From rb.proj at gmail.com Mon Nov 23 12:50:05 2009 From: rb.proj at gmail.com (R.Bauer) Date: Mon, 23 Nov 2009 18:50:05 +0100 Subject: [Moin-user] macros displayed post-upgrade In-Reply-To: <20091123122658.GD12510@e-smith.com> References: <20091121231645.GV12510@e-smith.com> <20091122000306.GW12510@e-smith.com> <20091122002751.GX12510@e-smith.com> <20091122020059.GY12510@e-smith.com> <1258968175.21221.48.camel@x300> <20091123122658.GD12510@e-smith.com> Message-ID: Michael P. Soulier schrieb: > On 23/11/09 Thomas Waldmann did say: > >>> KeyError? Really? Surely we can do better to make upgrading easy... >> Yes, for example we could read docs/README.migration where the necessary >> procedure is documented, including the 1.5.2 to 1.5.3 step. > > Honestly, I found the way it was written confusing, and compared to come > applications, overlay manual. file a debian bug report that they should do a better readme. "Ok, I moved that file that Debian put there and it got further." Or if you don't install the debian package and our description is confusing help improving it. for 1.9 e.g. http://master19.moinmo.in/HelpOnUpdating cheers Reimar From michael_soulier at mitel.com Mon Nov 23 12:59:42 2009 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Mon, 23 Nov 2009 12:59:42 -0500 Subject: [Moin-user] macros displayed post-upgrade In-Reply-To: References: <20091121231645.GV12510@e-smith.com> <20091122000306.GW12510@e-smith.com> <20091122002751.GX12510@e-smith.com> <20091122020059.GY12510@e-smith.com> <1258968175.21221.48.camel@x300> <20091123122658.GD12510@e-smith.com> Message-ID: <20091123175942.GO12510@e-smith.com> On 23/11/09 R.Bauer did say: > file a debian bug report that they should do a better readme. It was a README.migration, which I thought was provided by Moin. > "Ok, I moved that file that Debian put there and it got further." Yes, on that, don't you think it's a bug if I explicitly tell the moin command --config-dir=foo and it picks up config on bar? What's the point of being explicit then? > Or if you don't install the debian package and our description is > confusing help improving it. > > for 1.9 e.g. > http://master19.moinmo.in/HelpOnUpdating I'll take a look. The main issue was the plethora of old migration scripts, and it was difficult to sort through them and figure out which ones I needed to run. And, receiving errors on my first attempt instead of something helpful. It should not be difficult to catch the KeyError and tell the user that they need to run that particular migration script first. Cheers, Mike -- Michael P. Soulier , 613-592-2122 x2522 "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From rb.proj at gmail.com Mon Nov 23 13:14:28 2009 From: rb.proj at gmail.com (R.Bauer) Date: Mon, 23 Nov 2009 19:14:28 +0100 Subject: [Moin-user] macros displayed post-upgrade In-Reply-To: <20091123175942.GO12510@e-smith.com> References: <20091121231645.GV12510@e-smith.com> <20091122000306.GW12510@e-smith.com> <20091122002751.GX12510@e-smith.com> <20091122020059.GY12510@e-smith.com> <1258968175.21221.48.camel@x300> <20091123122658.GD12510@e-smith.com> <20091123175942.GO12510@e-smith.com> Message-ID: Michael P. Soulier schrieb: > On 23/11/09 R.Bauer did say: > >> file a debian bug report that they should do a better readme. > > It was a README.migration, which I thought was provided by Moin. I am not sure on that because they change our default configuration. And they do it in a way which seems to confuse many users. At least I think they should describe there changes and describe how to migrate with their changes. > >> "Ok, I moved that file that Debian put there and it got further." > > Yes, on that, don't you think it's a bug if I explicitly tell the moin command > --config-dir=foo and it picks up config on bar? What's the point of being > explicit then? The problem is that they have changed the default configuration of moin and didn't tell you. With debian you get a farm configuration on default. A farm configuration selects its config file by a regex match of given url. The bug is that they haven't told you. And I am not sure if they tell anything after you did the package update that your wiki data needs migration. > >> Or if you don't install the debian package and our description is >> confusing help improving it. >> >> for 1.9 e.g. >> http://master19.moinmo.in/HelpOnUpdating > > I'll take a look. The main issue was the plethora of old migration scripts, > and it was difficult to sort through them and figure out which ones I needed > to run. And, receiving errors on my first attempt instead of something > helpful. It should not be difficult to catch the KeyError and tell the user > that they need to run that particular migration script first. We have improved our migration script 3 years ago. For newer moins it is easier. Reimar From tw-public at gmx.de Tue Nov 24 03:06:53 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 24 Nov 2009 09:06:53 +0100 Subject: [Moin-user] macros displayed post-upgrade In-Reply-To: <20091123175942.GO12510@e-smith.com> References: <20091121231645.GV12510@e-smith.com> <20091122000306.GW12510@e-smith.com> <20091122002751.GX12510@e-smith.com> <20091122020059.GY12510@e-smith.com> <1258968175.21221.48.camel@x300> <20091123122658.GD12510@e-smith.com> <20091123175942.GO12510@e-smith.com> Message-ID: <1259050013.24796.4.camel@x300> > to run. And, receiving errors on my first attempt instead of something > helpful. It should not be difficult to catch the KeyError and tell the user > that they need to run that particular migration script first. Yes, except that i could be incorrect if we just tell "run the 152_to_01050300 mig script". It was maybe correct in your case, because you came from 1.5.2 (or so), but in case you have an older moin, needing different mig scripts, the key error would be the same. Maybe it could be also permissions problems or ... From michael_soulier at mitel.com Tue Nov 24 08:09:49 2009 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Tue, 24 Nov 2009 08:09:49 -0500 Subject: [Moin-user] macros displayed post-upgrade In-Reply-To: <1259050013.24796.4.camel@x300> References: <20091121231645.GV12510@e-smith.com> <20091122000306.GW12510@e-smith.com> <20091122002751.GX12510@e-smith.com> <20091122020059.GY12510@e-smith.com> <1258968175.21221.48.camel@x300> <20091123122658.GD12510@e-smith.com> <20091123175942.GO12510@e-smith.com> <1259050013.24796.4.camel@x300> Message-ID: <20091124130948.GB25000@e-smith.com> On 24/11/09 Thomas Waldmann did say: > Yes, except that i could be incorrect if we just tell "run the > 152_to_01050300 mig script". > > It was maybe correct in your case, because you came from 1.5.2 (or so), > but in case you have an older moin, needing different mig scripts, the > key error would be the same. > > Maybe it could be also permissions problems or ... Understood. But a suggestion would have been nice... Luckily we have google. Mike -- Michael P. Soulier , 613-592-2122 x2522 "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From John.Marshall at ec.gc.ca Tue Nov 24 09:11:43 2009 From: John.Marshall at ec.gc.ca (John Marshall) Date: Tue, 24 Nov 2009 09:11:43 -0500 Subject: [Moin-user] comments? Message-ID: <4B0BE99F.2090408@ec.gc.ca> Hi, Some time ago I had a chat with Reimar about acls. Based on that I updated the page: http://moinmo.in/FeatureRequests/AclRefactoring/ItemACLs In it I make some proposals re: "create" Right and Subpages. I would appreciate any comments. Thanks, John From gunnar.scherf at googlemail.com Tue Nov 24 09:59:34 2009 From: gunnar.scherf at googlemail.com (Gunnar Scherf) Date: Tue, 24 Nov 2009 15:59:34 +0100 Subject: [Moin-user] Maximum number of Accounts Message-ID: <111219130911240659l21ad6382pb495e98f1b48bc0c@mail.gmail.com> Hi friends of moin, does someone know or has experiences how many user accounts you can handle with moin? Thank you very much Gunnar -------------- next part -------------- An HTML attachment was scrubbed... URL: From mickoum at gmail.com Tue Nov 24 13:05:30 2009 From: mickoum at gmail.com (Michael JOLY) Date: Tue, 24 Nov 2009 19:05:30 +0100 Subject: [Moin-user] Problem linking to a MS Word document Message-ID: <124c13f40911241005u33876b79q4a6881ca76eb0256@mail.gmail.com> Good day, I use the Moinmoin wiki since few weeks and i have a problem : when i try to download a Word document and to link it, i obtain this message : "*Current configuration does not allow embedding of the file xxx.doc because of its mimetype application/msword*". It works with a jpg file for example. I run the wiki in standalone version v.1.8. Could someone helps me ? Thanks in advance Mick -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Wed Nov 25 03:10:50 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 25 Nov 2009 09:10:50 +0100 Subject: [Moin-user] Maximum number of Accounts In-Reply-To: <111219130911240659l21ad6382pb495e98f1b48bc0c@mail.gmail.com> References: <111219130911240659l21ad6382pb495e98f1b48bc0c@mail.gmail.com> Message-ID: <1259136650.28140.5.camel@x300> > does someone know or has experiences how many user accounts you can > handle with moin? > AFAIR, there is no limit in moin code. But there could be one coming from a directory size limitation of the operating system you deployed moin onto. Moin stores 1 (or multiple, for older moins) file per user into data/user/ directory. Also, some stuff could be getting slower for very big numbers of users. E.g. the notifications (e.g. by mail for a page edit) will get slower if you have large numbers of users. From zulummar at gmx.de Wed Nov 25 03:59:32 2009 From: zulummar at gmx.de (Rene Sch) Date: Wed, 25 Nov 2009 09:59:32 +0100 Subject: [Moin-user] PDF Creator Message-ID: <20091125085932.224340@gmx.net> Hello, I am new to the community. I have directly a really simple thing, which I unfortunately do not manage it. It's about creating a PDF document from a wiki page. Here I would like an icon which will only be clicked and then a PDF document is created. This icon will be displayed automatically on each page. That this is possible, I know because I've already seen it. I think that it is the Macro pdficon *. py, which I can download on the moinmoin website. However, I have problems in order to integrate this tool. Has anyone here some info for me? I thank you in advance. I'm still fairly new to the area of Wiki and Web server. Greetings from Germany -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser From tw-public at gmx.de Wed Nov 25 07:39:47 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 25 Nov 2009 13:39:47 +0100 Subject: [Moin-user] PDF Creator In-Reply-To: <20091125085932.224340@gmx.net> References: <20091125085932.224340@gmx.net> Message-ID: <1259152787.18019.9.camel@server.firma.waldmann-edv.de> Hi Rene, > It's about creating a PDF document from a wiki page. Here I would like an icon which will only be clicked and then a PDF document is created. This icon will be displayed automatically on each page. That this is possible, I know because I've already seen it. > > I think that it is the Macro pdficon *. py, which I can download on the moinmoin website. However, I have problems in order to integrate this tool. Has anyone here some info for me? You mean that stuff? http://moinmo.in/ActionMarket/PdfAction Maybe ask on that page or the author of it. I don't use it myself, thus I can't directly help right now. Cheers, Thomas BTW, if your last name is more than "Sch", it got truncated. From rb.proj at gmail.com Wed Nov 25 09:06:44 2009 From: rb.proj at gmail.com (R.Bauer) Date: Wed, 25 Nov 2009 15:06:44 +0100 Subject: [Moin-user] Problem linking to a MS Word document In-Reply-To: <124c13f40911241005u33876b79q4a6881ca76eb0256@mail.gmail.com> References: <124c13f40911241005u33876b79q4a6881ca76eb0256@mail.gmail.com> Message-ID: Michael JOLY schrieb: > Good day, > moin > I use the Moinmoin wiki since few weeks and i have a problem : when i try to > download a Word document and to link it, i obtain this message : > > "*Current configuration does not allow embedding of the file xxx.doc because > of its mimetype application/msword*". That means you need a browser plugin for word for the browsers you use. Also you need to add the mimetype to the config var mimetypes_embed in your wikiconfig see HelpOnConfiguration. if you want a direct download link, you have to set a param [[attachment:example.doc|an example|&do=get]] > > It works with a jpg file for example. I run the wiki in standalone version > v.1.8. Could someone helps me ? Some mimetypes could be displayed by any browser and they don't need plugins. cheers Reimar From Vitaliy.Shchupak at deshaw.com Wed Nov 25 12:43:35 2009 From: Vitaliy.Shchupak at deshaw.com (Shchupak, Vitaliy) Date: Wed, 25 Nov 2009 12:43:35 -0500 Subject: [Moin-user] Maximum number of Accounts In-Reply-To: <1259136650.28140.5.camel@x300> References: <111219130911240659l21ad6382pb495e98f1b48bc0c@mail.gmail.com> <1259136650.28140.5.camel@x300> Message-ID: <5D6D763F138B34469DB5510816B5A0A4056A2E1E30@NYCMBX1.winmail.deshaw.com> > Also, some stuff could be getting slower for very big numbers of users. > E.g. the notifications (e.g. by mail for a page edit) will get slower if > you have large numbers of users. I wrote a sample patch to resolve this slowness: http://moinmo.in/MoinMoinBugs/GetSubscribersSlow This basically caches page subscriptions so it doesn't need to scan every user file on every page save -----Original Message----- From: Thomas Waldmann [mailto:tw-public at gmx.de] Sent: Wednesday, November 25, 2009 3:11 AM To: Moin User List Subject: Re: [Moin-user] Maximum number of Accounts > does someone know or has experiences how many user accounts you can > handle with moin? > AFAIR, there is no limit in moin code. But there could be one coming from a directory size limitation of the operating system you deployed moin onto. Moin stores 1 (or multiple, for older moins) file per user into data/user/ directory. Also, some stuff could be getting slower for very big numbers of users. E.g. the notifications (e.g. by mail for a page edit) will get slower if you have large numbers of users. ------------------------------------------------------------------------------ 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 i92matsk at yahoo.com Sun Nov 29 10:43:27 2009 From: i92matsk at yahoo.com (Mattias Skarin) Date: Sun, 29 Nov 2009 07:43:27 -0800 (PST) Subject: [Moin-user] wsgi, can't find wikiconfig.py using relative paths In-Reply-To: <1259050013.24796.4.camel@x300> Message-ID: <611228.21618.qm@web30201.mail.mud.yahoo.com> Running several wikis, I have setup: wikidir/cgi-bin/moin.wsgi wikidir/wikiconfig.py With cgi, I could tell the moin.cgi where wikiconfig was using: sys.path.insert(0, '..') but with wsgi that no longer applies. I need to provide absolute paths to all wikiconfig.py dirs (..aswell as to data, overlay dirs). Obviously I am missing some basic understanding of wsgi.. Any enlightenment is appreciated :) Also ides of how to get around using absolute paths in moin.wsgi and wikiconfig.py.. Cheers Mattias From tw-public at gmx.de Sun Nov 29 15:06:38 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Sun, 29 Nov 2009 21:06:38 +0100 Subject: [Moin-user] moin 1.9.0rc2 released Message-ID: <1259525198.5415.0.camel@x300> See http://moinmo.in/MoinMoinDownload for the release archive and the change log. Please test and report bugs to make it a better 1.9.0 release. Some system text translations and help pages still need improvement - if you know a non-english language, you can also help translating and/or fixing stuff. Please translate on master19 wiki, see: http://moinmo.in/MoinDev/Translation - your work will get into 1.9.0 release then. From rog7993 at web.de Mon Nov 30 09:48:56 2009 From: rog7993 at web.de (rog7993 at web.de) Date: Mon, 30 Nov 2009 15:48:56 +0100 Subject: [Moin-user] diff view while editing a page Message-ID: <20091130144856.GH1964@iis.fraunhofer.de> Hello, while editing a page, one can push a button to get a preview. Is it possible to show the differences to the last version (comparable to the diff view from the info tab), too? Ingo From tw-public at gmx.de Mon Nov 30 12:40:52 2009 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 30 Nov 2009 18:40:52 +0100 Subject: [Moin-user] diff view while editing a page In-Reply-To: <20091130144856.GH1964@iis.fraunhofer.de> References: <20091130144856.GH1964@iis.fraunhofer.de> Message-ID: <1259602852.3908.137.camel@server.firma.waldmann-edv.de> > while editing a page, one can push a button to get a preview. Is it > possible to show the differences to the last version (comparable to the > diff view from the info tab), too? No, not possible yet (as there is no code implementing this feature). But it is a nice idea, check whether we have a FeatureRequest for that on the wiki, sounds like a nice feature for moin 2.0. From mhz at ubuntu.com Mon Nov 30 14:18:37 2009 From: mhz at ubuntu.com (Mauricio Hernandez Z.) Date: Mon, 30 Nov 2009 16:18:37 -0300 Subject: [Moin-user] Is it possible to install current stable version on Bluehost hosting services? Message-ID: <720dc91f0911301118r48db06ew2a7674106c645b9f@mail.gmail.com> Bluehost does provide SSH access and Python. Any successful installation story and howto? Regards, Mauricio Hern?ndez Z. +569 77785043