Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: [abrt] translate-toolkit-1.8.1-1.fc14:
tmdb.py:116:init_database:OperationalError: database schema has changed
https://bugzilla.redhat.com/show_bug.cgi?id=677932
Summary: [abrt] translate-toolkit-1.8.1-1.fc14:
tmdb.py:116:init_database:OperationalError: database
schema has changed
Product: Fedora
Version: 14
Platform: x86_64
OS/Version: Unspecified
Status: NEW
Status Whiteboard: abrt_hash:bdc77e95
Severity: unspecified
Priority: unspecified
Component: translate-toolkit
AssignedTo: dwayne(a)translate.org.za
ReportedBy: davematel(a)gmail.com
QAContact: extras-qa(a)fedoraproject.org
CC: dwayne(a)translate.org.za,
i18n-bugs(a)lists.fedoraproject.org
Classification: Fedora
abrt version: 1.1.14
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/tmserver -b localhost -p 55555 -d
/home/DaveMatel8888/.virtaal/tm.db --min-similarity=70 --max-candidates=5
component: translate-toolkit
executable: /usr/bin/tmserver
kernel: 2.6.35.10-74.fc14.x86_64
package: translate-toolkit-1.8.1-1.fc14
reason: tmdb.py:116:init_database:OperationalError: database schema has changed
release: Fedora release 14 (Laughlin)
time: 1296137039
uid: 500
backtrace
-----
tmdb.py:116:init_database:OperationalError: database schema has changed
Traceback (most recent call last):
File "/usr/bin/tmserver", line 27, in <module>
tmserver.main()
File "/usr/lib/python2.7/site-packages/translate/services/tmserver.py", line
194, in main
prefix="/tmserver", source_lang=options.source_lang,
target_lang=options.target_lang)
File "/usr/lib/python2.7/site-packages/translate/services/tmserver.py", line
49, in __init__
self.tmdb = tmdb.TMDB(tmdbfile, max_candidates, min_similarity, max_length)
File "/usr/lib/python2.7/site-packages/translate/storage/tmdb.py", line 66,
in __init__
self.init_database()
File "/usr/lib/python2.7/site-packages/translate/storage/tmdb.py", line 116,
in init_database
self.cursor.executescript(script)
OperationalError: database schema has changed
Local variables in innermost frame:
self: <translate.storage.tmdb.TMDB object at 0x26ba090>
script: '\nCREATE TABLE IF NOT EXISTS sources (\n sid INTEGER PRIMARY KEY
AUTOINCREMENT,\n text VARCHAR NOT NULL,\n context VARCHAR DEFAULT
NULL,\n lang VARCHAR NOT NULL,\n length INTEGER NOT
NULL\n);\nCREATE INDEX IF NOT EXISTS sources_context_idx ON sources
(context);\nCREATE INDEX IF NOT EXISTS sources_lang_idx ON sources
(lang);\nCREATE INDEX IF NOT EXISTS sources_length_idx ON sources
(length);\nCREATE UNIQUE INDEX IF NOT EXISTS sources_uniq_idx ON sources (text,
context, lang);\n\nCREATE TABLE IF NOT EXISTS targets (\n tid INTEGER
PRIMARY KEY AUTOINCREMENT,\n sid INTEGER NOT NULL,\n text VARCHAR
NOT NULL,\n lang VARCHAR NOT NULL,\n time INTEGER DEFAULT NULL,\n
FOREIGN KEY (sid) references sources(sid)\n);\nCREATE INDEX IF NOT EXISTS
targets_sid_idx ON targets (sid);\nCREATE INDEX IF NOT EXISTS targets_lang_idx
ON targets (lang);\nCREATE INDEX IF NOT EXISTS targets_time_idx ON targets
(time);\nCREATE UNIQUE INDEX IF NOT EXISTS targets_uniq_idx ON targets (sid,
text, lang);\n'
How to reproduce
-----
1.just errered on its own
2.
3.
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.