[Zope] InError

Suneel Iyer suneeli@pacsg.css.mot.com
Wed, 08 Mar 2000 17:43:33 -0600


--------------42B94696484EDA991EDB49E7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am getting a strange error when I try to access the Properties tab of
one of my objects called "News":

ErrorType: InError
ErrorValue: Strings are not allowed as input to the in tag.

The traceback is as follows:

Traceback (innermost last):
  File /usr/local/zope/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
line 214, in publish_module
  File /usr/local/zope/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
line 179, in publish
  File /usr/local/zope/Zope-2.1.2-src/lib/python/Zope/__init__.py, line
202, in zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /usr/local/zope/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
line 165, in publish
  File /usr/local/zope/Zope-2.1.2-src/lib/python/ZPublisher/mapply.py,
line 160, in mapply
    (Object: manage_propertiesForm)
  File /usr/local/zope/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
line 102, in call_object
    (Object: manage_propertiesForm)
  File /usr/local/zope/Zope-2.1.2-src/lib/python/App/special_dtml.py,
line 120, in __call__
    (Object: manage_propertiesForm)
    (Info:
/usr/local/zope/Zope-2.1.2-src/lib/python/OFS/properties.dtml)
  File
/usr/local/zope/Zope-2.1.2-src/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
    (Object: manage_propertiesForm)
  File
/usr/local/zope/Zope-2.1.2-src/lib/python/DocumentTemplate/DT_In.py,
line 691, in renderwob
    (Object: propertyMap)
  File
/usr/local/zope/Zope-2.1.2-src/lib/python/DocumentTemplate/DT_In.py,
line 641, in renderwob
    (Object: getProperty(id))
InError: (see above)

What does an error in the input to an "in" tag have to do with accessing
the properties tab?

I could be wrong, but I suspect that this has something to do with an
assignment I made to a lines property that belongs to the "News" object.

Something to the effect of a string being assigned to a lines property?
(I make this assumption because I have had this error come up before
with lines properties. In this previous case, I just flushed out the
contents of the lines property in question using
"manage_changeProperties". This fixed the error, although even then I
never understood what the error in input to an "in" tag had to do with
the lines property value being erroneous.) As I no longer need this
property, I would gladly eliminate it. However, Zope won't even let me
in to the Properties tab. It just displays the "InError" when I attempt
to go to Properties of the News object. I can't really remember the
exact wording of the lines property id so I can't delete it via
"manage_delProperties" or flush out the contents of the property using
"manage_changeProperties".


Any insights as to what is going on and how to resolve this situation?
Please excuse the verbosity of this posting.






--
Suneel Iyer                               Email : suneeli@pacsg.css.mot.com
Software Engineer                         Phone : (847) 523-7259
Advanced Technology Software Operations   Fax   : (847) 523-3867
Motorola Cellular Subscriber Sector       Pager : 1-800-759-8352, pin 1273286
600 North U.S. Hwy 45, MS AN363                   or email 1273286@skytel.com
Libertyville, IL  60048-1286



--------------42B94696484EDA991EDB49E7
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I am getting a strange error when I try to access the Properties tab of
one of my objects called "News":
<p>ErrorType: InError
<br>ErrorValue: Strings are not allowed as input to the in tag.
<p>The traceback is as follows:
<p>Traceback (innermost last):
<br>&nbsp; File /usr/local/zope/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
line 214, in publish_module
<br>&nbsp; File /usr/local/zope/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
line 179, in publish
<br>&nbsp; File /usr/local/zope/Zope-2.1.2-src/lib/python/Zope/__init__.py,
line 202, in zpublisher_exception_hook
<br>&nbsp;&nbsp;&nbsp; (Object: ElementWithAttributes)
<br>&nbsp; File /usr/local/zope/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
line 165, in publish
<br>&nbsp; File /usr/local/zope/Zope-2.1.2-src/lib/python/ZPublisher/mapply.py,
line 160, in mapply
<br>&nbsp;&nbsp;&nbsp; (Object: manage_propertiesForm)
<br>&nbsp; File /usr/local/zope/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
line 102, in call_object
<br>&nbsp;&nbsp;&nbsp; (Object: manage_propertiesForm)
<br>&nbsp; File /usr/local/zope/Zope-2.1.2-src/lib/python/App/special_dtml.py,
line 120, in __call__
<br>&nbsp;&nbsp;&nbsp; (Object: manage_propertiesForm)
<br>&nbsp;&nbsp;&nbsp; (Info: /usr/local/zope/Zope-2.1.2-src/lib/python/OFS/properties.dtml)
<br>&nbsp; File /usr/local/zope/Zope-2.1.2-src/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
<br>&nbsp;&nbsp;&nbsp; (Object: manage_propertiesForm)
<br>&nbsp; File /usr/local/zope/Zope-2.1.2-src/lib/python/DocumentTemplate/DT_In.py,
line 691, in renderwob
<br>&nbsp;&nbsp;&nbsp; (Object: propertyMap)
<br>&nbsp; File /usr/local/zope/Zope-2.1.2-src/lib/python/DocumentTemplate/DT_In.py,
line 641, in renderwob
<br>&nbsp;&nbsp;&nbsp; (Object: getProperty(id))
<br>InError: (see above)
<p>What does an error in the input to an "in" tag have to do with accessing
the properties tab?
<p>I could be wrong, but I suspect that this has something to do with an
assignment I&nbsp;made to a lines property that belongs to the "News" object.
<br>Something to the effect of a string being assigned to a lines property?
(I make this assumption because I have had this error come up before with
lines properties. In this previous case, I just flushed out the contents
of the lines property in question using "manage_changeProperties". This
fixed the error, although even then I never understood what the error in
input to an "in" tag had to do with the lines property value being erroneous.)
As I no longer need this property, I would gladly eliminate it. However,
Zope won't even let me in to the Properties tab. It just displays the "InError"
when I attempt to go to Properties of the News object. I can't really remember
the exact wording of the lines property id so I&nbsp;can't delete it via
"manage_delProperties" or flush out the contents of the property using
"manage_changeProperties".
<br>&nbsp;
<p>Any insights as to what is going on and how to resolve this situation?
Please excuse the verbosity of this posting.
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<pre>--&nbsp;
Suneel Iyer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Email : suneeli@pacsg.css.mot.com
Software Engineer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Phone : (847) 523-7259
Advanced Technology Software Operations&nbsp;&nbsp; Fax&nbsp;&nbsp; : (847) 523-3867
Motorola Cellular Subscriber Sector&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Pager : 1-800-759-8352, pin 1273286
600 North U.S. Hwy 45, MS AN363&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; or email 1273286@skytel.com
Libertyville, IL&nbsp; 60048-1286</pre>
&nbsp;</html>

--------------42B94696484EDA991EDB49E7--