[Zope] unexpected failure....
Michel Pelletier
michel@digicool.com
Fri, 9 Jul 1999 10:16:04 -0400
> -----Original Message-----
> From: Jens Vagelpohl [mailto:tommymi@concentric.net]
> Sent: Thursday, July 08, 1999 4:58 PM
> To: Zope@Zope. Org
> Subject: [Zope] unexpected failure....
>
>
> I was just playing with a database connection and had made up
> a form to
> collect some data, which calls a page giving feedback and at
> the same time
> the ZSQL method to do the actual processing. This stuff was
> successful the
> first few times, but all of a sudden Zope restarts. I get a
> "Page cannot be
> displayed" error. Checking the database I see that the record
> has not been
> added.
>
> The ZServer log (var/Z2.log) doesn't show anything about it.
>
> This is what appears on the command line from where i started Zope:
>
> uncaptured python exception, closing channel
> <zhttp_channel connected 192.168.168.3:4358 at 844b718 channel#: 7
> requests:10>
> (exceptions.KeyError:String
> [/usr/src/Zope-2.0.0a3-src/ZServer/medusa/asyncore.py|poll|59]
> [/usr/src/Zope-2.0.0a3-src/ZServer/medusa/asyncore.py|handle_r
> ead_event|285]
> [/usr/src/Zope-2.0.0a3-src/ZServer/medusa/asynchat.py|handle_read|110]
> [/usr/src/Zope-2.0.0a3-src/ZServer/medusa/http_server.py|found
> _terminator|43
> 4]
> [/usr/src/Zope-2.0.0a3-src/ZServer/medusa/http_server.py|found
> _terminator|15
> 1]
> [/usr/src/Zope-2.0.0a3-src/ZServer/HTTPServer.py|found_terminator|293]
> [/usr/src/Zope-2.0.0a3-src/ZServer/HTTPServer.py|continue_request|264]
> [/usr/src/Zope-2.0.0a3-src/lib/python/ZPublisher/HTTPRequest.p
> y|__init__|246
> ])
>
>
> What could the reason be? does "exceptions.KeyError:String"
> imply that I am
> misusing a string in the input data? Even when i just leave
> out all fields
> that don't require input data I still get the error. The only
> fields I am
> passing, apart from empty strings, are two integer values.
>
You said it worked at first, can you reproduce this with a different
pair of methods? if you can reproduce it and send us the code, we can
fix it.
-Michel
> :(
>
> Jens Vagelpohl
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>