Martijn Moeling
martijn at xs4us.nu
Tue Nov 28 07:11:42 EST 2006
Hi Whilst testing my MySQLSession object I temporarily set the CLEANUP_CHANCE to 1 for force it to run def MySLQ_cleanup(req): ... ... ... The register_cleanup function runs fine... but the call by the cleanup routines fails with an Error I cannot find. def do_cleanup(self): self._req.register_cleanup(MySQL_cleanup, self._req) self._req.log_error("MySQLSession: registered session cleanup.",apache.APLOG_NOTICE) [Tue Nov 28 12:37:42 2006] [notice] [client xxx.xxx.xxx] MySQLSession: registered session cleanup. [Tue Nov 28 12:37:42 2006] [error] [client xxx.xxx.xxx.xxx] python_cleanup: Error calling cleanup object <function MySQL_cleanup at 0xb7e0eed4> [Tue Nov 28 12:37:42 2006] [error] [client xxx.xxx.xxx.xxx] exceptions.ValueError: could not convert string to float Python 2.4, mod_python 3.2.10 running on fedora 4 and Apache/2.0.54 Any suggestions? Martijn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20061128/1bd12b13/attachment.html
|