You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm Carlos from the CBU, i hope you are fine :-)
When exporting a history in NGA, I'm having some issues (both in local and test) with the db_utils from kbr when trying to insert/update (add and update functions) :
2021-08-04 14:02:27 nels-galaxy-api.ERROR Error during export registation: This result object does not return rows. It has been closed automatically.
ERROR:nels-galaxy-api:Error during export registation: This result object does not return rows. It has been closed automatically.
Digging into it, I realised it happens because of the call to self.do( q ), as its
does not return anything when executing an insert/update command and it throws an exception. Just replacing the calls to self.do( q ) in add/update functions by
self._db.bulk_query( q )
makes everything to work again.
Could you help me with this, please?
Greetings,
Carlos
The text was updated successfully, but these errors were encountered:
Hi Kim,
I'm Carlos from the CBU, i hope you are fine :-)
When exporting a history in NGA, I'm having some issues (both in local and test) with the db_utils from kbr when trying to insert/update (add and update functions) :
Digging into it, I realised it happens because of the call to
self.do( q )
, as itsreturn self._db.query( sql, fetchall=self._fetchall )
does not return anything when executing an insert/update command and it throws an exception. Just replacing the calls to
self.do( q )
in add/update functions byself._db.bulk_query( q )
makes everything to work again.
Could you help me with this, please?
Greetings,
Carlos
The text was updated successfully, but these errors were encountered: