[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNUe] packages?

From: Adrian Maier
Subject: Re: [GNUe] packages?
Date: Thu, 18 Mar 2004 09:44:24 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2

Stefan Elwesthal wrote:
----- Original Message ----- DB000: Traceback (most recent call last): DB000: File "/opt/gnue//lib/python/gnue/forms/uidrivers/wx/", line 94, in <lambda> DB000: lambda event, l=self.driver, e=event, f=self.form: l.dispatchEvent(e,_form=f)) DB000: File "/opt/gnue//lib/python/gnue/common/events/", line 107, in dispatchEvent DB000: handler(event) DB000: File "/opt/gnue//lib/python/gnue/forms/", line 922, in requestQuery DB000: message = event._form.initQuery() DB000: File "/opt/gnue//lib/python/gnue/forms/", line 429, in initQuery DB000: block.processRollback() DB000: File "/opt/gnue//lib/python/gnue/forms/GFObjects/", line 464, in processRollback DB000: self._dataSourceLink._dataObject.rollback() DB000: File "/opt/gnue//lib/python/gnue/common/datasources/drivers/Base/", line 155, in rollback DB000: self._dataConnection.rollback()

The program tries to send a "ROLLBACK" command to the server.
Until recently, MySql did not support transactions. So, it doesn't support any of "BEGIN", "COMMIT" or "ROLLBACK".

DB000: File "/usr/lib/python2.3/site-packages/MySQLdb/", line 143, in rollback DB000: NotSupportedError, "Not supported by server") DB000: File "/usr/lib/python2.3/site-packages/MySQLdb/", line 33, in defaulterrorhandler DB000: raise errorclass, errorvalue DB000: _mysql_exceptions.NotSupportedError: Not supported by server Any ideas? I'm running MySQL 4.0.15-9, maybe I should try PostGres (have no expoereience at all there though) My intent is to write everything I'll do down, maybe something useful can come out of this, though I doubt it since my English isn't too impressive :)

You could either upgrade MySql or switch to PostgreSQL. If i were you,
i would deffinitely choose PostgreSQL because it has more features and
its implementation of the SQL language is much more standards-compliant.

Adrian Maier

reply via email to

[Prev in Thread] Current Thread [Next in Thread]