Bug 1413580 - [abrt] ibus-table: __init__(): factory.py:96:do_create_engine:Exception: Cannot create engine wubi-jidian86
Summary: [abrt] ibus-table: __init__(): factory.py:96:do_create_engine:Exception: Cann...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-table
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mike FABIAN
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a038027e8bfa8a6fbc085d9f685...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-16 12:44 UTC by Mike FABIAN
Modified: 2017-02-23 19:19 UTC (History)
7 users (show)

Fixed In Version: ibus-table-1.9.16-1.fc25 ibus-table-1.9.16-1.fc24
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-23 18:51:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.57 KB, text/plain)
2017-01-16 12:44 UTC, Mike FABIAN
no flags Details
File: cgroup (229 bytes, text/plain)
2017-01-16 12:44 UTC, Mike FABIAN
no flags Details
File: environ (1.31 KB, text/plain)
2017-01-16 12:44 UTC, Mike FABIAN
no flags Details
File: mountinfo (3.51 KB, text/plain)
2017-01-16 12:45 UTC, Mike FABIAN
no flags Details
File: namespaces (102 bytes, text/plain)
2017-01-16 12:45 UTC, Mike FABIAN
no flags Details
File: open_fds (1.29 KB, text/plain)
2017-01-16 12:45 UTC, Mike FABIAN
no flags Details

Description Mike FABIAN 2017-01-16 12:44:48 UTC
Description of problem:
In Python >= 3.6 

import sqlite3
sqlite3.connect("foo.db").execute('PRAGMA journal_mode k= WAL;') 

fails.

Version-Release number of selected component:
ibus-table-1.9.14-2.fc26

Additional info:
reporter:       libreport-2.9.0
cmdline:        /usr/bin/python3 /usr/share/ibus-table/engine/main.py --ibus
crash_function: __init__
exception_type: sqlite3.OperationalError
executable:     /usr/share/ibus-table/engine/main.py
kernel:         4.10.0-0.rc3.git4.1.fc26.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
factory.py:96:do_create_engine:Exception: Cannot create engine wubi-jidian86

Traceback (most recent call last):
  File "/usr/share/ibus-table/engine/tabsqlitedb.py", line 362, in __init__
    self.db.execute('PRAGMA user_db.journal_mode = WAL;')
sqlite3.OperationalError: cannot change into wal mode from within a transaction

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/ibus-table/engine/factory.py", line 80, in do_create_engine
    filename = db, user_db = udb)
  File "/usr/share/ibus-table/engine/tabsqlitedb.py", line 379, in __init__
    self.init_user_db(user_db)
  File "/usr/share/ibus-table/engine/tabsqlitedb.py", line 1020, in init_user_db
    db.execute('PRAGMA journal_mode = WAL;')
sqlite3.OperationalError: cannot change into wal mode from within a transaction

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/ibus-table/engine/factory.py", line 96, in do_create_engine
    raise Exception("Cannot create engine %s" %engine_name)
Exception: Cannot create engine wubi-jidian86

Local variables in innermost frame:
traceback: <module 'traceback' from '/usr/lib64/python3.6/traceback.py'>
udb: 'wubi-jidian86-user.db'
db: '/usr/share/ibus-table/tables/wubi-jidian86.db'
db_dir: '/usr/share/ibus-table/tables'
path_patt: re.compile('[^a-zA-Z0-9_/]')
engine_base_path: '/com/redhat/IBus/engines/table/%s/engine/'
engine_name: 'wubi-jidian86'
self: <factory.EngineFactory object at 0x7f3388bf0d38 (factory+EngineFactory at 0x56227f91fee0)>

Comment 1 Mike FABIAN 2017-01-16 12:44:55 UTC
Created attachment 1241218 [details]
File: backtrace

Comment 2 Mike FABIAN 2017-01-16 12:44:57 UTC
Created attachment 1241219 [details]
File: cgroup

Comment 3 Mike FABIAN 2017-01-16 12:44:58 UTC
Created attachment 1241220 [details]
File: environ

Comment 4 Mike FABIAN 2017-01-16 12:45:00 UTC
Created attachment 1241221 [details]
File: mountinfo

Comment 5 Mike FABIAN 2017-01-16 12:45:01 UTC
Created attachment 1241222 [details]
File: namespaces

Comment 6 Mike FABIAN 2017-01-16 12:45:03 UTC
Created attachment 1241223 [details]
File: open_fds

Comment 7 Fedora Update System 2017-01-17 06:16:28 UTC
ibus-table-1.9.16-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-7ed4f7582b

Comment 8 Fedora Update System 2017-01-17 06:17:10 UTC
ibus-table-1.9.16-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-dbf926a11a

Comment 9 Fedora Update System 2017-01-17 21:50:45 UTC
ibus-table-1.9.16-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-dbf926a11a

Comment 10 Fedora Update System 2017-01-17 21:53:32 UTC
ibus-table-1.9.16-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-7ed4f7582b

Comment 11 Fedora Update System 2017-02-23 18:51:20 UTC
ibus-table-1.9.16-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2017-02-23 19:19:42 UTC
ibus-table-1.9.16-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.