[Zope] Error with Zope + netscape + javascript

Tim Hicks Tim Hicks <tim.hicks@iname.com>
Mon, 15 May 2000 23:11:02 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0005_01BFBEC2.D6EDBA20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have a server running zope on redhat linux...  everything is fine when =
viewing under IE4 and 5.  However, when viewing under netscape 3.04 or =
4.08, I start to get server errors (see below).  The wierd thing is, it =
seems that when I first upload and install javascripts to my site, =
things work (if a little differently to ie, but I accept that), but =
after about half a day, the server error kicks in.  Even when i could =
view the pages under ns, if I clicked on the reload button, instead of =
reloading the page, it would redirect to the .js file within the =
directory the browser was pointed at!  This gives me the same error as I =
now get even without the redirect.  Incidentally, (when ns was working) =
if I hit return when the carat was in the address bar (as in, =
alternative way of reloading the page), everything was fine.

I hope I've made sense, and I hope that someone can help on this one.

Cheers

tim

The error message is below

----

Zope Error

          Zope has encountered an error while publishing this resource.=20

          Error Type: OverflowError
          Error Value: float too large to convert



          Troubleshooting Suggestions

               The URL may be incorrect.=20
               The parameters passed to this resource may be incorrect.=20
               A resource that this resource relies on may be =
encountering an error.=20

          For more detailed information about the error, please refer to =
the HTML source for this page.=20

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





Traceback (innermost last):
  File /usr/local/bin/zope/lib/python/ZPublisher/Publish.py, line 214, =
in publish_module
  File /usr/local/bin/zope/lib/python/ZPublisher/Publish.py, line 179, =
in publish
  File /usr/local/bin/zope/lib/python/Zope/__init__.py, line 202, in =
zpublisher_exception_hook
    (Object: navcond.js)
  File /usr/local/bin/zope/lib/python/ZPublisher/Publish.py, line 165, =
in publish
  File /usr/local/bin/zope/lib/python/ZPublisher/mapply.py, line 160, in =
mapply
    (Object: index_html)
  File /usr/local/bin/zope/lib/python/ZPublisher/Publish.py, line 102, =
in call_object
    (Object: index_html)
  File /usr/local/bin/zope/lib/python/OFS/Image.py, line 186, in =
index_html
    (Object: navcond.js)
OverflowError: (see above)



------=_NextPart_000_0005_01BFBEC2.D6EDBA20
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have a server running zope on redhat=20
linux...&nbsp; everything is fine when viewing under IE4 and 5.&nbsp; =
However,=20
when viewing under netscape 3.04 or 4.08, I start to get server errors =
(see=20
below).&nbsp; The wierd thing is, it seems that when I first upload and =
install=20
javascripts to my site, things work (if a little differently to ie, but =
I accept=20
that), but after about half a day, the server error kicks in.&nbsp; Even =
when i=20
could view the pages under ns, if I clicked on the reload button, =
instead of=20
reloading the page, it would redirect to the .js file within the =
directory the=20
browser was pointed at!&nbsp; This gives me the same error as I now get =
even=20
without the redirect.&nbsp; Incidentally, (when ns was working) if I hit =
return=20
when the carat was in the address bar (as in, alternative way of =
reloading the=20
page), everything was fine.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I hope I've made sense, and I hope that =
someone can=20
help on this one.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Cheers</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>tim</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The error message is below</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>----</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Zope Error</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Zope has =

encountered an error while publishing this resource. </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error =
Type:=20
OverflowError<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Error=20
Value: float too large to convert</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Troubleshooting=20
Suggestions</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;=20
The URL may be incorrect.=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
The parameters passed to this resource may be incorrect.=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
A resource that this resource relies on may be encountering an error.=20
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For more =
detailed=20
information about the error, please refer to the HTML source for this =
page.=20
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If the =
error=20
persists please contact the site maintainer. Thank you for your =
patience.=20
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Traceback (innermost last):<BR>&nbsp; =
File=20
/usr/local/bin/zope/lib/python/ZPublisher/Publish.py, line 214, in=20
publish_module<BR>&nbsp; File=20
/usr/local/bin/zope/lib/python/ZPublisher/Publish.py, line 179, in=20
publish<BR>&nbsp; File /usr/local/bin/zope/lib/python/Zope/__init__.py, =
line=20
202, in zpublisher_exception_hook<BR>&nbsp;&nbsp;&nbsp; (Object:=20
navcond.js)<BR>&nbsp; File =
/usr/local/bin/zope/lib/python/ZPublisher/Publish.py,=20
line 165, in publish<BR>&nbsp; File=20
/usr/local/bin/zope/lib/python/ZPublisher/mapply.py, line 160, in=20
mapply<BR>&nbsp;&nbsp;&nbsp; (Object: index_html)<BR>&nbsp; File=20
/usr/local/bin/zope/lib/python/ZPublisher/Publish.py, line 102, in=20
call_object<BR>&nbsp;&nbsp;&nbsp; (Object: index_html)<BR>&nbsp; File=20
/usr/local/bin/zope/lib/python/OFS/Image.py, line 186, in=20
index_html<BR>&nbsp;&nbsp;&nbsp; (Object: navcond.js)<BR>OverflowError: =
(see=20
above)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0005_01BFBEC2.D6EDBA20--