From michal.lenart at gmail.com Tue Jan 10 11:43:55 2012 From: michal.lenart at gmail.com (=?UTF-8?Q?Micha=C5=82_Lenart?=) Date: Tue, 10 Jan 2012 17:43:55 +0100 Subject: [Moin-user] "no space left on device" but plenty of disk space. Message-ID: Hi I am running a MoinMoin wikifarm. When I try to upload big attachment (1GB) I get "Internal server error" and I see "no space left on device" error in moin.log. However `df -h /usr/share/moin` says there is about 100GB of free space on the disk. What is the problem? Best regards, Michal Lenart -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at boddie.org.uk Tue Jan 10 14:47:22 2012 From: paul at boddie.org.uk (Paul Boddie) Date: Tue, 10 Jan 2012 20:47:22 +0100 Subject: [Moin-user] "no space left on device" but plenty of disk space. In-Reply-To: References: Message-ID: <201201102047.22857.paul@boddie.org.uk> On Tuesday 10 January 2012 17:43:55 Micha? Lenart wrote: > > I am running a MoinMoin wikifarm. When I try to upload big attachment (1GB) > I get "Internal server error" and I see "no space left on device" error in > moin.log. However `df -h /usr/share/moin` says there is about 100GB of free > space on the disk. What is the problem? A quick unresearched guess is that you're actually running out of space in your /tmp partition. File uploads with most Python Web frameworks typically involve creating a temporary file inside the preferred temporary storage location (usually /tmp), and on some systems this partition is configured to be rather small. Paul From michal.lenart at gmail.com Tue Jan 10 15:18:28 2012 From: michal.lenart at gmail.com (=?UTF-8?Q?Micha=C5=82_Lenart?=) Date: Tue, 10 Jan 2012 21:18:28 +0100 Subject: [Moin-user] "no space left on device" but plenty of disk space. In-Reply-To: <201201102047.22857.paul@boddie.org.uk> References: <201201102047.22857.paul@boddie.org.uk> Message-ID: On Tue, Jan 10, 2012 at 8:47 PM, Paul Boddie wrote: > On Tuesday 10 January 2012 17:43:55 Micha? Lenart wrote: > > > > I am running a MoinMoin wikifarm. When I try to upload big attachment > (1GB) > > I get "Internal server error" and I see "no space left on device" error > in > > moin.log. However `df -h /usr/share/moin` says there is about 100GB of > free > > space on the disk. What is the problem? > > A quick unresearched guess is that you're actually running out of space in > your /tmp partition. File uploads with most Python Web frameworks typically > involve creating a temporary file inside the preferred temporary storage > location (usually /tmp), Probably you are right. Is it possible to explicitly set a location where Moin stores it's temporary files? -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.decker at fz-juelich.de Thu Jan 12 12:08:10 2012 From: m.decker at fz-juelich.de (Michael Decker) Date: Thu, 12 Jan 2012 18:08:10 +0100 Subject: [Moin-user] error when installing packages with attachments that contain special characters in their name Message-ID: <4F0F137A.3050204@fz-juelich.de> Hi everyone, I just noticed that I get an error when trying to install a package which contains attachments with special characters in their name (like "?" or "?"), the server fails with return code 500. The relevant part from the apache error.log is -------------- [Thu Jan 12 17:52:55 2012] [error] Traceback (most recent call last): [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 282, in __call__ [Thu Jan 12 17:52:55 2012] [error] response = run(context) [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 88, in run [Thu Jan 12 17:52:55 2012] [error] response = dispatch(request, context, action_name) [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 136, in dispatch [Thu Jan 12 17:52:55 2012] [error] response = handle_action(context, pagename, action_name) [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 195, in handle_action [Thu Jan 12 17:52:55 2012] [error] handler(context.page.page_name, context) [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line 520, in execute [Thu Jan 12 17:52:55 2012] [error] msg = handler(pagename, request) [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line 889, in _do_install [Thu Jan 12 17:52:55 2012] [error] if package.installPackage(): [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 477, in installPackage [Thu Jan 12 17:52:55 2012] [error] return self.runScript(commands) [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 446, in runScript [Thu Jan 12 17:52:55 2012] [error] fn(*elements[1:]) [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 139, in do_addattachment [Thu Jan 12 17:52:55 2012] [error] if not os.path.exists(target): [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/posixpath.py", line 171, in exists [Thu Jan 12 17:52:55 2012] [error] st = os.stat(path) ---------------------- I have tried to debug this and took a look at the code in packages.py. When I run (what I believe to be) the exact same commands on an interactive python shell - even when using the MOIN_PACKAGE file as input for the attachment filename - the os.path.exists() call just works as expected. I just updated to the latest 1.9 devel version available via hg but I still get the same error. The following actions reproduce the error on my system: - Upload an attachment with special character in the name to a Page (for example WikiSandBox). - Select the package pages option - package WikiSandBox (WITH attachments) - move the WikiSandBox page out of the way - upload package to the wiki - click install Any ideas? So far I was unable to find any such bug filed at moinmo.in Some System Info: - Debian Stable - Apache 2.2 with mod_wsgi - python 2.5 - moin 1.9.3 (latest from hg) Cheers, Michael ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4666 bytes Desc: S/MIME Cryptographic Signature URL: From tw-public at gmx.de Thu Jan 12 15:01:28 2012 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 12 Jan 2012 21:01:28 +0100 Subject: [Moin-user] "no space left on device" but plenty of disk space. In-Reply-To: References: <201201102047.22857.paul@boddie.org.uk> Message-ID: <1326398488.3513.38.camel@x300.localdomain> > Probably you are right. Is it possible to explicitly set a location > where Moin stores it's temporary files? > Try setting the TMPDIR, TEMP or TMP environment variables (for the moin process). From michal.lenart at gmail.com Thu Jan 12 15:13:02 2012 From: michal.lenart at gmail.com (=?UTF-8?Q?Micha=C5=82_Lenart?=) Date: Thu, 12 Jan 2012 21:13:02 +0100 Subject: [Moin-user] "no space left on device" but plenty of disk space. In-Reply-To: <1326398488.3513.38.camel@x300.localdomain> References: <201201102047.22857.paul@boddie.org.uk> <1326398488.3513.38.camel@x300.localdomain> Message-ID: I added following code in moin.wsgi (following your and Paul's suggestions): import tempfile tempfile.tempdir = '/usr/share/moin/tmp' And it seems to work. However it would be nice if it was "official" configuration option. Thank you for your help. On Thu, Jan 12, 2012 at 9:01 PM, Thomas Waldmann wrote: > > > > > Probably you are right. Is it possible to explicitly set a location > > where Moin stores it's temporary files? > > > Try setting the TMPDIR, TEMP or TMP environment variables (for the moin > process). > > > From rb.proj at gmail.com Fri Jan 13 02:57:26 2012 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 13 Jan 2012 08:57:26 +0100 Subject: [Moin-user] error when installing packages with attachments that contain special characters in their name In-Reply-To: <4F0F137A.3050204@fz-juelich.de> References: <4F0F137A.3050204@fz-juelich.de> Message-ID: Hi I tried a similiar example on my linux system with LC_ALL=de_DE.utf8 This matches the encoding on the server. I created a file j?lich.txt with vim. There is no problem to create a package and install it later on back with that name used. I guess you have a non utf-8 encoding in your file names. You can check by converting such a filename to the utf-8 encoding by convmv (convmv - converts filenames from one encoding to another). May be your filenames have ISO-8859-1. The fix is then to convert all old filenames to the yet used encoding of utf-8 on all modern OS. cheers Reimar Am 12.01.2012 18:08, schrieb Michael Decker: > Hi everyone, > > I just noticed that I get an error when trying to install a package > which contains attachments with special characters in their name (like > "?" or "?"), the server fails with return code 500. > The relevant part from the apache error.log is > -------------- > [Thu Jan 12 17:52:55 2012] [error] Traceback (most recent call last): > [Thu Jan 12 17:52:55 2012] [error] File > "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 282, in > __call__ > [Thu Jan 12 17:52:55 2012] [error] response = run(context) > [Thu Jan 12 17:52:55 2012] [error] File > "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 88, in run > [Thu Jan 12 17:52:55 2012] [error] response = dispatch(request, > context, action_name) > [Thu Jan 12 17:52:55 2012] [error] File > "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 136, in > dispatch > [Thu Jan 12 17:52:55 2012] [error] response = handle_action(context, > pagename, action_name) > [Thu Jan 12 17:52:55 2012] [error] File > "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 195, in > handle_action > [Thu Jan 12 17:52:55 2012] [error] handler(context.page.page_name, > context) > [Thu Jan 12 17:52:55 2012] [error] File > "/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line > 520, in execute > [Thu Jan 12 17:52:55 2012] [error] msg = handler(pagename, request) > [Thu Jan 12 17:52:55 2012] [error] File > "/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line > 889, in _do_install > [Thu Jan 12 17:52:55 2012] [error] if package.installPackage(): > [Thu Jan 12 17:52:55 2012] [error] File > "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 477, in > installPackage > [Thu Jan 12 17:52:55 2012] [error] return self.runScript(commands) > [Thu Jan 12 17:52:55 2012] [error] File > "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 446, in > runScript > [Thu Jan 12 17:52:55 2012] [error] fn(*elements[1:]) > [Thu Jan 12 17:52:55 2012] [error] File > "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 139, in > do_addattachment > [Thu Jan 12 17:52:55 2012] [error] if not os.path.exists(target): > [Thu Jan 12 17:52:55 2012] [error] File > "/usr/lib/python2.5/posixpath.py", line 171, in exists > [Thu Jan 12 17:52:55 2012] [error] st = os.stat(path) > ---------------------- > > I have tried to debug this and took a look at the code in packages.py. > When I run (what I believe to be) the exact same commands on an > interactive python shell - even when using the MOIN_PACKAGE file as > input for the attachment filename - the os.path.exists() call just works > as expected. I just updated to the latest 1.9 devel version available > via hg but I still get the same error. > > The following actions reproduce the error on my system: > - Upload an attachment with special character in the name to a Page (for > example WikiSandBox). > - Select the package pages option > - package WikiSandBox (WITH attachments) > - move the WikiSandBox page out of the way > - upload package to the wiki > - click install > > Any ideas? So far I was unable to find any such bug filed at moinmo.in > > > Some System Info: > - Debian Stable > - Apache 2.2 with mod_wsgi > - python 2.5 > - moin 1.9.3 (latest from hg) > > Cheers, > Michael > > ------------------------------------------------------------------------------------------------ > ------------------------------------------------------------------------------------------------ > Forschungszentrum Juelich GmbH > 52425 Juelich > Sitz der Gesellschaft: Juelich > Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 > Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher > Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), > Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, > Prof. Dr. Sebastian M. Schmidt > ------------------------------------------------------------------------------------------------ > ------------------------------------------------------------------------------------------------ > > > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Mar 27 - Feb 2 > Save $400 by Jan. 27 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev2 > > > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From m.decker at fz-juelich.de Fri Jan 13 06:26:14 2012 From: m.decker at fz-juelich.de (Michael Decker) Date: Fri, 13 Jan 2012 12:26:14 +0100 Subject: [Moin-user] error when installing packages with attachments that contain special characters in their name In-Reply-To: References: <4F0F137A.3050204@fz-juelich.de> Message-ID: <4F1014D6.6020205@fz-juelich.de> Hi Reimar, thanks for your input. I noticed too late that my error message was cut off at the end and thus was not too helpful, I'm pasting the full error message at the bottom for future reference. Anyway, I figured out the problem now: My whole system was already set to UTF-8 - except for the apache server that still had a LANG=C in its config file. After replacing that with the system default, everything is working fine now. Michael PS: the complete error message (this time) ------------------------- [Thu Jan 12 17:52:55 2012] [error] Traceback (most recent call last): [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 282, in __call__ [Thu Jan 12 17:52:55 2012] [error] response = run(context) [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 88, in run [Thu Jan 12 17:52:55 2012] [error] response = dispatch(request, context, action_name) [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 136, in dispatch [Thu Jan 12 17:52:55 2012] [error] response = handle_action(context, pagename, action_name) [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 195, in handle_action [Thu Jan 12 17:52:55 2012] [error] handler(context.page.page_name, context) [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line 520, in execute [Thu Jan 12 17:52:55 2012] [error] msg = handler(pagename, request) [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line 889, in _do_install [Thu Jan 12 17:52:55 2012] [error] if package.installPackage(): [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 477, in installPackage [Thu Jan 12 17:52:55 2012] [error] return self.runScript(commands) [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 446, in runScript [Thu Jan 12 17:52:55 2012] [error] fn(*elements[1:]) [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 139, in do_addattachment [Thu Jan 12 17:52:55 2012] [error] if not os.path.exists(target): [Thu Jan 12 17:52:55 2012] [error] File "/usr/lib/python2.5/posixpath.py", line 171, in exists [Thu Jan 12 17:52:55 2012] [error] st = os.stat(path) [Thu Jan 12 17:52:55 2012] [error] UnicodeEncodeError: 'ascii' codec can't encode character u'\\xdf' in position 53: ordinal not in range(128) ------------------------------ On 13.01.2012 08:57, R.Bauer wrote: > Hi > > I tried a similiar example on my linux system with LC_ALL=de_DE.utf8 > This matches the encoding on the server. > > I created a file j?lich.txt with vim. > There is no problem to create a package and install it later on back > with that name used. > > I guess you have a non utf-8 encoding in your file names. You can check > by converting such a filename to the utf-8 encoding by convmv (convmv - > converts filenames from one encoding to another). May be your filenames > have ISO-8859-1. > > The fix is then to convert all old filenames to the yet used encoding of > utf-8 on all modern OS. > > cheers > Reimar > > > > Am 12.01.2012 18:08, schrieb Michael Decker: >> Hi everyone, >> >> I just noticed that I get an error when trying to install a package >> which contains attachments with special characters in their name (like >> "?" or "?"), the server fails with return code 500. >> The relevant part from the apache error.log is >> -------------- >> [Thu Jan 12 17:52:55 2012] [error] Traceback (most recent call last): >> [Thu Jan 12 17:52:55 2012] [error] File >> "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 282, in >> __call__ >> [Thu Jan 12 17:52:55 2012] [error] response = run(context) >> [Thu Jan 12 17:52:55 2012] [error] File >> "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 88, in run >> [Thu Jan 12 17:52:55 2012] [error] response = dispatch(request, >> context, action_name) >> [Thu Jan 12 17:52:55 2012] [error] File >> "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 136, in >> dispatch >> [Thu Jan 12 17:52:55 2012] [error] response = handle_action(context, >> pagename, action_name) >> [Thu Jan 12 17:52:55 2012] [error] File >> "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 195, in >> handle_action >> [Thu Jan 12 17:52:55 2012] [error] handler(context.page.page_name, >> context) >> [Thu Jan 12 17:52:55 2012] [error] File >> "/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line >> 520, in execute >> [Thu Jan 12 17:52:55 2012] [error] msg = handler(pagename, request) >> [Thu Jan 12 17:52:55 2012] [error] File >> "/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line >> 889, in _do_install >> [Thu Jan 12 17:52:55 2012] [error] if package.installPackage(): >> [Thu Jan 12 17:52:55 2012] [error] File >> "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 477, in >> installPackage >> [Thu Jan 12 17:52:55 2012] [error] return self.runScript(commands) >> [Thu Jan 12 17:52:55 2012] [error] File >> "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 446, in >> runScript >> [Thu Jan 12 17:52:55 2012] [error] fn(*elements[1:]) >> [Thu Jan 12 17:52:55 2012] [error] File >> "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 139, in >> do_addattachment >> [Thu Jan 12 17:52:55 2012] [error] if not os.path.exists(target): >> [Thu Jan 12 17:52:55 2012] [error] File >> "/usr/lib/python2.5/posixpath.py", line 171, in exists >> [Thu Jan 12 17:52:55 2012] [error] st = os.stat(path) >> ---------------------- >> >> I have tried to debug this and took a look at the code in packages.py. >> When I run (what I believe to be) the exact same commands on an >> interactive python shell - even when using the MOIN_PACKAGE file as >> input for the attachment filename - the os.path.exists() call just works >> as expected. I just updated to the latest 1.9 devel version available >> via hg but I still get the same error. >> >> The following actions reproduce the error on my system: >> - Upload an attachment with special character in the name to a Page (for >> example WikiSandBox). >> - Select the package pages option >> - package WikiSandBox (WITH attachments) >> - move the WikiSandBox page out of the way >> - upload package to the wiki >> - click install >> >> Any ideas? So far I was unable to find any such bug filed at moinmo.in >> >> >> Some System Info: >> - Debian Stable >> - Apache 2.2 with mod_wsgi >> - python 2.5 >> - moin 1.9.3 (latest from hg) >> >> Cheers, >> Michael >> >> ------------------------------------------------------------------------------------------------ >> ------------------------------------------------------------------------------------------------ >> Forschungszentrum Juelich GmbH >> 52425 Juelich >> Sitz der Gesellschaft: Juelich >> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 >> Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher >> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), >> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, >> Prof. Dr. Sebastian M. Schmidt >> ------------------------------------------------------------------------------------------------ >> ------------------------------------------------------------------------------------------------ >> >> >> >> >> >> ------------------------------------------------------------------------------ >> RSA(R) Conference 2012 >> Mar 27 - Feb 2 >> Save $400 by Jan. 27 >> Register now! >> http://p.sf.net/sfu/rsa-sfdev2dev2 >> >> >> >> _______________________________________________ >> Moin-user mailing list >> Moin-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/moin-user > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Mar 27 - Feb 2 > Save $400 by Jan. 27 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev2 > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4666 bytes Desc: S/MIME Cryptographic Signature URL: From r.boerma at drenthecollege.nl Wed Jan 25 06:12:20 2012 From: r.boerma at drenthecollege.nl (Boerma, Remco) Date: Wed, 25 Jan 2012 12:12:20 +0100 Subject: [Moin-user] xmlrpc ignores locked accounts? Message-ID: <21AFF12DF5630F40B73E3F5B498ED60C081D5E@wvexcp02.ROCDC.LOCAL> Hi, I've just locked the account (*1) i use for all my xmlrpc processing. And to my astonishment changes are still applied to the wiki using this account. I know this because RecentChanges shows the same user account with new changes, and for 'old' changes (before the disabling) the username with it's ID postfixed is shown. Is this a feature? Did I forget something? Thanks in advance, Regards, *1: locked using: moin --config-dir... --wiki-url... account disable --name= AchtergrondProces Results in: 2012-01-25 11:31:20,784 WARNING MoinMoin.log:139 using logging configuration read from built-in fallback in MoinMoin.log module! 2012-01-25 11:31:20,977 INFO MoinMoin.config.multiconfig:93 using farm config: /wiki_data/farmconfig.pyc 2012-01-25 11:31:21,012 INFO MoinMoin.config.multiconfig:127 using wiki config: /wiki_data/Dienst.pyc 1326013802.26.17529 AchtergrondProces - disabled. Remco Boerma - Database Administrator & Technisch Applicatie Beheer ROC Drenthecollege - www.drenthecollege.nl - 088 188 4693 r.boerma at drenthecollege.nl - http://twitter.com/RemcoBoerma -------------------------------> Vrijwaring/Disclaimer De gegevens in dit elektronisch document en de eventuele bijlagen zijn uitsluitend bedoeld voor de geadresseerde(n). De informatie wordt zorgvuldig samengesteld. Het Drenthe College kan echter niet garanderen dat de informatie absoluut juist, volledig en tijdig overkomt via het Internet. Voor belangrijke beslissingen aangaande de verstrekte informatie dient u een en ander rechtstreeks bij het Drenthe College te controleren. Website van het Drenthe College: www.drenthecollege.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Wed Jan 25 13:13:51 2012 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 25 Jan 2012 19:13:51 +0100 Subject: [Moin-user] xmlrpc ignores locked accounts? In-Reply-To: <21AFF12DF5630F40B73E3F5B498ED60C081D5E@wvexcp02.ROCDC.LOCAL> References: <21AFF12DF5630F40B73E3F5B498ED60C081D5E@wvexcp02.ROCDC.LOCAL> Message-ID: <1327515231.2625.34.camel@server.firma.waldmann-edv.de> Moin, > I?ve just locked the account (*1) i use for all my xmlrpc processing. > And to my astonishment changes are still applied to the wiki using > this account. Hmm, how are your ACL settings? Could a anon user do these changes? > I know this because RecentChanges shows the same user account with new > changes, and for ?old? changes (before the disabling) the username > with it?s ID postfixed is shown. That's really strange. Can you check (use grep in data/user/) which of these 2 names really have a associated profile? What's your moin version? Cheers, Thomas