Re: [Moin-user] Where to catch FileTooLong error

2014-10-14 Thread Nikolaus Rath
Thomas Waldmann writes: > Hi Nikolaus, > >>> It fixed the issue for me, > > Well, I just tried it and it now just blows up at another place: [...] > OSError: [Errno 36] File name too long: > '/home/tw/mm19/wiki/data/pages/

Re: [Moin-user] Where to catch FileTooLong error

2014-10-14 Thread Thomas Waldmann
> File "/home/tw/mm19/MoinMoin/Page.py", line 681, in size > return os.path.getsize(self._text_filename(rev=rev)) > File "/usr/lib/python2.7/genericpath.py", line 49, in getsize > return os.stat(filename).st_size > OSError: [Errno 36] File name too long: > '/home/tw/mm19/wiki/data/pages

Re: [Moin-user] Where to catch FileTooLong error

2014-10-14 Thread Thomas Waldmann
Hi Nikolaus, >> It fixed the issue for me, Well, I just tried it and it now just blows up at another place: 2014-10-14 18:28:17,664 INFO MoinMoin.web.serving:41 127.0.0.1 "GET /aaa

Re: [Moin-user] Where to catch FileTooLong error

2014-10-14 Thread Thomas Waldmann
Hi Nikolaus, > How about this patch? > > diff --git a/MoinMoin/Page.py b/MoinMoin/Page.py > --- a/MoinMoin/Page.py > +++ b/MoinMoin/Page.py > @@ -217,6 +217,10 @@ > # never store empty pages, so this is detectable and also > # safe when passed to a functi

[Moin-user] AutoAdmin Project

2014-10-14 Thread Pablo Mellado
Hi everyone, I am very new to this list so I do not know if you have talked about this subject, but I could not find anything in Google. I would need to create a new section in one of our wikis to be managed by some users, so they are able to change the acl for some pages. What they want is to