[Zope] Error: 'in ' requires character as left operand

Benjamin Eastwood beniwood@mac.com
Wed, 21 Aug 2002 17:02:50 -0700


--Apple-Mail-1-127762947
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

I get this error whenever I click on the "Security" Tab at the Root 
Folder. This happenened right after I created a new role, and saved my 
changes. Next thing I knew, no more getting to the security tab. When I 
view source on the page that comes up with the error, I see the 
following:

<html><head><title>Zope</title></head><body bgcolor="#FFFFFF">

  'in <string>' requires character as left operand
<p><a href="http://www.zope.org/Credits" target="_top"><img 
src="http://10.8.0.5/p_/ZopeButton" width="115" height="50" border="0" 
alt="Powered by Zope" /></a></p></body></html>

<!--
Traceback (innermost last):
   File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 150, in 
publish_module
   File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 114, in 
publish
   File C:\PROGRA~1\Zope\lib\python\Zope\__init__.py, line 159, in 
zpublisher_exception_hook
     (Object: Zope)
   File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 98, in 
publish
   File C:\PROGRA~1\Zope\lib\python\ZPublisher\mapply.py, line 88, in 
mapply
     (Object: manage_access)
   File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 39, in 
call_object
     (Object: manage_access)
   File C:\PROGRA~1\Zope\lib\python\AccessControl\Role.py, line 186, in 
manage_access
     (Object: Zope)
   File C:\PROGRA~1\Zope\lib\python\Shared\DC\Scripts\Bindings.py, line 
252, in __call__
     (Object: _normal_manage_access)
   File C:\PROGRA~1\Zope\lib\python\Shared\DC\Scripts\Bindings.py, line 
283, in _bindAndExec
     (Object: _normal_manage_access)
   File C:\PROGRA~1\Zope\lib\python\App\special_dtml.py, line 172, in 
_exec
     (Object: _normal_manage_access)
   File C:\PROGRA~1\Zope\lib\python\DocumentTemplate\DT_With.py, line 76, 
in render
     (Object: _.namespace(valid_roles=valid_roles()))
   File C:\PROGRA~1\Zope\lib\python\DocumentTemplate\DT_In.py, line 617, 
in renderwob
     (Object: permission_settings)
   File C:\PROGRA~1\Zope\lib\python\AccessControl\Role.py, line 111, in 
permission_settings
     (Object: Zope)
   File C:\PROGRA~1\Zope\lib\python\AccessControl\Role.py, line 106, in 
&lt;lambda&gt;
TypeError: (see above)

-->

Any help appreciated...

--Ben

--Apple-Mail-1-127762947
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII

I get this error whenever I click on the "Security" Tab at the Root
Folder. This happenened right after I created a new role, and saved my
changes. Next thing I knew, no more getting to the security tab. When
I view source on the page that comes up with the error, I see the
following:


<fixed><<<color><param>0000,0000,FFFF</param>html</color>><<<color><param>0000,0000,FFFF</param>head</color>><<<color><param>0000,0000,FFFF</param>title</color>>Zope<<<color><param>0000,0000,FFFF</param>/title</color>><<<color><param>0000,0000,FFFF</param>/head</color>><<<color><param>0000,0000,FFFF</param>body</color>
bgcolor="#FFFFFF">


 'in <<<color><param>0000,0000,FFFF</param>string</color>>' requires
character as left operand

<<<color><param>0000,0000,FFFF</param>p</color>><<<color><param>0000,0000,FFFF</param>a</color>
href="http://www.zope.org/Credits"
target="_top"><<<color><param>0000,0000,FFFF</param>img</color>
src="http://10.8.0.5/p_/ZopeButton" width="115" height="50" border="0"
alt="Powered by Zope"
/><<<color><param>0000,0000,FFFF</param>/a</color>><<<color><param>0000,0000,FFFF</param>/p</color>><<<color><param>0000,0000,FFFF</param>/body</color>><<<color><param>0000,0000,FFFF</param>/html</color>>


<<<color><param>FFFF,0000,0000</param>!--

Traceback (innermost last):

  File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 150, in
publish_module

  File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 114, in
publish

  File C:\PROGRA~1\Zope\lib\python\Zope\__init__.py, line 159, in
zpublisher_exception_hook

    (Object: Zope)

  File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 98, in
publish

  File C:\PROGRA~1\Zope\lib\python\ZPublisher\mapply.py, line 88, in
mapply

    (Object: manage_access)

  File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 39, in
call_object

    (Object: manage_access)

  File C:\PROGRA~1\Zope\lib\python\AccessControl\Role.py, line 186, in
manage_access

    (Object: Zope)

  File C:\PROGRA~1\Zope\lib\python\Shared\DC\Scripts\Bindings.py, line
252, in __call__

    (Object: _normal_manage_access)

  File C:\PROGRA~1\Zope\lib\python\Shared\DC\Scripts\Bindings.py, line
283, in _bindAndExec

    (Object: _normal_manage_access)

  File C:\PROGRA~1\Zope\lib\python\App\special_dtml.py, line 172, in
_exec

    (Object: _normal_manage_access)

  File C:\PROGRA~1\Zope\lib\python\DocumentTemplate\DT_With.py, line
76, in render

    (Object: _.namespace(valid_roles=valid_roles()))

  File C:\PROGRA~1\Zope\lib\python\DocumentTemplate\DT_In.py, line
617, in renderwob

    (Object: permission_settings)

  File C:\PROGRA~1\Zope\lib\python\AccessControl\Role.py, line 111, in
permission_settings

    (Object: Zope)

  File C:\PROGRA~1\Zope\lib\python\AccessControl\Role.py, line 106, in
&lt;lambda&gt;

TypeError: (see above)


--</color>>


Any help appreciated...


--Ben</fixed>
--Apple-Mail-1-127762947--