Bug 692152 - [abrt] griffith-0.10-2.fc14: sql.py:130:__init__:Exception: database version mismatch
Summary: [abrt] griffith-0.10-2.fc14: sql.py:130:__init__:Exception: database version ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: griffith
Version: 14
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Narasimhan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6f202caa
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-30 15:04 UTC by mirko z.
Modified: 2011-04-02 09:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-02 09:13:36 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (966 bytes, text/plain)
2011-03-30 15:04 UTC, mirko z.
no flags Details

Description mirko z. 2011-03-30 15:04:37 UTC
abrt version: 1.1.17
architecture: i686
cmdline: python /usr/share/griffith/lib/griffith
component: griffith
executable: /usr/share/griffith/lib/griffith
kernel: 2.6.35.11-83.fc14.i686
package: griffith-0.10-2.fc14
reason: sql.py:130:__init__:Exception: database version mismatch
release: Fedora release 14 (Laughlin)
time: 1301497349
uid: 500

backtrace
-----
sql.py:130:__init__:Exception: database version mismatch

Traceback (most recent call last):
  File "/usr/share/griffith/lib/griffith", line 1035, in restore
    restore(self)
  File "/usr/share/griffith/lib/backup.py", line 250, in restore
    tmp_db = sql.GriffithSQL(tmp_config, tmp_dir, fallback=False)
  File "/usr/share/griffith/lib/sql.py", line 130, in __init__
    raise Exception("database version mismatch")
Exception: database version mismatch

Local variables in innermost frame:
engine: Engine(sqlite:////tmp/tmpNRXMkp/griffith.db)
griffith_dir: '/tmp/tmpNRXMkp'
url: 'sqlite:////tmp/tmpNRXMkp/griffith.db'
self: <sql.GriffithSQL object at 0x98732cc>
convert_unicode: False
conn_params: {'name': 'griffith', 'passwd': 'gRiFiTh', 'host': 'localhost', 'user': 'griffith', 'file': 'griffith.db', 'type': 'sqlite', 'port': 5432}
v: 6
fallback: False
config: <config.Config object at 0x987068c>
conn: <sqlalchemy.engine.base.Connection object at 0x92333cc>

How to reproduce
-----
1. Griffith aus den Paketquellen installiert
2. Wiederherstellungsdatei/Sicherung versucht in Griffith zu importieren
3. Griffith Absturz

Comment 1 mirko z. 2011-03-30 15:04:40 UTC
Created attachment 488788 [details]
File: backtrace

Comment 2 Narasimhan 2011-03-31 01:01:13 UTC
Hello,
Was this previous database  created with the griffith version in F13?
If possible, can you forward the db via email? I can try to reproduce the issue locally and file a bug upstream.

Comment 3 mirko z. 2011-03-31 09:28:53 UTC
(In reply to comment #2)
> Hello,
> Was this previous database  created with the griffith version in F13?
> If possible, can you forward the db via email? I can try to reproduce the issue
> locally and file a bug upstream.

Hey,

the database was created with griffith 0.12, but I only had installed version 0.10, so he couldn´t load it. (stupid mistake :))

The problem was, that he didn´t show me the version conflict and just crashed, so I didn´t realise it for the first. 

Installed the version 0.12 from the official site now and everything works fine.
Thx for your support.

Comment 4 Narasimhan 2011-03-31 14:22:54 UTC
Hello,

Ok. Thanks for the quick reply.

v 0.12 is in the repo. It is in updates-testing now. 

https://admin.fedoraproject.org/updates/griffith-0.12.1-2.fc14?_csrf_token=31981c3ba5d3c00c683ce4a9a9dd38695ad3165e

It would be good if you can try it out and provide  feedback.

Comment 5 Narasimhan 2011-04-02 09:13:36 UTC
Should be fixed in v0.12


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