Re: [Zope] wrapped object

2000-09-07 Thread Bill Anderson

Sven Hohage wrote:
> 
> Hallo,
> while adding ZClass instances by form I get the following traceback:
> I don't know what's a wrapped object??
> And where the problem is.
>Thanks
> -->>>
>   Zope Error
> Zope has encountered an error while publishing this resource.
> 
> Error Type: ValueError
> Error Value: Invalid property value: wrapped object
> 


I have seen this when trying to pass into a property a mothod or instance, as opposed 
to the strin representation of it.
check your form for dtml objects as input values. You may have a typo.

Then again, it could be something completely different.


--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] wrapped object

2000-09-07 Thread Sven Hohage

Hallo,
while adding ZClass instances by form I get the following traceback:
I don't know what's a wrapped object??
And where the problem is.
   Thanks
-->>>
  Zope Error
Zope has encountered an error while publishing this resource.

Error Type: ValueError
Error Value: Invalid property value: wrapped object





Troubleshooting Suggestions

The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the HTML
source for this page.

If the error persists please contact the site maintainer. Thank you for
your patience.




Traceback (innermost last):
  File C:\Zopppaaa\lib\python\ZPublisher\Publish.py, line 222, in
publish_module
  File C:\Zopppaaa\lib\python\ZPublisher\Publish.py, line 187, in
publish
  File C:\Zopppaaa\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
(Object: ElementWithAttributes)
  File C:\Zopppaaa\lib\python\ZPublisher\Publish.py, line 171, in
publish
  File C:\Zopppaaa\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: testskript)
  File C:\Zopppaaa\lib\python\ZPublisher\Publish.py, line 112, in
call_object
(Object: testskript)
  File C:\Zopppaaa\lib\python\OFS\DTMLMethod.py, line 167, in __call__
(Object: testskript)
  File C:\Zopppaaa\lib\python\DocumentTemplate\DT_String.py, line 502,
in __call__
(Object: testskript)
  File C:\Zopppaaa\lib\python\DocumentTemplate\DT_With.py, line 146, in
render
(Object: manage_addProduct['DBank'])
  File C:\Zopppaaa\lib\python\DocumentTemplate\DT_Util.py, line 337, in
eval
(Object: eingang_DB_add (_.None, _, NoRedir=1))
(Info: eingang_DB_add)
  File , line 0, in ?
  File C:\Zopppaaa\lib\python\OFS\DTMLMethod.py, line 163, in __call__
(Object: eingang_DB_add)
  File C:\Zopppaaa\lib\python\DocumentTemplate\DT_String.py, line 502,
in __call__
(Object: eingang_DB_add)
  File C:\Zopppaaa\lib\python\DocumentTemplate\DT_With.py, line 146, in
render
(Object: eingang_DB.createInObjectManager(REQUEST['id'], REQUEST))
  File C:\Zopppaaa\lib\python\DocumentTemplate\DT_Util.py, line 337, in
eval
(Object:
propertysheets.eingangs_info.manage_editProperties(REQUEST))
(Info: REQUEST)
  File , line 0, in ?
  File C:\Zopppaaa\lib\python\OFS\PropertySheets.py, line 456, in
manage_editProperties
(Object: Traversable)
  File C:\Zopppaaa\lib\python\OFS\PropertySheets.py, line 255, in
_updateProperty
(Object: Traversable)
  File C:\Zopppaaa\lib\python\OFS\PropertySheets.py, line 208, in
_wrapperCheck
(Object: Traversable)
ValueError: (see above)



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )