Re: [Zope] Re: mysqluserfolder access blown - work lost?
> -Original Message- > From: [EMAIL PROTECTED] > Sent: Fri, 28 Sep 2007 09:07:43 -0400 > Hmm, at this point I would be trying one of two things: > > - You might try undoing the transactions where you added / configureed >the user folder. > Embarrassingly, I haven't tried this before. I did now, and it worked - thanks! ONE-CLICK WEBMAIL ACCESS - Easily monitor & access your email accounts! Visit http://www.inbox.com/notifier and check it out! ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: mysqluserfolder access blown - work lost?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Bartrum wrote: > Thanks, I have done that and can log in as emergency, but then I'm > still in the same situation: I cannot enter that folder. The traceback > below is what I get when I try (from the ZMI): > > Site Error > An error was encountered while publishing this resource. > AttributeError > Sorry, a site error occurred. > Traceback (innermost last): > Module ZPublisher.Publish, line 175, in publish_module_standard > Module ZPublisher.Publish, line 132, in publish > Module Zope.App.startup, line 204, in zpublisher_exception_hook > Module ZPublisher.Publish, line 92, in publish > Module ZPublisher.BaseRequest, line 421, in traverse > Module ZPublisher.BaseRequest, line 497, in old_validation > AttributeError: __getitem__ (Also, an error occurred while attempting to > render the standard error message.) Hmm, at this point I would be trying one of two things: - You might try undoing the transactions where you added / configureed the user folder. - Or you might go into the debugger and erase the folder, e.g.: $ bin/zopectl debub pdb> folder = app.path.to.folder pdb> del folder.__allow_groups__ pdb> del folder.acl_users pdb> import transaction pdb> transaction.commit() Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG/Pyf+gerLs4ltQ4RAugWAJ0Q/Q/dD7WG6YUUsFw3p4OxupNgagCfTmfA WDkAUQYGrOUzfuXJ48q1lhs= =JYeI -END PGP SIGNATURE- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: mysqluserfolder access blown - work lost?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Bartrum wrote: > Thanks, but I am logged in as the most powerful user and cannot enter the > folder in order to add a regular user folder to it. The 'emergency user' is not a normal 'Manager' account: it is designed only to allow for recovery in this sort of sittuation. In your $INSTANCE_HOME, run the following: $ $ZOPE_HOME/bin/zpasswd.py -u emergency -p password access or else: $ echo 'emergency:password' > access and then restart Zope. You should then be able to log in using 'emergency' and 'password' (or whatver you typed) as credentials, and then be able to repair / delete the broken user folder. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG/OYE+gerLs4ltQ4RAqrUAJ92U8kd8F7AqIqSLkhOT3LegcAvAgCbB71n QUP9F9VDGBlTJRSJuj5NcOU= =7rX/ -END PGP SIGNATURE- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )