On Friday, December 01, 2006, at 03:04PM, "Fabian Groffen"
Hi Ronald,
On 01-12-2006 05:59:24 -0800, Ronald Oussoren wrote:
Hi,
I'm using monetdb's SQL frontend through the python bindings (with minor patches to make it behave more like the DB-API specifies, and a patch to print error information because MonetSQLdb raises 'RuntimeError, None' when the database returns an error).
Can you contribute this patch? If it's nice we might put it in before the release, because it sounds like a fix.
The DB-API changes should be easy enough to convert to a patch, I'm currently hotfixing to make it easier to convert to a new monet snapshot. The error-printing patch is a crude hack, I've changed the wrapper of map_query to print error information to stderr (basically using code ripped out of the C program MapiClient). I'll post the hotfix-code and patch once I get back to my developoment system (either tonight or over the weekend). With some luck I'll post a real patch soon after, because the build system for the python wrappers is currently broken (it installs the python extension in a subdirectory of site-packages and installs it as a versioned shared library). Ronald