From renato.pontefice at gmail.com Fri Apr 1 06:13:10 2016 From: renato.pontefice at gmail.com (Renato Pontefice) Date: Fri, 01 Apr 2016 10:13:10 +0000 Subject: [Moin-user] still prob. installing moin2 on win7 Message-ID: Hi, I still have some pro. I have: - python 2.7.x environment - pip installed - virtualenv installed when I run python wikiconfig.py, I obtain that: _____________________________________________ C:\Users\renatop\moin\moin-2.0>python wikiconfig.py Traceback (most recent call last): File "wikiconfig.py", line 36, in from MoinMoin.config.default import DefaultConfig, _default_password_checker File "C:\Users\renatop\moin\moin-2.0\MoinMoin\config\default.py", line 17, in from babel import parse_locale ImportError: No module named babel _____________________________________________ what does it happen? what can I do? Renato -------------- next part -------------- An HTML attachment was scrubbed... URL: From renato.pontefice at gmail.com Fri Apr 1 11:48:04 2016 From: renato.pontefice at gmail.com (Renato Pontefice) Date: Fri, 01 Apr 2016 15:48:04 +0000 Subject: [Moin-user] moin2 how to create admin user Message-ID: Hi, now, I'm working on my linux moin2. I'm wondering how do I can create a admin user. I read a lot of the doc on the moin2 wiki doc (htt):// moin-20.readthedocs.org/en/latest/index.html#) But I have not find the way to create this user. I've created just a simple user clicking on the link on the page. How can I do that? TIA Renato -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfreemesser at mail.cvs.rochester.edu Fri Apr 1 11:54:01 2016 From: cfreemesser at mail.cvs.rochester.edu (Chris Freemesser) Date: Fri, 1 Apr 2016 11:54:01 -0400 Subject: [Moin-user] moin2 how to create admin user In-Reply-To: References: Message-ID: <56FE9999.10807@mail.cvs.rochester.edu> On 4/1/16 11:48 AM, Renato Pontefice wrote: > Hi, > now, I'm working on my linux moin2. > I'm wondering how do I can create a admin user. > I read a lot of the doc on the moin2 wiki doc > (htt)://moin-20.readthedocs.org/en/latest/index.html# > ) > > But I have not find the way to create this user. I've created just a simple > user clicking on the link on the page. You have to add the "superuser" account to the wiki instance's "wikiconfig.py" file (or ".py" file if you're running a farm. The line looks like this: superuser = [u"WikiAdministrator", ] Where "WikiAdministrator" is the name of your admin account. Once you add this line and create that admin account, you have your admin user! Chris _____________________________________________ Chris Freemesser, Systems Administrator University of Rochester Department of Brain and Cognitive Sciences The Center for Visual Science Meliora Hall, Room 255 Phone: (585)275-0786 _____________________________________________ From renato.pontefice at gmail.com Sat Apr 2 09:08:21 2016 From: renato.pontefice at gmail.com (Renato Pontefice) Date: Sat, 02 Apr 2016 13:08:21 +0000 Subject: [Moin-user] moin2 how to create admin user Message-ID: Hi Chris, I've done that but I'm still unable to work as administrator.. what I've done is that: on wikiconfig.py (it is a standalone wiki, on my pc) I've added this line: superuser = [u"root", ] but if I try to login, I'm unable to do that. the root user should exist also inside moinmoin2 wiki? TIA Renato -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at einval.com Sat Apr 2 09:16:43 2016 From: steve at einval.com (Steve McIntyre) Date: Sat, 2 Apr 2016 14:16:43 +0100 Subject: [Moin-user] moin2 how to create admin user In-Reply-To: References: Message-ID: <20160402131643.GF19492@einval.com> On Sat, Apr 02, 2016 at 01:08:21PM +0000, Renato Pontefice wrote: >Hi Chris, >I've done that but I'm still unable to work as administrator.. >what I've done is that: >on wikiconfig.py (it is a standalone wiki, on my pc) I've added this line: > >superuser = [u"root", ] > >but if I try to login, I'm unable to do that. > >the root user should exist also inside moinmoin2 wiki? Correct. The username inside the wiki does not have any correlation with usernames on the host system. Instead of root, I just make my local "SteveMcIntyre" wiku user be a superuser. -- Steve McIntyre, Cambridge, UK. steve at einval.com < sladen> I actually stayed in a hotel and arrived to find a post-it note stuck to the mini-bar saying "Paul: This fridge and fittings are the correct way around and do not need altering" From phatbuckett at gmail.com Sat Apr 2 09:45:27 2016 From: phatbuckett at gmail.com (Darren Spruell) Date: Sat, 2 Apr 2016 15:45:27 +0200 Subject: [Moin-user] moin2 how to create admin user In-Reply-To: References: Message-ID: <152EAF27-E114-4DD2-93EE-B7D2BC7D3CD7@gmail.com> > On Apr 2, 2016, at 3:08 PM, Renato Pontefice wrote: > > Hi Chris, > I've done that but I'm still unable to work as administrator.. > what I've done is that: > on wikiconfig.py (it is a standalone wiki, on my pc) I've added this line: > > superuser = [u"root", ] > > but if I try to login, I'm unable to do that. > > the root user should exist also inside moinmoin2 wiki? Yes; the wiki user must be created (needs password, etc.). - Darren > > TIA > > Renato > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From paul at boddie.org.uk Sat Apr 2 11:26:06 2016 From: paul at boddie.org.uk (Paul Boddie) Date: Sat, 2 Apr 2016 17:26:06 +0200 Subject: [Moin-user] moin2 how to create admin user In-Reply-To: <152EAF27-E114-4DD2-93EE-B7D2BC7D3CD7@gmail.com> References: <152EAF27-E114-4DD2-93EE-B7D2BC7D3CD7@gmail.com> Message-ID: <201604021726.06757.paul@boddie.org.uk> On Saturday 2. April 2016 15.45.27 Darren Spruell wrote: > > On Apr 2, 2016, at 3:08 PM, Renato Pontefice > > wrote: > > > > the root user should exist also inside moinmoin2 wiki? > > Yes; the wiki user must be created (needs password, etc.). I imagine that with Apache or some other suitably-capable Web server, you could deploy an authentication module that understands the system authentication method, and this would then present an identity to Moin that would be handled in Moin itself using the GivenAuth authenticator. Alternatively, if LDAP were being used to authenticate system users, you could get Moin to use LDAPAuth, and I think this would even work with the standalone server. However, I don't know how much of this Moin 2 supports. Paul From kauer at biplane.com.au Sun Apr 3 02:24:55 2016 From: kauer at biplane.com.au (Karl Auer) Date: Sun, 03 Apr 2016 16:24:55 +1000 Subject: [Moin-user] Upgrading from 1.8.1 to 1.9.8 Message-ID: <1459664695.1940.415.camel@biplane.com.au> I think I need a clue. I have, on an ancient machine, a fully functional 1.8.1 (cgi) install. The system is running Ubuntu 7.4, so I'm not sure whether it can reasonably be taught to do WSGI. In any case I would really rather leave it alone. The main reason for upgrading is that the old system is very fragile. My goal is to have, on a completely different system, a fully functional 1.9.8 install, with all the accounts and data from my old 1.8.1 system. The upgrade notes all seem to be about installing 1.9.8 over 1.8.1 - i.e., on the same system. At the moment, I've gotten as far as installing a clean 1.9.8 successfully on a virtual. How do I "pour" the data and accounts into the new setup? Is it even possible? The 1.8.1 system has these directories: ls /usr/local/moin/share/moin config data htdocs server underlay The 1.9.8 system has these directories: ls /usr/local/share/moin config moin.wsgi server wikiconfig.py data underlay wikiconfig.pyc Is it as simple as replacing the new config, data, server and underlay directories with the old ones? Yours in hope, K. PS: For those of you feeling a slight sense of deja vu, it might be because I tried to make a start on this about a year ago but did not follow through. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Karl Auer (kauer at biplane.com.au) http://www.biplane.com.au/kauer http://twitter.com/kauer389 GPG fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B Old fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4 From kauer at biplane.com.au Sun Apr 3 03:42:57 2016 From: kauer at biplane.com.au (Karl Auer) Date: Sun, 03 Apr 2016 17:42:57 +1000 Subject: [Moin-user] Upgrading from 1.8.1 to 1.9.8 In-Reply-To: <1459664695.1940.415.camel@biplane.com.au> References: <1459664695.1940.415.camel@biplane.com.au> Message-ID: <1459669377.1940.437.camel@biplane.com.au> On Sun, 2016-04-03 at 16:24 +1000, Karl Auer wrote: > The upgrade notes all seem to be about installing 1.9.8 over 1.8.1 - > i.e., on the same system. I've sort of faked that now: I set up /usr/local/share/moin with the 1.8.1 data and overlay directories (and their contents) in it, then installed 1.9.8 over the top. Copied moin.wsgi out of the server subdir and edited wikiconfig.pi appropriately. Now I get a "500 internal error" from Apache for pretty much any page except the initial login page, and the final two lines of the Apache2 error log are: [Sun Apr 03 17:14:28.361957 2016] [wsgi:error] [pid 7602:tid 139732746934016] [remote 192.168.1.142:48395] File "Nullarbor", line 2, in [Sun Apr 03 17:14:28.362037 2016] [wsgi:error] [pid 7602:tid 139732746934016] [remote 192.168.1.142:48395] TypeError: 'dict' object is not callable I've set the front page to be a page called "Nullarbor", and that page certainly exists in the data. The "upgraded" install does seem to know about the old data at some level - if I try to open a page that I know is NOT there, MoinMoin will offer to create a new one. If I try to open a page that I know already exists, MoinMoin does NOT offer to create a new one; it throws the 500 error instead. It also knows about the old accounts - I can log in as the admin because I have set that one up new, but I can also log in as one of the users from the old system. It even seems to be paying attention to the ACLs, saying for various pages that I don't have permission to view the page. But it actually can't display any pages, even those I have permission to view. The error log shows essentially identical errors for every page I try to view. This may be something to do with caches, but I don't have the skill to adapt the script Rick Vandeveer provides with his upgrade notes. Still hoping for a clue. Yours hopefully, K. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Karl Auer (kauer at biplane.com.au) http://www.biplane.com.au/kauer http://twitter.com/kauer389 GPG fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B Old fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4 From paul at boddie.org.uk Sun Apr 3 08:02:06 2016 From: paul at boddie.org.uk (Paul Boddie) Date: Sun, 3 Apr 2016 14:02:06 +0200 Subject: [Moin-user] Upgrading from 1.8.1 to 1.9.8 In-Reply-To: <1459669377.1940.437.camel@biplane.com.au> References: <1459664695.1940.415.camel@biplane.com.au> <1459669377.1940.437.camel@biplane.com.au> Message-ID: <201604031402.08530.paul@boddie.org.uk> On Sunday 3. April 2016 09.42.57 Karl Auer wrote: > On Sun, 2016-04-03 at 16:24 +1000, Karl Auer wrote: > > The upgrade notes all seem to be about installing 1.9.8 over 1.8.1 - > > i.e., on the same system. > > I've sort of faked that now: I set up /usr/local/share/moin with the > 1.8.1 data and overlay directories (and their contents) in it, then > installed 1.9.8 over the top. Copied moin.wsgi out of the server subdir > and edited wikiconfig.pi appropriately. > > Now I get a "500 internal error" from Apache for pretty much any page > except the initial login page, and the final two lines of the Apache2 > error log are: > > [Sun Apr 03 17:14:28.361957 2016] [wsgi:error] [pid 7602:tid > 139732746934016] [remote 192.168.1.142:48395] File "Nullarbor", line 2, > in [Sun Apr 03 17:14:28.362037 2016] [wsgi:error] [pid 7602:tid > 139732746934016] [remote 192.168.1.142:48395] TypeError: 'dict' object is > not callable > > I've set the front page to be a page called "Nullarbor", and that page > certainly exists in the data. This looks like a cache-related error. At first it might seem strange that a non-Python file might be referenced in a traceback, but Moin effectively "compiles" pages to cache entries that are then "run" by Python. (Here, I'm relying on my memory of playing around with Moin's caching mechanism.) > The "upgraded" install does seem to know about the old data at some > level - if I try to open a page that I know is NOT there, MoinMoin will > offer to create a new one. If I try to open a page that I know already > exists, MoinMoin does NOT offer to create a new one; it throws the 500 > error instead. This sounds like you need to clean the cache using the appropriate moin command. Something like this: moin maint cleancache You may need to operate as the Web server user (such as www-data) to successfully perform the operation: sudo -u www-data moin maint cleancache And, of course, the moin command must be in your PATH. > It also knows about the old accounts - I can log in as the admin > because I have set that one up new, but I can also log in as one of the > users from the old system. > > It even seems to be paying attention to the ACLs, saying for various > pages that I don't have permission to view the page. But it actually > can't display any pages, even those I have permission to view. The > error log shows essentially identical errors for every page I try to > view. > > This may be something to do with caches, but I don't have the skill to > adapt the script Rick Vandeveer provides with his upgrade notes. Especially since it appears to be a Windows-centric guide: https://moinmo.in/RickVanderveer/UpgradingFromMoin18ToMoin19 Most advice around upgrades, whether Moin or Python or both are being upgraded, will eventually involve cleaning the cache, either to adapt the cache entries to changes in the Moin API that may have occurred (since they are effectively programs), or to use the bytecode appropriate for the upgraded Python version. Paul From renato.pontefice at gmail.com Sun Apr 3 14:34:39 2016 From: renato.pontefice at gmail.com (Renato Pontefice) Date: Sun, 03 Apr 2016 18:34:39 +0000 Subject: [Moin-user] moin 2: login as supervisor; prob on admin page Message-ID: Hi why do when I login as supervisor user (with the user set as superuser on wikiconfig.py), if I click on Admin nenu entry, I obtain this message? Renato _________________________________________-- Home History Index Tags User Admin Tickets My MoinMoin - renato - Settings - Logout - html - rst - renato - ~ / Home Access Denied You are not allowed to access this resource. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kauer at biplane.com.au Sun Apr 3 18:58:52 2016 From: kauer at biplane.com.au (Karl Auer) Date: Mon, 04 Apr 2016 08:58:52 +1000 Subject: [Moin-user] Upgrading from 1.8.1 to 1.9.8 In-Reply-To: <1459669377.1940.437.camel@biplane.com.au> References: <1459664695.1940.415.camel@biplane.com.au> <1459669377.1940.437.camel@biplane.com.au> Message-ID: <1459724332.22084.8.camel@biplane.com.au> On Sun, 2016-04-03 at 17:42 +1000, Karl Auer wrote: > This may be something to do with caches, but I don't have the skill > to adapt the script Rick Vandeveer provides with his upgrade notes. Since this was on a virtual I just cloned a copy and took a wild swing at cleaning out caches based on Rick's bat file: sudo python /usr/local/lib/python2.7/dist-packages/MoinMoin/script/moin.py --config-dir=/usr/local/share/moin --wiki-url=localhost maint cleancache And whaddaya know it all seems to work now. Obviously much testing still to do, but I can see pages now and at least a cursory check suggests everything is there. Thanks and regards, K. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Karl Auer (kauer at biplane.com.au) http://www.biplane.com.au/kauer http://twitter.com/kauer389 GPG fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B Old fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4 From renato.pontefice at gmail.com Thu Apr 7 05:53:02 2016 From: renato.pontefice at gmail.com (Renato Pontefice) Date: Thu, 07 Apr 2016 09:53:02 +0000 Subject: [Moin-user] try to installing moinmoin2 on win 7 Message-ID: Hi, I'm trying to install moinmoin2 to a win 7 pc. I've alreadi installe python 2.7, and it is on PATH. When i try to run the wikiconfig.py, I obtain that: _____________________________________________________ C:\Users\renatop\moin\moin-2.0>python wikiconfig.py Traceback (most recent call last): File "wikiconfig.py", line 36, in from MoinMoin.config.default import DefaultConfig, _default_password_checker File "C:\Users\renatop\moin\moin-2.0\MoinMoin\config\default.py", line 17, in from babel import parse_locale ImportError: No module named babel ______________________________________________________ what does this error mean? Can someone help me? TIA Renato -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at boddie.org.uk Thu Apr 7 06:50:35 2016 From: paul at boddie.org.uk (Paul Boddie) Date: Thu, 7 Apr 2016 12:50:35 +0200 Subject: [Moin-user] try to installing moinmoin2 on win 7 In-Reply-To: References: Message-ID: <201604071250.36755.paul@boddie.org.uk> On Thursday 7. April 2016 11.53.02 Renato Pontefice wrote: > Hi, > I'm trying to install moinmoin2 to a win 7 pc. > I've alreadi installe python 2.7, and it is on PATH. > When i try to run the wikiconfig.py, I obtain that: > _____________________________________________________ > C:\Users\renatop\moin\moin-2.0>python wikiconfig.py > Traceback (most recent call last): > File "wikiconfig.py", line 36, in > from MoinMoin.config.default import DefaultConfig, > _default_password_checker > > File "C:\Users\renatop\moin\moin-2.0\MoinMoin\config\default.py", line > 17, in > > from babel import parse_locale > ImportError: No module named babel > ______________________________________________________ > > what does this error mean? It means that the babel module is not installed: https://pypi.python.org/pypi/Babel For people using Debian, the python-babel package provides this software. Other operating system distributions probably provide similarly-named packages. Paul From renato.pontefice at gmail.com Thu Apr 7 09:50:13 2016 From: renato.pontefice at gmail.com (Renato Pontefice) Date: Thu, 07 Apr 2016 13:50:13 +0000 Subject: [Moin-user] try to installing moinmoin2 on win 7 Message-ID: I think I've installed babel (also Pip, virtualenv) but I still receive this error: _____________________ C:\Users\renatop\moin\moin-2.0>wikiconfig.py Traceback (most recent call last): File "C:\Users\renatop\moin\moin-2.0\wikiconfig.py", line 36, in from MoinMoin.config.default import DefaultConfig, _default_password_checker File "C:\Users\renatop\moin\moin-2.0\MoinMoin\config\default.py", line 19, in from MoinMoin.i18n import _, L_, N_ File "C:\Users\renatop\moin\moin-2.0\MoinMoin\i18n\__init__.py", line 20, in < module> from flask import current_app, request, _request_ctx_stack ImportError: No module named flask ________________________________ What's the prob now? Renato -------------- next part -------------- An HTML attachment was scrubbed... URL: From crosseyedpenguin at yahoo.com Thu Apr 7 10:30:36 2016 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Thu, 7 Apr 2016 14:30:36 +0000 (UTC) Subject: [Moin-user] try to installing moinmoin2 on win 7 In-Reply-To: References: Message-ID: <1360603768.968108.1460039436862.JavaMail.yahoo@mail.yahoo.com> If you are executing "python wikiconfig.py", that is wrong. Do "m run". Downloading and Installing ? MoinMoin 2.0.0a0 documentation | | | Downloading and Installing ? MoinMoin 2.0.0a0 documentation | | | On Thursday, April 7, 2016 6:51 AM, Renato Pontefice wrote: I think I've installed babel (also Pip, virtualenv) but I still receive this error:_____________________C:\Users\renatop\moin\moin-2.0>wikiconfig.pyTraceback (most recent call last):? File "C:\Users\renatop\moin\moin-2.0\wikiconfig.py", line 36, in ? ? from MoinMoin.config.default import DefaultConfig, _default_password_checker ? File "C:\Users\renatop\moin\moin-2.0\MoinMoin\config\default.py", line 19, in? ? from MoinMoin.i18n import _, L_, N_? File "C:\Users\renatop\moin\moin-2.0\MoinMoin\i18n\__init__.py", line 20, in ? ? from flask import current_app, request, _request_ctx_stackImportError: No module named flask________________________________ What's the prob now? Renato ------------------------------------------------------------------------------ _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at boddie.org.uk Thu Apr 7 11:00:34 2016 From: paul at boddie.org.uk (Paul Boddie) Date: Thu, 7 Apr 2016 17:00:34 +0200 Subject: [Moin-user] try to installing moinmoin2 on win 7 In-Reply-To: References: Message-ID: <201604071700.35242.paul@boddie.org.uk> On Thursday 7. April 2016 15.50.13 Renato Pontefice wrote: > I think I've installed babel (also Pip, virtualenv) but I still receive > this error: > _____________________ > C:\Users\renatop\moin\moin-2.0>wikiconfig.py > Traceback (most recent call last): > File "C:\Users\renatop\moin\moin-2.0\wikiconfig.py", line 36, in > from MoinMoin.config.default import DefaultConfig, > _default_password_checker > > File "C:\Users\renatop\moin\moin-2.0\MoinMoin\config\default.py", line > 19, in > > from MoinMoin.i18n import _, L_, N_ > File "C:\Users\renatop\moin\moin-2.0\MoinMoin\i18n\__init__.py", line 20, > in < > module> > from flask import current_app, request, _request_ctx_stack > ImportError: No module named flask > ________________________________ > > What's the prob now? You don't have Flask! ;-) https://pypi.python.org/pypi/Flask What's happening is that you're chasing down dependencies. I'm not familiar with the way that Moin 2 is set up or whether there is supposed to be an automated download of dependencies - not that I would trust the Python packaging tools to actually manage this successfully - but you might want to check the list of dependencies and see what else you might need. Apparently, setup.py lists the dependencies. Paul P.S. I did think about doing a Debian package for Moin 2, but given the amount of work involved and the probable need to package various dependencies, I just haven't been able to put the time or motivation towards doing so. (Personally, I think my time would be better spent on Moin 1.x, but anyway.) From renato.pontefice at gmail.com Sun Apr 10 09:36:33 2016 From: renato.pontefice at gmail.com (renato) Date: Sun, 10 Apr 2016 15:36:33 +0200 Subject: [Moin-user] moin2: how to create a new wiki Message-ID: <1460295393.5095.3.camel@gmail.com> Hi, I would create a new wiki from scratch. I think this is a good way to lesrn it. I think I should do that from wikiconfig.py, but I'm unable. Can someone help me? TIA Renato From crosseyedpenguin at yahoo.com Sun Apr 10 10:28:37 2016 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Sun, 10 Apr 2016 14:28:37 +0000 (UTC) Subject: [Moin-user] moin2: how to create a new wiki In-Reply-To: <1460295393.5095.3.camel@gmail.com> References: <1460295393.5095.3.camel@gmail.com> Message-ID: <204895640.244792.1460298517429.JavaMail.yahoo@mail.yahoo.com> You should read more before you ask questions:? Downloading and Installing ? MoinMoin 2.0.0a0 documentation Look for words "create empty wiki". After "python quickinstall.py", most of the things you want to do can be done via "m ???" (or "./m ???" for unix). | | | Downloading and Installing ? MoinMoin 2.0.0a0 documentation | | | On Sunday, April 10, 2016 6:38 AM, renato wrote: Hi, I would create a new wiki from scratch. I think this is a good way to lesrn it. I think I should do that from wikiconfig.py, but I'm unable. Can someone help me? TIA Renato ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/ gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532 _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.keller8001 at gmail.com Mon Apr 11 05:05:34 2016 From: thomas.keller8001 at gmail.com (Thomas Keller) Date: Mon, 11 Apr 2016 11:05:34 +0200 Subject: [Moin-user] xapian: building index fails Message-ID: <570B68DE.7070902@gmail.com> Hello, I have installed xapian on moinmoin 1.9.4 (apt-get install python-xapian antiword catdoc xpdf-utils) in Debian Wheezy. When I try to build the index for the first time, I get following errors: Could somebody please point me to the right direction how to fix it ? Traceback (most recent call last): File "/usr/bin/moin", line 5, in run() File "/usr/lib/python2.7/dist-packages/MoinMoin/script/moin.py", line 15, in run MoinScript().run(showtime=0) File "/usr/lib/python2.7/dist-packages/MoinMoin/script/__init__.py", line 138, in run self.mainloop() File "/usr/lib/python2.7/dist-packages/MoinMoin/script/__init__.py", line 261, in mainloop plugin_class(args[2:], self.options).run() # all starts again there File "/usr/lib/python2.7/dist-packages/MoinMoin/script/__init__.py", line 138, in run self.mainloop() File "/usr/lib/python2.7/dist-packages/MoinMoin/script/index/build.py", line 80, in mainloop self.init_request() File "/usr/lib/python2.7/dist-packages/MoinMoin/script/__init__.py", line 185, in init_request self.request = ScriptContext(url, self.options.page) File "/usr/lib/python2.7/dist-packages/MoinMoin/web/contexts.py", line 439, in __init__ wsgiapp.init(self) File "/usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py", line 55, in init context.user = setup_user(context, context.session) File "/usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py", line 222, in setup_user userobj = auth.handle_request(context, userobj) File "/usr/lib/python2.7/dist-packages/MoinMoin/auth/__init__.py", line 452, in handle_request userobj, cont = authmethod.request(request, userobj, cookie=request.cookies) File "/etc/moin/auth_module.py", line 112, in request abort(response) File "/usr/lib/python2.7/dist-packages/werkzeug/exceptions.py", line 522, in __call__ raise _ProxyException(code) werkzeug.exceptions._ProxyException From paul at xk7.net Tue Apr 12 03:52:11 2016 From: paul at xk7.net (Paul Waring) Date: Tue, 12 Apr 2016 08:52:11 +0100 Subject: [Moin-user] Creating a static copy of a MoinMoin site Message-ID: <20160412075211.GA6676@gallifrey> I have a MoinMoin site which I've inherited from a previous system administrator. I'd like to shut it down but keep a static copy of the content as an archive, ideally with the same URLs. At the moment I'm trying to accomplish this using wget with the following parameters: --mirror --convert-links --page-requisites --no-parent -w 1 -e robots=off -user-agent="Mozilla/5.0" -4 This seems to work for getting the HTML and CSS, but it fails to download any of the attachments. Is there something I can add to wget which will get round this problem? Alternatively, is there a way I can tell MoinMoin to link directly to files in the HTML it produces? If I could do that then I think wget would "just work" and download all the attachments. I'm not bothered about the attachment URLs changing as they won't have been linked to directly in other places (e.g. email archives). Thanks Paul -- Paul Waring Freelance consultant http://www.pwaring.com From kauer at biplane.com.au Tue Apr 12 04:10:48 2016 From: kauer at biplane.com.au (Karl Auer) Date: Tue, 12 Apr 2016 18:10:48 +1000 Subject: [Moin-user] Creating a static copy of a MoinMoin site In-Reply-To: <20160412075211.GA6676@gallifrey> References: <20160412075211.GA6676@gallifrey> Message-ID: <1460448648.1935.100.camel@biplane.com.au> On Tue, 2016-04-12 at 08:52 +0100, Paul Waring wrote: > I have a MoinMoin site which I've inherited from a previous system > administrator. I'd like to shut it down but keep a static copy of the > content as an archive, ideally with the same URLs. At the moment I'm > trying to accomplish this using wget with the following parameters: Can't you just change the user permissions to prevent any changes being made? And/or change the permissions on the data directory and its contents as belt-and-braces? Not as simple as genuinely static site, but the effect would be the same, I think. Sorry if that's naive. Regards, K. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Karl Auer (kauer at biplane.com.au) http://www.biplane.com.au/kauer http://twitter.com/kauer389 GPG fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B Old fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4 From paul at xk7.net Tue Apr 12 04:14:47 2016 From: paul at xk7.net (Paul Waring) Date: Tue, 12 Apr 2016 09:14:47 +0100 Subject: [Moin-user] Creating a static copy of a MoinMoin site In-Reply-To: <1460448648.1935.100.camel@biplane.com.au> References: <20160412075211.GA6676@gallifrey> <1460448648.1935.100.camel@biplane.com.au> Message-ID: <20160412081447.GB6676@gallifrey> On Tue, Apr 12, 2016 at 06:10:48PM +1000, Karl Auer wrote: > On Tue, 2016-04-12 at 08:52 +0100, Paul Waring wrote: > > I have a MoinMoin site which I've inherited from a previous system > > administrator. I'd like to shut it down but keep a static copy of the > > content as an archive, ideally with the same URLs. At the moment I'm > > trying to accomplish this using wget with the following parameters: > > Can't you just change the user permissions to prevent any changes being > made? And/or change the permissions on the data directory and its > contents as belt-and-braces? I want to shutdown MoinMoin completely, rather than just disabling changes - it's no longer required and I don't particularly want to install all the dependencies on the new server I'm migrating to. -- Paul Waring Freelance consultant http://www.pwaring.com From renato.pontefice at gmail.com Tue Apr 12 04:31:06 2016 From: renato.pontefice at gmail.com (Renato Pontefice) Date: Tue, 12 Apr 2016 10:31:06 +0200 Subject: [Moin-user] moin 2:there is somewheare a sandbox to use? Message-ID: Hi, as you can understand, I would try this wiki. I have two different pc: - one linux (where I have no prob) - one with win 7 The win 7 is on my work pc. Here I'm unable to install moin 2. So, I'm thinkng to a sandbox, to make practice. Do someone knows something to use? TIA Renato ps also a good guide install on win, is appreciate -------------- next part -------------- An HTML attachment was scrubbed... URL: From crosseyedpenguin at yahoo.com Tue Apr 12 10:21:16 2016 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Tue, 12 Apr 2016 14:21:16 +0000 (UTC) Subject: [Moin-user] Creating a static copy of a MoinMoin site In-Reply-To: <20160412081447.GB6676@gallifrey> References: <20160412075211.GA6676@gallifrey> <1460448648.1935.100.camel@biplane.com.au> <20160412081447.GB6676@gallifrey> Message-ID: <1875627466.1731418.1460470877002.JavaMail.yahoo@mail.yahoo.com> It has been a few years since I have used this, but try:?HelpOnMoinCommand/ExportDump - MoinMoin | | | | | | | | | | | HelpOnMoinCommand/ExportDump - MoinMoin | | | | On Tuesday, April 12, 2016 1:16 AM, Paul Waring wrote: On Tue, Apr 12, 2016 at 06:10:48PM +1000, Karl Auer wrote: > On Tue, 2016-04-12 at 08:52 +0100, Paul Waring wrote: > > I have a MoinMoin site which I've inherited from a previous system > > administrator. I'd like to shut it down but keep a static copy of the > > content as an archive, ideally with the same URLs. At the moment I'm > > trying to accomplish this using wget with the following parameters: > > Can't you just change the user permissions to prevent any changes being > made? And/or change the permissions on the data directory and its > contents as belt-and-braces? I want to shutdown MoinMoin completely, rather than just disabling changes - it's no longer required and I don't particularly want to install all the dependencies on the new server I'm migrating to. -- Paul Waring Freelance consultant http://www.pwaring.com ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at xk7.net Tue Apr 12 11:03:07 2016 From: paul at xk7.net (Paul Waring) Date: Tue, 12 Apr 2016 16:03:07 +0100 Subject: [Moin-user] Creating a static copy of a MoinMoin site In-Reply-To: <1875627466.1731418.1460470877002.JavaMail.yahoo@mail.yahoo.com> References: <20160412075211.GA6676@gallifrey> <1460448648.1935.100.camel@biplane.com.au> <20160412081447.GB6676@gallifrey> <1875627466.1731418.1460470877002.JavaMail.yahoo@mail.yahoo.com> Message-ID: <20160412150307.GA21093@gallifrey> On Tue, Apr 12, 2016 at 02:21:16PM +0000, Roger Haase wrote: > It has been a few years since I have used this, but > try: HelpOnMoinCommand/ExportDump - MoinMoin > > HelpOnMoinCommand/ExportDump - MoinMoin I've tried that but there are two big problems with the export dump: 1. It adds a .html extension to all pages, meaning that all external links (i.e. those linking to the wiki from another site) break. 2. It changes a forward slash in URLs to (2f), e.g. About/Contact because About(2f)Contact.html (again breaking URLs) -- Paul Waring Freelance consultant http://www.pwaring.com From paul at boddie.org.uk Tue Apr 12 11:59:40 2016 From: paul at boddie.org.uk (Paul Boddie) Date: Tue, 12 Apr 2016 17:59:40 +0200 Subject: [Moin-user] Creating a static copy of a MoinMoin site In-Reply-To: <20160412150307.GA21093@gallifrey> References: <20160412075211.GA6676@gallifrey> <1875627466.1731418.1460470877002.JavaMail.yahoo@mail.yahoo.com> <20160412150307.GA21093@gallifrey> Message-ID: <201604121759.40791.paul@boddie.org.uk> On Tuesday 12. April 2016 17.03.07 Paul Waring wrote: > On Tue, Apr 12, 2016 at 02:21:16PM +0000, Roger Haase wrote: > > It has been a few years since I have used this, but > > try: HelpOnMoinCommand/ExportDump - MoinMoin > > > > HelpOnMoinCommand/ExportDump - MoinMoin > > I've tried that but there are two big problems with the export dump: > > 1. It adds a .html extension to all pages, meaning that all external > links (i.e. those linking to the wiki from another site) break. > > 2. It changes a forward slash in URLs to (2f), e.g. About/Contact > because About(2f)Contact.html (again breaking URLs) Those don't sound like big problems to me, given that the source code is there for potential modification. Admittedly, I haven't looked at that feature in recent times, but you're effectively describing encoding issues on the output filenames, so there's probably just one place that needs changing. And you don't even need to make this generic/nice if you're doing this as a one-off job for yourself. Paul From crosseyedpenguin at yahoo.com Tue Apr 12 16:50:02 2016 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Tue, 12 Apr 2016 20:50:02 +0000 (UTC) Subject: [Moin-user] Creating a static copy of a MoinMoin site In-Reply-To: <20160412150307.GA21093@gallifrey> References: <20160412075211.GA6676@gallifrey> <1460448648.1935.100.camel@biplane.com.au> <20160412081447.GB6676@gallifrey> <1875627466.1731418.1460470877002.JavaMail.yahoo@mail.yahoo.com> <20160412150307.GA21093@gallifrey> Message-ID: <1880234217.2016224.1460494202699.JavaMail.yahoo@mail.yahoo.com> You could waste a bit of disk space by doing a copy and rename of files that files that need renaming. If you leave the originals, all the internal links will work. On Tuesday, April 12, 2016 8:05 AM, Paul Waring wrote: On Tue, Apr 12, 2016 at 02:21:16PM +0000, Roger Haase wrote: >? ? It has been a few years since I have used this, but >? ? try: HelpOnMoinCommand/ExportDump - MoinMoin > >? ? HelpOnMoinCommand/ExportDump - MoinMoin? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? I've tried that but there are two big problems with the export dump: 1. It adds a .html extension to all pages, meaning that all external links (i.e. those linking to the wiki from another site) break. 2. It changes a forward slash in URLs to (2f), e.g. About/Contact because About(2f)Contact.html (again breaking URLs) -- Paul Waring Freelance consultant http://www.pwaring.com ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From crosseyedpenguin at yahoo.com Tue Apr 12 18:09:22 2016 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Tue, 12 Apr 2016 22:09:22 +0000 (UTC) Subject: [Moin-user] moin 2:there is somewheare a sandbox to use? In-Reply-To: References: Message-ID: <60369267.2113395.1460498962045.JavaMail.yahoo@mail.yahoo.com> On your windows PC, try deleting the moin repo and the virtual-env, then clone it again and post the contents of m-quickinstall.txt somewhere. OR do "pip -V", if the version is 8.0 or greater the "python Quickinstall.py" will fail. Either install an older version of pip or try cloning my repo:?https://RogerHaase at bitbucket.org/RogerHaase/moin-2.0 On Tuesday, April 12, 2016 1:31 AM, Renato Pontefice wrote: Hi,as you can understand, I would try this wiki. I have two different pc:- one linux (where I have no prob)- one with win 7 The win 7 is on my work pc. Here I'm unable to install moin 2. So, I'm thinkng to a sandbox, to make practice. Do someone knows something to use? TIA Renato psalso a good guide ?install on win, is appreciate ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From renato.pontefice at gmail.com Wed Apr 13 14:36:39 2016 From: renato.pontefice at gmail.com (renato) Date: Wed, 13 Apr 2016 20:36:39 +0200 Subject: [Moin-user] moin2: how can I have th code to download PDF? Message-ID: <1460572599.4043.4.camel@gmail.com> Hi, I'm working on my linux moin2. It works well. I' done a simple page (in rst) I would add the way to download the page in pdf (or other format). I think it is a piece of code. Can someone tell me how can I do that? TIA Renato From renato.pontefice at gmail.com Fri Apr 15 04:24:28 2016 From: renato.pontefice at gmail.com (Renato Pontefice) Date: Fri, 15 Apr 2016 08:24:28 +0000 Subject: [Moin-user] moinmoin2: how does sphinx are integrated Message-ID: Hi, continuing to read the guide, is, step by step, more clear how moinmoin2 works. I mean the great DOM using, the integration with sphinx and other things. what I'm asking now is: where do the Sphinx integration are described? I mean: How can I integrate Sphinx on my wiki? TIA Renato -------------- next part -------------- An HTML attachment was scrubbed... URL: From crosseyedpenguin at yahoo.com Fri Apr 15 17:09:24 2016 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Fri, 15 Apr 2016 21:09:24 +0000 (UTC) Subject: [Moin-user] moinmoin2: how does sphinx are integrated In-Reply-To: References: Message-ID: <19213317.1466412.1460754564065.JavaMail.yahoo@mail.yahoo.com> Currently, the only use of Sphinx is to create the moin2 documentation. Do "./m docs" to create the local docs in /docs/_build/html/. The usual way to access the docs is through the navigation User button, then Documentation (local). On Friday, April 15, 2016 1:24 AM, Renato Pontefice wrote: Hi,continuing to read the guide, is, step by step, more clear how moinmoin2 works.I mean the great DOM using, the integration with sphinx and other things.what I'm asking now is:where do the Sphinx integration are described? I mean: How can I integrate Sphinx on my wiki? TIA Renato ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From reuterru at arcor.de Sat Apr 16 06:43:59 2016 From: reuterru at arcor.de (Rudolf Reuter) Date: Sat, 16 Apr 2016 12:43:59 +0200 Subject: [Moin-user] moinmoin 1.9.8, macro hits no longer works Message-ID: <5712176F.9070407@arcor.de> An HTML attachment was scrubbed... URL: From renato.pontefice at gmail.com Mon Apr 18 16:23:58 2016 From: renato.pontefice at gmail.com (renato) Date: Mon, 18 Apr 2016 22:23:58 +0200 Subject: [Moin-user] sphinx and moinmoin (2) Message-ID: <1461011038.7975.7.camel@gmail.com> I try to make a summary, of what I've understand about sphinx and moinmoin. - I could use moinmoin to make a collaborative docs (I use .rst) - then I could use sphinx to translate this doc on various format (latex, html and other) I found very useful the gadget on sphinx (and also in moin2) that let me translate the original .rst doc in the other format. Is it usable alone on the moinmoin2 wiki? Or I have to transfer the .rst on sphinx? I hope I was understood. TIA Renato