From pcolsen at gmail.com Thu Nov 1 18:53:31 2018 From: pcolsen at gmail.com (Peter Olsen) Date: Thu, 1 Nov 2018 18:53:31 -0400 Subject: [moin-user] How do I add the help language packages to moinmoin-1.9.10? Message-ID: <56310ED2-333A-4F7E-AEA0-239AD3039C6A@gmail.com> Ladies and Gentlemen, I?m sure that this is an easy question and that it?s explained in the docs, but I?ve cycled through the HTML docs about four times and I haven?t found how to do it. This is probably so straightforward that I?m not recognizing it. Chalk it up to someone who was most at home at the IBM 1620. If anyone needs help reading Hollerith codes, please let me know. I can read cards directly from the holes. (Printing is for sissies.) Thanks! Peter P.S. There?s a slight chance I sent this before. I meant to, but I can?t find it in my ?sent? message file and I haven??t received a come-back copy from the list. If so, please forgive me. From paul at boddie.org.uk Thu Nov 1 19:20:52 2018 From: paul at boddie.org.uk (Paul Boddie) Date: Fri, 02 Nov 2018 00:20:52 +0100 Subject: [moin-user] How do I add the help language packages to moinmoin-1.9.10? In-Reply-To: <56310ED2-333A-4F7E-AEA0-239AD3039C6A@gmail.com> References: <56310ED2-333A-4F7E-AEA0-239AD3039C6A@gmail.com> Message-ID: <11088816.p7PhtHFaTf@jeremy> On Thursday 1. November 2018 18.53.31 Peter Olsen wrote: > Ladies and Gentlemen, > > I?m sure that this is an easy question and that it?s explained in the docs, > but I?ve cycled through the HTML docs about four times and I haven?t found > how to do it. You might want to visit the LanguageSetup page on your wiki. Here is the corresponding page on the MoinMoin site: https://moinmo.in/LanguageSetup On your wiki's version of that page, there will be a link under "Installing page packages" entitled "install help and system page packages". That should show you a table of different page packages that you can click on. If you don't get the table of packages but get an error ("Only superuser is allowed to use this action.") then you need to specify a superuser in your wikiconfig.py file and log in as this user. > This is probably so straightforward that I?m not recognizing it. Chalk it > up to someone who was most at home at the IBM 1620. If anyone needs help > reading Hollerith codes, please let me know. I can read cards directly > from the holes. (Printing is for sissies.) Don't worry about it! This configuration stuff is not particularly obvious and I've been using various scripts and reminders to help me get it done for several years now. > P.S. There?s a slight chance I sent this before. I meant to, but I can?t > find it in my ?sent? message file and I haven??t received a come-back copy > from the list. If so, please forgive me. Also don't worry about it! :-) Paul From pcolsen at gmail.com Thu Nov 1 20:35:32 2018 From: pcolsen at gmail.com (Peter Olsen) Date: Thu, 1 Nov 2018 20:35:32 -0400 Subject: [moin-user] How do I add the help language packages to moinmoin-1.9.10? In-Reply-To: <11088816.p7PhtHFaTf@jeremy> References: <56310ED2-333A-4F7E-AEA0-239AD3039C6A@gmail.com> <11088816.p7PhtHFaTf@jeremy> Message-ID: <985B127A-D0A6-4377-B791-FE006BDA01E5@gmail.com> Paul, Thanks for your email. I appreciate the time you took to write it. Unfortunately it hasn?t gotten me very far. I think you?re right about having to be superuser to set up the language, but I haven?t been able to login as superuser. I had already set myself up as superuser (superuser = [u"PeterOlsen", ]) in both a wikiconfig.local.py file (shown below) and by adding the same line to my ?standard? wikiconfig.py. Despite those entries, I am unable to login as ?PeterOlsen?. I don?t know why this is so. This is a fresh installation, direct from the tar.gz and with no configuration, save for the insertion of my superuser designation in wikiconfig.py and wikiconfig.local.py. This tar.gz comes directly from the moinmo.in website. (I checked GitHub for a newer one, but without success) This is the first time to login for any user. I haven?t set a password. Still, when I enter ?PeterOlsen? as my user ID, I get "Missing password. Please enter user name and password.? I have tried three virgin installs, directly from the tar.gz files, and have had the same result each time. I have no idea why I?m being asked for my password for my first login into an unconfigured installation. I?ve grepped my way through this and two previous working installations, 1.9.6 and 1.9.8, for the things such as the string ?all_pages? and haven?t found it. I?ve also looked for some evidence of a a password file with a ?default? password, but again without success. It?s entirely possible that there still is some simple solution, but I haven?t been able to figure it out. Thank you. Peter Here?s my local config class Config(LocalConfig): sitename = u'PeterOlsenWiki' # u means that it will be converted to Unicod interwikiname = 'PeterOlsenWiki' superuser = [u"PeterOlsen", ] # data_dir = '/where/ever/mywiki/data/' # underlay_dir = '/where/ever/mywiki/underlay/' DesktopEdition = True > On Nov 1, 2018, at 19:20 , Paul Boddie wrote: > > On Thursday 1. November 2018 18.53.31 Peter Olsen wrote: >> Ladies and Gentlemen, >> >> I?m sure that this is an easy question and that it?s explained in the docs, >> but I?ve cycled through the HTML docs about four times and I haven?t found >> how to do it. > > You might want to visit the LanguageSetup page on your wiki. Here is the > corresponding page on the MoinMoin site: > > https://moinmo.in/LanguageSetup > > On your wiki's version of that page, there will be a link under "Installing > page packages" entitled "install help and system page packages". That should > show you a table of different page packages that you can click on. > > If you don't get the table of packages but get an error ("Only superuser is > allowed to use this action.") then you need to specify a superuser in your > wikiconfig.py file and log in as this user. > >> This is probably so straightforward that I?m not recognizing it. Chalk it >> up to someone who was most at home at the IBM 1620. If anyone needs help >> reading Hollerith codes, please let me know. I can read cards directly >> from the holes. (Printing is for sissies.) > > Don't worry about it! This configuration stuff is not particularly obvious and > I've been using various scripts and reminders to help me get it done for > several years now. > >> P.S. There?s a slight chance I sent this before. I meant to, but I can?t >> find it in my ?sent? message file and I haven??t received a come-back copy >> from the list. If so, please forgive me. > > Also don't worry about it! :-) > > Paul > _______________________________________________ > moin-user mailing list > moin-user at python.org > https://mail.python.org/mailman/listinfo/moin-user From paul at boddie.org.uk Sat Nov 3 07:42:54 2018 From: paul at boddie.org.uk (Paul Boddie) Date: Sat, 03 Nov 2018 12:42:54 +0100 Subject: [moin-user] How do I add the help language packages to moinmoin-1.9.10? In-Reply-To: <985B127A-D0A6-4377-B791-FE006BDA01E5@gmail.com> References: <56310ED2-333A-4F7E-AEA0-239AD3039C6A@gmail.com> <11088816.p7PhtHFaTf@jeremy> <985B127A-D0A6-4377-B791-FE006BDA01E5@gmail.com> Message-ID: <220179587.9AS47gl6nq@jeremy> On Thursday 1. November 2018 20.35.32 Peter Olsen wrote: > > I had already set myself up as superuser (superuser = [u"PeterOlsen", ]) in > both a wikiconfig.local.py file (shown below) and by adding the same line > to my ?standard? wikiconfig.py. > > Despite those entries, I am unable to login as ?PeterOlsen?. I don?t know > why this is so. This is a fresh installation, direct from the tar.gz and > with no configuration, save for the insertion of my superuser designation > in wikiconfig.py and wikiconfig.local.py. This tar.gz comes directly from > the moinmo.in website. (I checked GitHub for a newer one, but without > success) This is the first time to login for any user. I haven?t set a > password. Still, when I enter ?PeterOlsen? as my user ID, I get "Missing > password. Please enter user name and password.? I have tried three virgin > installs, directly from the tar.gz files, and have had the same result each > time. I think you do need to set a password. I haven't looked at the logic involved, but it would be surprising to me if Moin let you have an empty password or passwordless user login, at least unless you delegate authentication to something else. > I have no idea why I?m being asked for my password for my first login into > an unconfigured installation. I?ve grepped my way through this and two > previous working installations, 1.9.6 and 1.9.8, for the things such as the > string ?all_pages? and haven?t found it. I?ve also looked for some > evidence of a a password file with a ?default? password, but again without > success. > > It?s entirely possible that there still is some simple solution, but I > haven?t been able to figure it out. The way I've dealt with this for ages now is to create the principal user using the moin script as follows: moin --config-dir='...' account create --name='...' --email='...' \ --password='...' Obviously, you have to be careful about specifying passwords on the command line in multiuser systems. I don't remember if the moin script can be made to prompt for input, but since I find the script to behave in annoying ways generally, I wouldn't count on it. In any case, you can change your password later by other means if necessary. Paul From lists at sumpfralle.de Sat Nov 3 08:23:26 2018 From: lists at sumpfralle.de (Lars Kruse) Date: Sat, 3 Nov 2018 13:23:26 +0100 Subject: [moin-user] Uploading a plugin to the moinmo.in wiki: not allowed? In-Reply-To: <20181031212749.298559c1@erker.lan> References: <20181030004304.03fc8fab@erker.lan> <20181031212749.298559c1@erker.lan> Message-ID: <20181103132326.66cdd7d9@erker.lan> Hello, Am Wed, 31 Oct 2018 21:27:49 +0100 schrieb Lars Kruse : > Thus could someone please add me ("sumpfralle") to the list of TrustedEditors? > (anyone listed in https://moinmo.in/TrustedEditorGroup could do that) just for your information: Thomas added me to the above list, thus I was able to update a macro and even add a new one: https://moinmo.in/action/edit/MacroMarket/EmbedVideo Thanks! Lars From pcolsen at gmail.com Tue Nov 13 23:58:39 2018 From: pcolsen at gmail.com (Peter Olsen) Date: Tue, 13 Nov 2018 23:58:39 -0500 Subject: [moin-user] Installing Language Packages Message-ID: <1C0D54B1-CDB7-4C7D-8C0F-456ED8095E68@gmail.com> Ladies and Gentlemen, I?ve been unable to install my language package. I?ve installed the HelpOnSessions file by hand, but that?s not a feasible solution for all 185 packages. The problem presents itself when the ?all_pages? cell in the lower right hand corner of the table isn?t a link. It is plain text. I?ve looked at the raw source for the page and found that the table content for that cell is '''{{{all_pages}}}???. I don?t know what to do with that, so it?s leading me nowhere. I?ve included these lines in my wikiconfig.py superuser = [u"PeterOlsen",] page_front_page='PeterOlsen' print("Read wikiconfig.py?) My page_front_page is ?PeterOlsen? and I seeing the output from the print statement, which leads me to believe that I?m a superuser, but I?m still unable to use the ?all_pages? cell. When I attempt to run packages.py so I can install the packages directly, I get ImportError: No module named MoinMoin I?ve tried to write my own analog to packages.py, but it hasn?t worked out. (Part of the problem may be that I?m not correctly reverse engineering the file schema of 1.9.8) My PYTHONPATH is Peters-MacBook-Pro:moin-1.9.10 pcolsen$ pwd /Users/pcolsen/Dropbox/Peter_Olsen_Wiki/moin-1.9.10 Peters-MacBook-Pro:moin-1.9.10 pcolsen$ PYTHONPATH=`pwd` Peters-MacBook-Pro:moin-1.9.10 pcolsen$ echo $PYTHONPATH /Users/pcolsen/Dropbox/Peter_Olsen_Wiki/moin-1.9.10 Peters-MacBook-Pro:moin-1.9.10 pcolsen$ Both wikiserver.py and wikiconfig.py are in this directory and I?m launching the server from this directory. I?d appreciate any help I can get. -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at boddie.org.uk Wed Nov 14 04:46:25 2018 From: paul at boddie.org.uk (Paul Boddie) Date: Wed, 14 Nov 2018 10:46:25 +0100 Subject: [moin-user] Installing Language Packages In-Reply-To: <1C0D54B1-CDB7-4C7D-8C0F-456ED8095E68@gmail.com> References: <1C0D54B1-CDB7-4C7D-8C0F-456ED8095E68@gmail.com> Message-ID: <2438321.c9DtAen99B@jeremy> On Tuesday 13. November 2018 23.58.39 Peter Olsen wrote: > Ladies and Gentlemen, > > I?ve been unable to install my language package. I?ve installed the > HelpOnSessions file by hand, but that?s not a feasible solution for all 185 > packages. > > The problem presents itself when the ?all_pages? cell in the lower right > hand corner of the table isn?t a link. It is plain text. I?ve looked at > the raw source for the page and found that the table content for that cell > is '''{{{all_pages}}}???. I don?t know what to do with that, so it?s > leading me nowhere. This is presumably the table at the bottom of the LanguageSetup page. I am not sure it is supposed to be a link. However, clicking on the "install help and system page packages" link under "Installing page packages", you can see if this error appears: No page packages found. If you do not get the above error, you should see a new page with a title like this: Install language packs for 'English' In the page, there should be a tall table with two columns. The "all_pages" option is at the bottom of that table, with an "install" link in the right column. Now, I found that I did get an error, but this was a consequence of the way I install the software - using a repository version directly, not a release archive - but I do not think this should affect you. I just had a look at this more closely, and I think that it is a symptom of the underlay not having the page packages available. You can check this by looking in the following place: wiki/underlay/pages/LanguageSetup/attachments If there are no files in there, you are experiencing the same problem as I am. But again, this problem is likely to be specific to my way of working. > I?ve included these lines in my wikiconfig.py > > superuser = [u"PeterOlsen",] > page_front_page='PeterOlsen' > print("Read wikiconfig.py?) > > My page_front_page is ?PeterOlsen? and I seeing the output from the print > statement, which leads me to believe that I?m a superuser, but I?m still > unable to use the ?all_pages? cell. You can verify if you are logged in by looking at the top of the page and seeing if it says "PeterOlsen" (probably next to the logo and the "Settings" and "Logout" links) or whether it says "Login". If it says the latter, you need to log in. You seemed to have problems logging in before. This was related to setting a password. Did you manage to solve those problems? > When I attempt to run packages.py so I can install the packages directly, I > get > > ImportError: No module named MoinMoin > > I?ve tried to write my own analog to packages.py, but it hasn?t worked out. > (Part of the problem may be that I?m not correctly reverse engineering the > file schema of 1.9.8) > > My PYTHONPATH is > > Peters-MacBook-Pro:moin-1.9.10 pcolsen$ pwd > /Users/pcolsen/Dropbox/Peter_Olsen_Wiki/moin-1.9.10 > Peters-MacBook-Pro:moin-1.9.10 pcolsen$ PYTHONPATH=`pwd` > Peters-MacBook-Pro:moin-1.9.10 pcolsen$ echo $PYTHONPATH > /Users/pcolsen/Dropbox/Peter_Olsen_Wiki/moin-1.9.10 > Peters-MacBook-Pro:moin-1.9.10 pcolsen$ > > Both wikiserver.py and wikiconfig.py are in this directory and I?m launching > the server from this directory. > > I?d appreciate any help I can get. You will probably need to set PYTHONPATH so that it finds the MoinMoin package. It might be helpful for you to show us what is in the directory mentioned above. Paul From D.J.Hartburn at kent.ac.uk Tue Nov 27 05:19:26 2018 From: D.J.Hartburn at kent.ac.uk (David Hartburn) Date: Tue, 27 Nov 2018 10:19:26 +0000 Subject: [moin-user] Superuser and user management? Message-ID: Hi Could anyone help, as I seem to be stuck in a documentation loop?! >From the GUI, if you are a superuser, how do you access user management? I have inherited an install of MoinMoin after the previous superuser left. I have changed the username in wikiconfig.py, restarted apache and I have verified that I am a superuser by adding ?action=language_setup to the end of one of the URLs. What I can not figure out is how to access users or become a user. The documentation suggests there should be something via the setting screen. When I click on my settings, I have two links, notifications and preferences. Should there be something else there? Thanks Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: