[pypy-issue] Issue #3080: SQL Connection Error- cannot commit transaction - SQL statements in progress (pypy/pypy)

Mukesh D issues-reply at bitbucket.org
Sun Sep 22 19:05:21 EDT 2019


New issue 3080: SQL Connection Error- cannot commit transaction - SQL statements in progress
https://bitbucket.org/pypy/pypy/issues/3080/sql-connection-error-cannot-commit

Mukesh D:

P**lease help me solve the following cases: Any help would be greatly appreciated.**

I’m trying to install pypy3 on Windows and Linux. However, getting SQL error . In normal python run everything runs fine. I’m using /pypy-c-jit-97558-b2dd9b388196-linux64   nightly build since i was getting more time date errors in official release 

‌

```
UIM;UIM_LS]SQL Error: cannot commit transaction - SQL statements in progress
Process Process-1:
Traceback (most recent call last):
  File "/opt/pypy_3.5_src_build/lib-python/3/multiprocessing/process.py", line 249, in _bootstrap
    self.run()
  File "/opt/pypy_3.5_src_build/lib-python/3/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "/home/ubuntu/8.12/log/logging.py", line 46, in sqlite_worker
    stream.create_index()
  File "/home/ubuntu/8.12/log/handler.py", line 148, in create_index
    '''CREATE INDEX index_name ON sql_table(ID)'''
  File "/opt/pypy_3.5_src_build/lib_pypy/_sqlite3.py", line 770, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/pypy_3.5_src_build/lib_pypy/_sqlite3.py", line 949, in execute
    return self.__execute(False, sql, [params])
  File "/opt/pypy_3.5_src_build/lib_pypy/_sqlite3.py", line 890, in __execute
    self.__connection.commit()
  File "/opt/pypy_3.5_src_build/lib_pypy/_sqlite3.py", line 475, in commit
    raise self._get_exception(ret)
_sqlite3.OperationalError: cannot commit transaction - SQL statements in progress
```

‌




More information about the pypy-issue mailing list