IRC log of #zope for Tuesday, 2016-11-29

*** MrTango_ has quit IRC00:02
*** srichter_ has quit IRC01:17
*** frozengeek has quit IRC03:21
*** srichter has joined #zope03:48
*** alecm has quit IRC06:00
*** alecm has joined #zope08:20
*** nilo has joined #zope08:58
*** __mac__ has joined #zope09:34
*** nilo has quit IRC09:37
*** nilo has joined #zope09:47
*** frozengeek has joined #zope10:04
*** frozengeek has quit IRC10:12
*** frozengeek has joined #zope10:13
*** frozengeek has quit IRC10:21
*** projekt01 has joined #zope10:40
*** __mac__ has joined #zope10:46
*** __mac__ has quit IRC10:50
*** __mac__ has joined #zope10:51
*** __mac__ has quit IRC10:52
*** __mac__ has joined #zope10:53
*** __mac__ has quit IRC10:55
*** __mac__ has joined #zope11:00
*** frozengeek has joined #zope11:12
*** lregebro has joined #zope11:29
*** chief has quit IRC11:33
*** __mac__ has quit IRC11:51
*** __mac__ has joined #zope11:51
*** Tr1pp3r has joined #zope12:46
*** Tr1pp3r has quit IRC12:50
*** nilo has quit IRC13:17
*** fredvd has joined #zope13:20
*** __mac__ has quit IRC13:29
*** __mac__ has joined #zope13:39
*** nilo has joined #zope13:42
*** __mac__1 has joined #zope13:42
*** __mac__ has quit IRC13:44
*** mejo has joined #zope13:50
*** benji_ has joined #zope15:11
*** benji_ is now known as benji15:12
mejodid anybody get the Zope2 Product 'ExtFile' working with Zope2.13?15:45
mejoI patched it according to http://itgroup.mpiwg-berlin.mpg.de/dokuwiki/doku.php?id=zopegeneral#extfile_202_and_zope_213 and replaced 'webdav.WriteLockInterface.WriteLockInterface' by 'webdav.interfaces.IWriteLock' but still no success. A Python type string like "<Products.ExtFile.ExtFile.stream_iterator instance at 0x7f243d00f998>" is returned instead of the actual file.15:47
mejook, finally found the relevant patch:15:56
mejo class stream_iterator:15:57
mejo-    __implements__ = (IStreamIterator,)15:57
mejo+    interface.implements(IStreamIterator)15:57
*** nilo has quit IRC16:03
*** maurits has joined #zope16:10
*** frozengeek has quit IRC16:24
*** frozengeek has joined #zope16:25
*** nilo has joined #zope17:00
*** lregebro has quit IRC17:01
*** lregebro has joined #zope17:04
*** __mac__1 has quit IRC17:38
mejodoes anybody have a hint how to restore acl_users?17:45
mejoI've a export of it, but deleted it in the manage interface. now I'm locked out.17:45
betabugthere is a mode to bypass authentication17:46
mejousing the interactive shell of zopectl and 'adduser admin password' fails: AttributeError: acl_users17:47
mejobetabug: you mean a mode to log into the management interface without authentication?17:47
betabugI'm trying to remember what it was, either a setting in zope.conf or a env variable to set17:48
betabugwhich will bypass user folders entirely17:48
mejothat would be awesome17:48
betabugbut it's been many years since I used it17:48
betabugso have a look in your zope.conf if you can find it17:48
*** nilo has quit IRC17:49
betabugmaybe it's "skip-authentication-checking", dunno really17:50
mejono, seems like that's not the right one. doesn't work here. still asked for credentials.17:51
betabugmejo: assuming you are doing this without the public internet having access, you could try enabling that and see ifyou can get to the manage interface17:51
betabugdid you also set the security-policy-implementation to 'C'?17:51
mejobetabug: yep, security-policy-implementation is set to 'C' (that's the default anyway)17:52
*** nilo has joined #zope17:52
betabugmejo: I guess this is what you need: http://docs.zope.org/zope2/zope2book/Security.html#zope-emergency-user17:58
betabugbut it doesn't mention acl_users, so not sure it will work without it17:59
betabugone other idea is to make a new zope instance, put in a mount point and mount your old db at that mount point18:00
mejodoesn't seem like it works without18:05
mejoha, now it worked with the emergency user. I had to revert the earlier changes to zope.conf (skip-authentication-checking and security-policy-implementation), then the 'access' file was accepted.18:10
mejobetabug: thanks a lot, you help is much appreciated!18:10
*** frozengeek has quit IRC18:26
*** frozengeek has joined #zope18:27
betabugmejo: you're welcome! glad to be of help18:27
*** nilo has quit IRC18:33
*** projekt01 has quit IRC18:37
*** MrTango_ has joined #zope19:02
*** MrTango_ has quit IRC19:23
*** frozengeek____ has joined #zope19:31
*** frozengeek____ has quit IRC19:32
*** maurits has quit IRC19:32
*** frozengeek has quit IRC19:33
*** maurits has joined #zope19:54
*** frozengeek____ has joined #zope20:05
*** maurits1 has joined #zope20:13
*** maurits has quit IRC20:15
*** maurits has joined #zope20:29
*** maurits1 has quit IRC20:30
*** fredvd has quit IRC20:57
*** frozengeek____ has quit IRC21:21
*** frozengeek____ has joined #zope21:21
*** __mac__ has joined #zope21:21
*** __mac__1 has joined #zope21:24
*** __mac__ has quit IRC21:25
*** frozengeek____ has quit IRC21:27
*** frozengeek____ has joined #zope21:28
*** maurits has quit IRC21:46
*** maurits has joined #zope21:46
*** maurits has quit IRC22:02
*** mup has quit IRC22:03
*** mup has joined #zope22:03
*** maurits has joined #zope22:05
*** __mac__1 has quit IRC22:12
*** __mac__ has joined #zope22:25
*** alecm has quit IRC22:59
*** __mac__ has quit IRC23:02

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!