Help! I just destroyed my plone Site with exUserFolder. I installed the product. Removed 'acl_users' from the plone Folder, and installed the exUserFolder. Now I only ever get "ValueError, unpack list of wrong size", on every SubFolder of the plone site. I can login to the zope root, and manage, but I can't "cd" into the plone site. I tried first to remove the new exUserFolder by FTP and when I tried there to cd into the plone folder I get a "550 No such directory". Then I tried to deinstall the exUserFolder, with the hope the get it's "evil" funktioning stopped an be able to enter normally as root user again, and cd into the sub dirs. Well the acl_users Folders from exUserFolder are gone, but I still can't cd into the directory? Help, How to get out of that? Greetings- Axel
Hi, You can create a script python at root folder to delete de instance of exUserFolder. Something like: context.PloneSiteId.manage_delObjects(['acl_users']) Regards, Marcos Iuato axel kittenberger writes:
Help!
I just destroyed my plone Site with exUserFolder. I installed the product. Removed 'acl_users' from the plone Folder, and installed the exUserFolder. Now I only ever get "ValueError, unpack list of wrong size", on every SubFolder of the plone site. I can login to the zope root, and manage, but I can't "cd" into the plone site. I tried first to remove the new exUserFolder by FTP and when I tried there to cd into the plone folder I get a "550 No such directory". Then I tried to deinstall the exUserFolder, with the hope the get it's "evil" funktioning stopped an be able to enter normally as root user again, and cd into the sub dirs. Well the acl_users Folders from exUserFolder are gone, but I still can't cd into the directory?
Help, How to get out of that?
Greetings- Axel
_______________________________________________ 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 )
On Thursday 29 January 2004 16:29, Marcos Iuato wrote:
Hi, You can create a script python at root folder to delete de instance of exUserFolder.
Something like:
context.PloneSiteId.manage_delObjects(['acl_users'])
Hmm okay, where do I get the object "context" from?
On Thu, Jan 29, 2004 at 03:47:16PM +0100, axel kittenberger wrote:
On Thursday 29 January 2004 16:29, Marcos Iuato wrote:
Hi, You can create a script python at root folder to delete de instance of exUserFolder.
Something like:
context.PloneSiteId.manage_delObjects(['acl_users'])
Hmm okay, where do I get the object "context" from?
Always available in python scripts. Roughly, it means "the place where I was invoked." -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's THE GOLDEN COG! (random hero from isometric.spaceninja.com)
context is a binding of script python that is the object on which the script is being called. regards axel kittenberger writes:
On Thursday 29 January 2004 16:29, Marcos Iuato wrote:
Hi, You can create a script python at root folder to delete de instance of exUserFolder.
Something like:
context.PloneSiteId.manage_delObjects(['acl_users'])
Hmm okay, where do I get the object "context" from?
_______________________________________________ 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 )
axel kittenberger wrote at 2004-1-29 15:28 +0100:
I just destroyed my plone Site with exUserFolder. I installed the product. Removed 'acl_users' from the plone Folder, and installed the exUserFolder. Now I only ever get "ValueError, unpack list of wrong size", on every SubFolder of the plone site.
This situation is the one the "emergency user" is for. Search the Web how to create one (probably the Zope Book (2.6 edition) will tell you). Login as "emergency user" and undo the bad transactions. -- Dieter
On Thursday 29 January 2004 20:47, you wrote:
axel kittenberger wrote at 2004-1-29 15:28 +0100:
I just destroyed my plone Site with exUserFolder. I installed the product. Removed 'acl_users' from the plone Folder, and installed the exUserFolder. Now I only ever get "ValueError, unpack list of wrong size", on every SubFolder of the plone site.
This situation is the one the "emergency user" is for. Search the Web how to create one (probably the Zope Book (2.6 edition) will tell you).
Login as "emergency user" and undo the bad transactions.
No no, I logged in as emergeny user, and still the system refused me entry. It's a bug in exUserFolder, my password does contain a semicolon, so it errored. Following Patch solved my problem, I found it in google, it has already once been proposed in 2001, yet it seems the HEAD does not contain it. - --- exUserFolder.py 2004-01-29 15:52:05.000000000 +0100 +++ exUserFolder.py2 2004-01-29 15:51:34.000000000 +0100 @@ -712,8 +712,7 @@ if lower(auth[:6])!='basic ': return None - name,password=tuple(split(decodestring(split(auth)[-1]), ':',1)) + name,password=tuple(split(decodestring(split(auth)[-1]), ':')) try: isbad = self.xcache_getUser(name) - Shall I send this patch also to exusers project to SF, or does it sufficite here to be looked at? Greetings, Axel
participants (4)
-
axel kittenberger -
Dieter Maurer -
Marcos Iuato -
Paul Winkler