The event_log isn't recording anything about the Zope error I'm getting on the page I have issues with. Is there a setting that I'm missing maybe? Also, has anyone successfully went from Linux to Windows with their Zope instance? I've noticed things like .read() and .write() don't work in Windows, they throw a Zope error, but they worked fine in Linux. I've also had to deal with the .strftime() function bombing on windows because the field from the database call was null, so it gives me an error about "None" not having that attribute. Are there any other things I might be on the look out for? On 2/22/07, Jonathan <dev101@magma.ca> wrote:
----- Original Message ----- From: "David VanKirk" <kriknav@gmail.com> To: "Zope Mailing List" <zope@zope.org> Sent: Thursday, February 22, 2007 5:10 PM Subject: [Zope] Error Tracing in Zope 2.6
Can anyone give me some pointers on tracing errors in Zope 2.6?
I'm already using the DTML var "error-tb" or whatever it is. And that can be helpful at times. But I was wondering if there's some other way to pinpoint which line in the DTML file is throwing the error.
I'm moving my Zope setup from Linux to Windows and apparently there are some syntax that needs to change when migrating over (aside from my SQL command, since I'm going from Oracle to MS SQL Server). Some of these files are big, and there's a done of files to go through, so going through by hand is just not an option.
If anyone can give me some pointers to more specifically locate erroneous lines, or if you can give me some tips on what syntax to look out for during the migration, I'd really appreciate it.
The easiest thing to do is look in the error_log (ZMI, root folder).
That will provide a full traceback for errors. If you can not determine the cause of the errors yourself, you can post specific questions/tracebacks.
Jonathan
-- David VanKirk