<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I have two versions of Zope running...</FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT><FONT face=Arial size=2></FONT></DIV>
<DIV><FONT face=Arial size=2>My clients version, which is Linux and an original
Zope 1.10.3 ... (Awww... old, I know)... </FONT></DIV>
<DIV><FONT face=Arial size=2>My local version, which is Win32 and Zope 1.10.3
... (Old version, new installation, aye...)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now, after fighting an uneven battle against a
Win32 installation of MySQL-Python/MySQLDA etc. for some time, I finally
succeeded to import the application to my workstation. And incredibly
enough, most of it worked, which I thoguht was too good to be true... eh
... Now, yes - really. It was too good to be true, because parts of the
application pages proved to fail due to a couple of minor lines in the code...
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now, it seems to be the following lines, related to
ZopeTime and which format to use... (This actually works on the Zope 1.10 linux
installation, but not on my Win32 installation)...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> <!--#call
"REQUEST.set('todate', ZopeTime()+1)"--></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>And another line...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> <!--#call "REQUEST.set('fromdate',
ZopeTime('%s/%s/%s' % (from_year, from_month, from_day)))"--></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now, being the true Zope (python) newbie as I am, I
admit this looks pretty cool. And logic. But the logic stops working right about
why it works on one Zope 1.10.3 installation but not on the other.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is this ZopeTime() thing calling a function in
Python? Is it a chance that my Python installation (Zope 1.10.3 comes with
Python 1.5 eh?) is not the same as the one on the Linux box? ... Now, I think I
have installed Python 2.2 on this workstation. (Any way I can check which Python
version Zope calls except decoding those cryptic "innermost traceback"
-messages?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any ideas? Workarounds?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Also... would any of you guys happen to have
documentation to Zope 1.10, eventually where I can find it? What I have is
pretty limited, and my client doesnt really understand the words "hard to do",
"obsolete" and "no documentation" ... he keeps repeating "you fix, you smart,
you computer guy, right?" all the time ... </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best regards,<BR>Robert.</FONT></DIV></BODY></HTML>