[Zope] Re: mysqluserfolder access blown - work lost?

Tres Seaver tseaver at palladion.com
Fri Sep 28 09:07:43 EDT 2007


-----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          tseaver at palladion.com
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-----


More information about the Zope mailing list