[Zope] Bug with atoi method ?

FR Chalaoux chalaouxf@synbio.tpgnet.net
Wed, 10 Feb 1999 18:04:32 +0100


Hi All,

Is there a bug with this call <!--#var "_.atoi('12')"--> cause I obtained 
the following error or is it a syntax mistake ?


------
Error
------

<HTML><HEAD><TITLE>Zope</TITLE></HEAD><BODY 
BGCOLOR="#FFFFFF">
<TABLE BORDER="0" WIDTH="100%">
<TR>
  <TD WIDTH="10%" ALIGN="CENTER">
  <STRONG><FONT SIZE="+6" 
COLOR="#77003B">!</FONT></STRONG>
  </TD>
  <TD WIDTH="90%"><BR>
  <FONT SIZE="+2">System Unavailable</FONT>
  <P>This site is currently experiencing technical difficulties. 
Please contact the site administrator for more information.  For
additional technical information, please refer to the HTML source 
for this
page.  Thank you for your patience.</P>
  </TD>
</TR>
</TABLE>
<!--
 Error type:  
 Error value: atoi
 -->
</BODY></HTML>
<!--
Traceback (innermost last):
  File /opt/digicool/zope/Zope-1.9.0-
src/lib/python/ZPublisher/Publish.py, line 879, in publish_module
  File /opt/digicool/zope/Zope-1.9.0-
src/lib/python/ZPublisher/Publish.py, line 595, in publish
    (Info: /date-time)
  File /opt/digicool/zope/Zope-1.9.0-
src/lib/python/OFS/Document.py, line 181, in __call__
    (Object: date-time)
  File /opt/digicool/zope/Zope-1.9.0-
src/lib/python/OFS/Document.py, line 177, in __call__
    (Object: date-time)
  File /opt/digicool/zope/Zope-1.9.0-
src/lib/python/DocumentTemplate/DT_String.py, line 514, in 
__call__
    (Object: date-time)
  File /opt/digicool/zope/Zope-1.9.0-
src/lib/python/DocumentTemplate/DT_Util.py, line 268, in eval
    (Object: _.atoi('12'))
  File <string>, line 0, in ?
  File /opt/digicool/zope/Zope-1.9.0-
src/lib/python/DocumentTemplate/DT_Util.py, line 140, in 
careful_getattr
AttributeError: (see above)

-->

François-Régis Chalaoux
Bioinformatics Group
Synthélabo Biomoléculaire
67080 Strasbourg Cedex
FRANCE
Tél : 03 88 60 87 14
Fax : 03 88 45 90 70