Comments - MariaDB Connector/Python 0.9.58-beta Release Notes

3 years, 9 months ago Werner Kargl

MariaDB 10.3 Python 3.6.8

Error with SELECT Statement:

Ausnahme "unhandled SystemError"

<built-in method fetchall of mariadb.connection.cursor object at 0x000001B6066C5808> returned a result with an error set Datei: D:\PythonApps\Finanz\Finanz_SQL.py, Zeile: 98

Other SELECT Statements earlier in the program run work well but this one fails:

def readAktiveAnlagenByTypes(conn, data): cur = conn.cursor() cur.execute("SELECT anlagestamm.AnlageNo, anlagestamm.Anlagebetrag, institute.InstName, " "anlagestamm.StartDat " "FROM anlagestamm INNER JOIN institute ON anlagestamm.InstitutNo = institute.InstNo " "WHERE anlagestamm.AStatus = 1 AND anlagestamm.TypNo = ? AND anlagestamm.UnterTypNo = ? " "ORDER BY anlagestamm.TypNo, anlagestamm.UnterTypNo, institute.InstName", data) result = cur.fetchall() return result

I have no idea what could be wrong.

 
3 years, 9 months ago Georg Richter

Could you please file a bug report in jira bug ticketing system: https://jira.mariadb.org/

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.