Wolfgang Fahl added the comment:
Indeed this a request for improvement. Technically the software works as
expected. Just thousands of programmers have extra debug effort at this tate of
affairs as can be deducted from the view count in the stackoverflow questions.
The extra step of looking
Wolfgang Fahl added the comment:
Note that there is also another error:
sqlite3.InterfaceError: Error binding parameter :series - probably unsupported
type.
with similar issue but which actively shows the binding name (but not the
record# and debugInfo
Wolfgang Fahl added the comment:
see also
https://stackoverflow.com/questions/17169642/python-sqlite-insert-named-parameters-or-null
for the more general problem
--
___
Python tracker
<https://bugs.python.org/issue41
Wolfgang Fahl added the comment:
see also
https://stackoverflow.com/questions/60793224/sqlite3-programmingerror-you-did-not-supply-a-value-for-binding-1
--
___
Python tracker
<https://bugs.python.org/issue41
Wolfgang Fahl added the comment:
see also
https://stackoverflow.com/questions/46080876/python-sqlite3-you-did-not-supply-a-value-for-binding-6
--
___
Python tracker
<https://bugs.python.org/issue41
Wolfgang Fahl added the comment:
see also
https://stackoverflow.com/questions/61556472/insert-into-a-table-and-get-the-error-sqlite3-programmingerror-you-did-not-sup
--
___
Python tracker
<https://bugs.python.org/issue41
Wolfgang Fahl added the comment:
see also
https://stackoverflow.com/questions/61788055/sqlite3-error-you-did-not-supply-a-value-for-binding-1
--
___
Python tracker
<https://bugs.python.org/issue41
Wolfgang Fahl added the comment:
The full workaround is in
https://github.com/WolfgangFahl/DgraphAndWeaviateTest/commit/f1a58d75f459bf78db327acddaf01d5cf64eb7d4
def testBindingError(self):
'''
test list of Records with incomplete record leading to
"You did not s
Wolfgang Fahl added the comment:
see https://github.com/WolfgangFahl/DgraphAndWeaviateTest/issues/7 and
https://github.com/WolfgangFahl/DgraphAndWeaviateTest/commit/cc7dbc4c3ade4dd6b2e74f41410e19bc21450490
--
___
Python tracker
<ht
Wolfgang Fahl added the comment:
My workaround starts with:
try:
self.c.executemany(insertCmd,listOfRecords)
self.c.commit()
except sqlite3.ProgrammingError as pe:
msg=pe.args[0]
if "You did not supply a value for binding&qu
New submission from Wolfgang Fahl :
def testBindingError(self):
'''
test list of Records with incomplete record leading to
"You did not supply a value for binding 2"
'''
listOfRecords=[{'name':'Pikachu', 'type':'Electric'},{'nam
11 matches
Mail list logo