Advisory: beagle-0.3.0 crashes at start
- From: Debajyoti Bera <dbera web gmail com>
- To: Beagle <dashboard-hackers gnome org>
- Subject: Advisory: beagle-0.3.0 crashes at start
- Date: Mon, 3 Dec 2007 23:10:18 -0500
Problem: For beagle-0.3.0, beagled crashes when started. The stacktraces look
like (once for each backend):
Error: Caught exception while instantiating Files backend
System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. ---> Mono.Data.Sqlite.SqliteException: Sqlite error
no such table: textcache_data
at Mono.Data.Sqlite.Sqlite3.Prepare (System.String strSql,
Mono.Data.Sqlite.SqliteStatement previous, System.String& strRemain)
[0x00000]
at Mono.Data.Sqlite.SqliteCommand.BuildNextCommand () [0x00000] --- End of
inner exception stack trace ---
Fix: Delete ~/.beagle directory. Also, r4251 fixes the problem.
Explanation: The format of all data stored in ~/.beagle changed from 0.2.x to
0.3.0. It was ensured that all the different kinds of old data were purged or
upgraded to the new format. Unfortunately, this check was missed for the
TextCache.db textcache data. As a result, users who were using beagle-0.2.x
with sqlite3 will see beagled crashing when trying to start the backends.
This will not happen for users running sqlite2 earlier, since their database
will be automatically deleted. Since almost all of beagle-0.2.x data is
incompatible with beagle-0.3.0, all of them are anyway deleted when beagled
is started; except config files, which are modified according to the new
format. If there are no config files in ~/.beagle/config, deleting ~/.beagle
will not cause any additional loss of data.
- dBera
--
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]