From post at volker-wysk.de Thu Oct 25 14:04:24 2018 From: post at volker-wysk.de (Volker Wysk) Date: Thu, 25 Oct 2018 20:04:24 +0200 Subject: [moin-user] python and python2.7 Message-ID: <2232614.H0NeM2jfNO@desktop> Hi! The moin server scripts server/moin and server/moin.cgi have this in their first line: #!/usr/bin/env python .. which means they depend on the default python version being 2.7: /usr/bin/python -> python2 /usr/bin/python2 -> python2.7 /usr/bin/python2.7 /usr/bin/python3 -> python3.6 /usr/bin/python3.6 Wouldn't it be better if they depend directly on 2.7, using: #!/usr/bin/env python2.7 Just a thought. Volker From lists at sumpfralle.de Mon Oct 29 19:43:04 2018 From: lists at sumpfralle.de (Lars Kruse) Date: Tue, 30 Oct 2018 00:43:04 +0100 Subject: [moin-user] Uploading a plugin to the moinmo.in wiki: not allowed? Message-ID: <20181030004304.03fc8fab@erker.lan> Hello, today I logged into my account in the moinmo.in wiki instance and tried to upload a minor improvement to a plugin. But sadly the attachment info page informs me, that uploads are not possible: https://moinmo.in/action/AttachFile/MacroMarket/FormatConverter?action=AttachFile German error message: "Sie d?rfen keine Anh?nge an diese Seite anh?ngen!" Translation: You may not attach attachments to this page! Is someone aware of a change of permissions in the configuration of this instance? Cheers, Lars From lists at sumpfralle.de Mon Oct 29 19:57:15 2018 From: lists at sumpfralle.de (Lars Kruse) Date: Tue, 30 Oct 2018 00:57:15 +0100 Subject: [moin-user] python and python2.7 In-Reply-To: <2232614.H0NeM2jfNO@desktop> References: <2232614.H0NeM2jfNO@desktop> Message-ID: <20181030005715.285f98b4@erker.lan> Hello Volker, Am Thu, 25 Oct 2018 20:04:24 +0200 schrieb Volker Wysk : > Wouldn't it be better if they depend directly on 2.7, using: > > #!/usr/bin/env python2.7 This would enforce the usage of the specific version 2.7. This could be a problem for _really_ old installations (e.g. containing only 2.6). I guess, there is no incentive to change the shebang, since this would not offer any significant improvement (at least I am not aware of any). Just in case you are thinking about a possible confusion with python3: at least for Debian /usr/bin/python will refer to python2.x for a very long time. See here for a short summary of this discussion: https://lists.debian.org/debian-python/2018/07/msg00040.html Cheers, Lars From post at volker-wysk.de Tue Oct 30 08:33:51 2018 From: post at volker-wysk.de (Volker Wysk) Date: Tue, 30 Oct 2018 13:33:51 +0100 Subject: [moin-user] python and python2.7 In-Reply-To: <20181030005715.285f98b4@erker.lan> References: <2232614.H0NeM2jfNO@desktop> <20181030005715.285f98b4@erker.lan> Message-ID: <8261259.BktjGOkTEZ@desktop> Am Dienstag, 30. Oktober 2018, 00:57:15 CET schrieb Lars Kruse: > This would enforce the usage of the specific version 2.7. This could be a > problem for _really_ old installations (e.g. containing only 2.6). This is in docs/REQUIREMENTS, for version 1.9.10: ---snip--- You need Python 2.7.x (older Python versions are outdated, not supported and not tested). Python 3.x won't work for MoinMoin 1.x.x. ---snip--- > I guess, there is no incentive to change the shebang, since this would not > offer any significant improvement (at least I am not aware of any). The improvement I see, is that the default python version (when calling "python") would not be locked to be 2.7. But this is just that I've observed. I don't need it to be that way, *yet*. I'm wondering what happens if you just change the first line of server/moin*. Bye Volker From tw at waldmann-edv.de Wed Oct 31 03:31:44 2018 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Wed, 31 Oct 2018 08:31:44 +0100 Subject: [moin-user] Uploading a plugin to the moinmo.in wiki: not allowed? In-Reply-To: <20181030004304.03fc8fab@erker.lan> References: <20181030004304.03fc8fab@erker.lan> Message-ID: > today I logged into my account in the moinmo.in wiki instance and tried to > upload a minor improvement to a plugin. > But sadly the attachment info page informs me, that uploads are not possible: > https://moinmo.in/action/AttachFile/MacroMarket/FormatConverter?action=AttachFile > > German error message: "Sie d?rfen keine Anh?nge an diese Seite anh?ngen!" > Translation: You may not attach attachments to this page! > > Is someone aware of a change of permissions in the configuration of this > instance? Did you see the updated front page?: https://moinmo.in/MoinMoinWiki And esp. the section "Anti-Spam Measures in this wiki" there? -- GPG ID: 9F88FB52FAF7B393 GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393 From lists at sumpfralle.de Wed Oct 31 16:27:49 2018 From: lists at sumpfralle.de (Lars Kruse) Date: Wed, 31 Oct 2018 21:27:49 +0100 Subject: [moin-user] Uploading a plugin to the moinmo.in wiki: not allowed? In-Reply-To: References: <20181030004304.03fc8fab@erker.lan> Message-ID: <20181031212749.298559c1@erker.lan> Hello, Am Wed, 31 Oct 2018 08:31:44 +0100 schrieb Thomas Waldmann : > Did you see the updated front page?: https://moinmo.in/MoinMoinWiki > > And esp. the section "Anti-Spam Measures in this wiki" there? ah - indeed - thank you for the pointer! Thus could someone please add me ("sumpfralle") to the list of TrustedEditors? (anyone listed in https://moinmo.in/TrustedEditorGroup could do that) Thank you! Cheers, Lars From pcolsen at gmail.com Wed Oct 31 23:49:11 2018 From: pcolsen at gmail.com (Peter Olsen) Date: Wed, 31 Oct 2018 23:49:11 -0400 Subject: [moin-user] How to configure help language packs Message-ID: Ladies and Gentlemen, I?m sure this is a simple question, and I?m sure it?s in the docs, but I?ve been round and round the Config links and I can?t find an explanation I understand. How do I configure a moinmoin 1.9.10 language pack ?all_pages?? I apologize in advance for taking your time. Chalk it up to being a relic of the punch-card era. I?ll be happy to help anyone with the interpretation of Hollerith codes. I used to be able to read punch cards from the holes alone. (Printing was for sissies.) Peter