[Zope] Zope 2.7 Problem w/Value Error: unpack list of wrong size
Chris Bruce
chris at chrisbruce.com
Wed Mar 24 17:03:52 EST 2004
I am getting the following error while trying to add a ZClass
programmatically with proxy set to manger:
Traceback (innermost last):
Module ZPublisher.Publish, line 100, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module OFS.DTMLMethod, line 130, in __call__
- <DTMLMethod instance at b30e6620>
- URL: http://localhost:8080/register/addUser/manage_main
- Physical Path: /register/addUser
Module DocumentTemplate.DT_String, line 474, in __call__
Module DocumentTemplate.DT_With, line 76, in render
Module DocumentTemplate.DT_Util, line 201, in eval
- __traceback_info__: UserFileFolder_add
Module <string>, line 1, in <expression>
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.PythonScripts.PythonScript, line 318, in _exec
Module None, line 3, in UserFileFolder_add
- <PythonScript at /Users/UserFolders/UserFileFolder_add>
- Line 3
Module AccessControl.Owned, line 123, in getWrappedOwner
ValueError: unpack list of wrong size
Here is the dtml:
<dtml-with "Users.UserFolders.manage_addProduct['UserFileFolder']">
<dtml-call "UserFileFolder_add(redirect=0)"></dtml-with>
I can manually add with no problems. Any ideas??
Chris
More information about the Zope
mailing list