Griffith - media collection manager
May 22, 2012, 03:56:18 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Please check ask.griffith.cc and wiki.griffith.cc before asking questions.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: [SOLVED] Error reading database file  (Read 1728 times)
bogus
Newbie
*
Offline Offline

Posts: 8


View Profile
« on: January 22, 2006, 02:35:20 PM »

I migrated from a Suse 9.3 to Ubuntu, then I just copied the .griffith directory to my new system, and now I got:

griffith -d
Using Griffith directory: /home/cami/.griffith
Psyco module detected and being used.
running on posix
Error reading database file


Sad
« Last Edit: September 18, 2006, 03:24:59 PM by POX » Logged
POX
Administrator
Hero Member
*****
Offline Offline

Posts: 512



View Profile WWW
« Reply #1 on: January 22, 2006, 04:14:02 PM »

Did you set permissions correctly? Maybe file owner is wrong?
What version of sqlite do you have now and what was Suse's?
Can you access your database in "raw" mode
(sqlite ~/.griffith/griffith.gri)?
Logged

Please, feel free to correct my English.
bogus
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #2 on: January 24, 2006, 12:01:29 AM »

Did you set permissions correctly? Maybe file owner is wrong?
What version of sqlite do you have now and what was Suse's?
Can you access your database in "raw" mode
(sqlite ~/.griffith/griffith.gri)?

It was a version problem. The older db was created using sqlite3, and in my new system I got sqlite2. But griffith is using the version 2, and I don't know how to make it use version 3.

Then, I just installed sqlite3 and converted the database back to sqlite2:

sqlite3 griffith.2 .dump | sqlite teste.db

Now it's working fine ;-)



Thanks!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!