[Zope] error adding property of type lines in root-folder

Michel Pelletier michel@digicool.com
Tue, 07 Mar 2000 11:41:10 -0800


I cannot reproduce this.  I can add lines properties to the root folder
with no problem.

Please post a traceback with your error (look in the HTML source of the
error screen) otherwise we cannot know how to help you.

-Michel

Nico Grubert wrote:
> 
> hello,
> 
> i am adding a property "colors" of type lines with empty value in
> root-directory.
> okay this works fine, but if i enter some values in the textarea for
> this property and i click "save changes"
> i get this error:
> 
> ***************************************************************
> Zope Error
> Zope has encountered an error while publishing this resource.
> 
> Error Type: TypeError
> Error Value: string member test needs char left operand
> 
> --------------------------------------------------------------------------------
> 
> 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:\Program Files\ZOPE\lib\python\ZPublisher\Publish.py, line 214,
> in publish_module
>   File C:\Program Files\ZOPE\lib\python\ZPublisher\Publish.py, line 179,
> in publish
>   File C:\Program Files\ZOPE\lib\python\Zope\__init__.py, line 202, in
> zpublisher_exception_hook
>     (Object: ApplicationDefaultPermissions)
>   File C:\Program Files\ZOPE\lib\python\ZPublisher\Publish.py, line 165,
> in publish
>   File C:\Program Files\ZOPE\lib\python\ZPublisher\mapply.py, line 160,
> in mapply
>     (Object: manage_propertiesForm)
>   File C:\Program Files\ZOPE\lib\python\ZPublisher\Publish.py, line 102,
> in call_object
>     (Object: manage_propertiesForm)
>   File C:\Program Files\ZOPE\lib\python\App\special_dtml.py, line 120,
> in __call__
>     (Object: manage_propertiesForm)
>     (Info: C:\Program Files\ZOPE\lib\python\OFS/properties.dtml)
>   File C:\Program Files\ZOPE\lib\python\DocumentTemplate\DT_String.py,
> line 502, in __call__
>     (Object: manage_propertiesForm)
>   File C:\Program Files\ZOPE\lib\python\DocumentTemplate\DT_In.py, line
> 691, in renderwob
>     (Object: propertyMap)
>   File C:\Program Files\ZOPE\lib\python\DocumentTemplate\DT_In.py, line
> 691, in renderwob
>     (Object: _[select_variable])
>   File C:\Program Files\ZOPE\lib\python\DocumentTemplate\DT_Util.py,
> line 335, in eval
>     (Object: _['sequence-item'] in getProperty(id))
>     (Info: getProperty)
>   File <string>, line 0, in ?
> TypeError: (see above)
> *************************************
> 
> what is going wrong right here ???
> 
> thanks in advance
> cheers,
> nico
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )