[Zeitgeist] [Branch ~zeitgeist/zeitgeist/bluebird] Rev 369: Merge Seif's FTS changes removing database writes.

2012-01-25 Thread noreply
Merge authors:
  Seif Lotfy (seif)
Related merge proposals:
  https://code.launchpad.net/~zeitgeist/zeitgeist/fix-fts-block/+merge/88660
  proposed by: Seif Lotfy (seif)
  review: Approve - Siegfried Gevatter (rainct)
  review: Approve - Michal Hruby (mhr3)

revno: 369 [merge]
committer: Siegfried-Angel Gevatter Pujals siegfr...@gevatter.com
branch nick: zeitgeist
timestamp: Wed 2012-01-25 11:23:09 +0100
message:
  Merge Seif's FTS changes removing database writes.
modified:
  extensions/fts-python/sql.py


--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to 
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'extensions/fts-python/sql.py'
--- extensions/fts-python/sql.py	2011-10-17 07:46:27 +
+++ extensions/fts-python/sql.py	2012-01-20 14:01:36 +
@@ -99,398 +99,28 @@
 		log.debug (Schema '%s' not found: %s % (schema_name, e))
 		return 0
 
-def _set_schema_version (cursor, schema_name, version):
-	
-	Sets the version of `schema_name` to `version`
-	
-	cursor.execute(
-		CREATE TABLE IF NOT EXISTS schema_version
-			(schema VARCHAR PRIMARY KEY ON CONFLICT REPLACE, version INT)
-	)
-	
-	# The 'ON CONFLICT REPLACE' on the PK converts INSERT to UPDATE
-	# when appriopriate
-	cursor.execute(
-		INSERT INTO schema_version VALUES (?, ?)
-	, (schema_name, version))
-	cursor.connection.commit()
-
-def _do_schema_upgrade (cursor, schema_name, old_version, new_version):
-	
-	Try and upgrade schema `schema_name` from version `old_version` to
-	`new_version`. This is done by executing a series of upgrade modules
-	named '_zeitgeist.engine.upgrades.$schema_name_$(i)_$(i+1)' and executing 
-	the run(cursor) method of those modules until new_version is reached
-	
-	_do_schema_backup()
-	_set_schema_version(cursor, schema_name, -1)
-	for i in xrange(old_version, new_version):
-		# Fire off the right upgrade module
-		log.info(Upgrading database '%s' from version %s to %s. 
-			This may take a while % (schema_name, i, i+1))
-		upgrader_name = %s_%s_%s % (schema_name, i, i+1)
-		module = __import__ (_zeitgeist.engine.upgrades.%s % upgrader_name)
-		eval(module.engine.upgrades.%s.run(cursor) % upgrader_name)
-		
-	# Update the schema version
-	_set_schema_version(cursor, schema_name, new_version)
-
-	log.info(Upgrade succesful)
-
-def _check_core_schema_upgrade (cursor):
-	
-	Checks whether the schema is good or, if it is outdated, triggers any
-	necessary upgrade scripts. This method will also attempt to restore a
-	database backup in case a previous upgrade was cancelled midway.
-	
-	It returns a boolean indicating whether the schema was good and the
-	database cursor (which will have changed if the database was restored).
-	
-	# See if we have the right schema version, and try an upgrade if needed
-	core_schema_version = _get_schema_version(cursor, constants.CORE_SCHEMA)
-	if core_schema_version = constants.CORE_SCHEMA_VERSION:
-		return True, cursor
-	else:
-		try:
-			if core_schema_version = -1:
-cursor.connection.commit()
-cursor.connection.close()
-_do_schema_restore()
-cursor = _connect_to_db(constants.DATABASE_FILE)
-core_schema_version = _get_schema_version(cursor,
-	constants.CORE_SCHEMA)
-log.exception(Database corrupted at upgrade -- 
-	upgrading from version %s % core_schema_version)
-
-			_do_schema_upgrade (cursor,
-constants.CORE_SCHEMA,
-core_schema_version,
-constants.CORE_SCHEMA_VERSION)
-
-			# Don't return here. The upgrade process might depend on the
-			# tables, indexes, and views being set up (to avoid code dup)
-			log.info(Running post upgrade setup)
-			return False, cursor
-		except sqlite3.OperationalError:
-			# Something went wrong while applying the upgrade -- this is
-			# probably due to a non existing table (this occurs when 
-			# applying core_3_4, for example). We just need to fall through
-			# the rest of create_db to fix this...
-			log.exception(Database corrupted -- proceeding)
-			return False, cursor
-		except Exception, e:
-			log.exception(
-Failed to upgrade database '%s' from version %s to %s: %s % \
-(constants.CORE_SCHEMA, core_schema_version,
-constants.CORE_SCHEMA_VERSION, e))
-			raise SystemExit(27)
-
-def _do_schema_backup ():
-	shutil.copyfile(constants.DATABASE_FILE, constants.DATABASE_FILE_BACKUP)
-
-def _do_schema_restore ():
-	shutil.move(constants.DATABASE_FILE_BACKUP, constants.DATABASE_FILE)
-
 def _connect_to_db(file_path):
 	conn = sqlite3.connect(file_path)
 	conn.row_factory = sqlite3.Row
 	cursor = conn.cursor(UnicodeCursor)
 	return cursor
 
-def create_db(file_path):
-	Create the database and return a default cursor for it
-	start = time.time()
-	log.info(Using database: %s % file_path)
-	new_database = not os.path.exists(file_path)
-	cursor = 

[Zeitgeist] [Bug 848710] Re: zeitgeist-daemon crashed with OperationalError in execute(): database is locked

2012-01-25 Thread Siegfried Gevatter
** Changed in: zeitgeist
   Status: Confirmed = Fix Committed

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/848710

Title:
  zeitgeist-daemon crashed with OperationalError in execute(): database
  is locked

Status in Zeitgeist Framework:
  Fix Committed
Status in “zeitgeist” package in Ubuntu:
  Triaged

Bug description:
  .

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: zeitgeist-core 0.8.1.1-1
  ProcVersionSignature: Ubuntu 3.0.0-11.17-generic 3.0.4
  Uname: Linux 3.0.0-11-generic i686
  ApportVersion: 1.22.1-0ubuntu2
  Architecture: i386
  Date: Tue Sep 13 08:26:28 2011
  ExecutablePath: /usr/bin/zeitgeist-daemon
  InstallationMedia: Ubuntu 11.04 Natty Narwhal - Release i386 (20110427.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/zeitgeist-daemon
  ProcCwd: /
  PythonArgs: ['/usr/bin/zeitgeist-daemon']
  SourcePackage: zeitgeist
  Title: zeitgeist-daemon crashed with OperationalError in execute(): database 
is locked
  UpgradeStatus: Upgraded to oneiric on 2011-09-01 (11 days ago)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/848710/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 921531] [NEW] Migrate database to new version updating ontology

2012-01-25 Thread Siegfried Gevatter
Public bug reported:

Websites and stuff.

** Affects: zeitgeist
 Importance: Low
 Assignee: Siegfried Gevatter (rainct)
 Status: Triaged

** Changed in: zeitgeist
Milestone: None = 0.9.0

** Changed in: zeitgeist
 Assignee: (unassigned) = Siegfried Gevatter (rainct)

** Changed in: zeitgeist
   Importance: Undecided = Low

** Changed in: zeitgeist
   Status: New = Won't Fix

** Changed in: zeitgeist
   Status: Won't Fix = Triaged

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/921531

Title:
  Migrate database to new version updating ontology

Status in Zeitgeist Framework:
  Triaged

Bug description:
  Websites and stuff.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/921531/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Branch ~zeitgeist/zeitgeist/bluebird] 1 revision removed

2012-01-25 Thread noreply
1 revision was removed from the branch.

--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to 
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Branch ~zeitgeist/zeitgeist/bluebird] Rev 370: Restrict database read permissions to the user

2012-01-25 Thread noreply

revno: 370
fixes bug: https://launchpad.net/bugs/910273
committer: Siegfried-Angel Gevatter Pujals siegfr...@gevatter.com
branch nick: bluebird-chmod
timestamp: Wed 2012-01-25 13:28:24 +0100
message:
  Restrict database read permissions to the user
modified:
  NEWS
  src/sql-schema.vala


--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to 
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'NEWS'
--- NEWS	2011-12-29 14:39:51 +
+++ NEWS	2012-01-25 12:28:24 +
@@ -8,6 +8,7 @@
 
  - The language for extensions has changes from Python to Vala.
  - The post_get_events hook is no longer supported.
+ - The database file is now only readable by the user.
 
 Python API:
  - ...
@@ -108,6 +109,8 @@
  - Do not print a traceback when Zeitgeist fails to start because another
instance is already running, just show a plain error message (LP: #744818).
  - Simplified log output format when printing to stderr.
+ - Introduce new DB schema (version 4), adding storage, current_uri and event
+   origin.
 
 Python API:
 

=== modified file 'src/sql-schema.vala'
--- src/sql-schema.vala	2011-12-31 19:15:54 +
+++ src/sql-schema.vala	2012-01-25 12:28:24 +
@@ -94,6 +94,9 @@
 public static void create_schema (Sqlite.Database database)
 throws EngineError
 {
+if (!Utils.using_in_memory_database ())
+FileUtils.chmod (Utils.get_database_file_path (), 0600);
+
 exec_query (database, PRAGMA journal_mode = WAL);
 exec_query (database, PRAGMA locking_mode = EXCLUSIVE);
 

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 910273] Re: Restrict database read permissions to the user

2012-01-25 Thread Siegfried Gevatter
** Changed in: zeitgeist
   Status: Triaged = Fix Committed

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/910273

Title:
  Restrict database read permissions to the user

Status in Zeitgeist Framework:
  Fix Committed

Bug description:
  It'd probably make sense to chmod the database file to 0600.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/910273/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 910273] Re: Restrict database read permissions to the user

2012-01-25 Thread Launchpad Bug Tracker
** Branch linked: lp:zeitgeist

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/910273

Title:
  Restrict database read permissions to the user

Status in Zeitgeist Framework:
  Fix Committed

Bug description:
  It'd probably make sense to chmod the database file to 0600.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/910273/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Branch ~zeitgeist/zeitgeist/bluebird] Rev 371: Recognize inode/directory as NFO.FOLDER

2012-01-25 Thread noreply

revno: 371
committer: Siegfried-Angel Gevatter Pujals siegfr...@gevatter.com
branch nick: bluebird-chmod
timestamp: Wed 2012-01-25 13:52:46 +0100
message:
  Recognize inode/directory as NFO.FOLDER
modified:
  src/mimetype.vala


--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to 
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'src/mimetype.vala'
--- src/mimetype.vala	2011-12-29 12:16:52 +
+++ src/mimetype.vala	2012-01-25 12:52:46 +
@@ -261,6 +261,7 @@
 register_mimetype (image/svg+xml, NFO.VECTOR_IMAGE);
 register_mimetype (image/tiff, NFO.RASTER_IMAGE);
 register_mimetype (image/x-xcf, NFO.RASTER_IMAGE);
+register_mimetype (inode/directory, NFO.FOLDER);
 register_mimetype (text/css, NFO.SOURCE_CODE);
 register_mimetype (text/html, NFO.HTML_DOCUMENT);
 register_mimetype (text/plain, NFO.TEXT_DOCUMENT);

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/dbfails into lp:zeitgeist

2012-01-25 Thread Michal Hruby
Review: Approve

282 +throw err;
289 +throw err;
293 +throw err;

Seems like it could be moved out of the ifs.

Other than that it's fine.
-- 
https://code.launchpad.net/~zeitgeist/zeitgeist/dbfails/+merge/87195
Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Branch ~zeitgeist/zeitgeist/bluebird] Rev 372: Automatically recover from corrupt database and be more clear

2012-01-25 Thread noreply
Merge authors:
  Siegfried Gevatter (rainct)

revno: 372 [merge]
committer: Siegfried-Angel Gevatter Pujals siegfr...@gevatter.com
branch nick: zeitgeist
timestamp: Wed 2012-01-25 14:24:34 +0100
message:
  Automatically recover from corrupt database and be more clear
  on some other errors.
modified:
  doc/zeitgeist-daemon.1
  src/errors.vala
  src/sql-schema.vala
  src/sql.vala
  src/utils.vala
  src/zeitgeist-daemon.vala


--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to 
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'doc/zeitgeist-daemon.1'
--- doc/zeitgeist-daemon.1	2012-01-02 19:31:15 +
+++ doc/zeitgeist-daemon.1	2012-01-25 13:24:34 +
@@ -87,6 +87,12 @@
 .TP
 .B 10
 There is already a running Zeitgeist instance.
+.TP
+.B 21
+Could not access the database file.
+.TP
+.B 22
+The database file is locked.
 
 .SH SEE ALSO
 \fBzeitgeist-datahub\fR, \fBgnome-activity-journal\fR

=== modified file 'src/errors.vala'
--- src/errors.vala	2011-10-20 13:32:51 +
+++ src/errors.vala	2012-01-25 10:36:27 +
@@ -23,10 +23,15 @@
 [DBus (name = org.gnome.zeitgeist.EngineError)]
 public errordomain EngineError
 {
+BACKUP_FAILED,
+DATABASE_BUSY,
+DATABASE_CANTOPEN,
+DATABASE_CORRUPT,
 DATABASE_ERROR,
+DATABASE_RETIRE_FAILED,
 INVALID_ARGUMENT,
 INVALID_KEY,
-BACKUP_FAILED,
+EXISTING_INSTANCE,
 }
 
 // vala doesn't include proper headers, this fixes it

=== modified file 'src/sql-schema.vala'
--- src/sql-schema.vala	2012-01-25 12:28:24 +
+++ src/sql-schema.vala	2012-01-25 13:24:34 +
@@ -417,8 +417,8 @@
 }
 
 /**
- * Execute the given SQL. If the query doesn't succeed, log a
- * critical warning (potentially aborting the program).
+ * Execute the given SQL. If the query doesn't succeed, throw
+ * an error.
  *
  * @param database the database on which to run the query
  * @param sql the SQL query to run
@@ -429,10 +429,17 @@
 int rc = database.exec (sql);
 if (rc != Sqlite.OK)
 {
-const string fmt_str = Can't create database: %d, %s\n\n +
-Unable to execute SQL:\n%s;
-var err_msg = fmt_str.printf (rc, database.errmsg (), sql);
-throw new EngineError.DATABASE_ERROR (err_msg);
+if (rc == Sqlite.CORRUPT)
+{
+throw new EngineError.DATABASE_CORRUPT (database.errmsg ());
+}
+else
+{
+const string fmt_str = Can't create database: %d, %s\n\n +
+Unable to execute SQL:\n%s;
+var err_msg = fmt_str.printf (rc, database.errmsg (), sql);
+throw new EngineError.DATABASE_ERROR (err_msg);
+}
 }
 }
 

=== modified file 'src/sql.vala'
--- src/sql.vala	2012-01-02 19:30:51 +
+++ src/sql.vala	2012-01-25 13:24:34 +
@@ -67,13 +67,7 @@
 
 public ZeitgeistDatabase () throws EngineError
 {
-message (Opening DB from %s, Utils.get_database_file_path ());
-int rc = Sqlite.Database.open_v2 (
-Utils.get_database_file_path (),
-out database);
-assert_query_success (rc, Can't open database);
-
-DatabaseSchema.ensure_schema (database);
+open_database (true);
 
 prepare_queries ();
 
@@ -82,6 +76,74 @@
 database.update_hook (update_callback);
 }
 
+private void open_database (bool retry)
+throws EngineError
+{
+int rc = Sqlite.Database.open_v2 (
+Utils.get_database_file_path (),
+out database);
+
+if (rc == Sqlite.OK)
+{
+try
+{
+// Error (like a malformed database) may not be exposed
+// until we try to operate on the database.
+DatabaseSchema.ensure_schema (database);
+}
+catch (EngineError err)
+{
+if (err is EngineError.DATABASE_CORRUPT  retry)
+rc = Sqlite.CORRUPT;
+else if (err is EngineError.DATABASE_CANTOPEN)
+rc = Sqlite.CANTOPEN;
+else if (err is EngineError.DATABASE_BUSY)
+rc = Sqlite.BUSY;
+else
+throw err;
+}
+}
+
+if (rc != Sqlite.OK)
+{
+if (rc == 

[Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/dbfails into lp:zeitgeist

2012-01-25 Thread Siegfried Gevatter
The proposal to merge lp:~zeitgeist/zeitgeist/dbfails into lp:zeitgeist has 
been updated.

Status: Needs review = Merged

For more details, see:
https://code.launchpad.net/~zeitgeist/zeitgeist/dbfails/+merge/87195
-- 
https://code.launchpad.net/~zeitgeist/zeitgeist/dbfails/+merge/87195
Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 899096] Re: Cannot block a folder with a space in the name!

2012-01-25 Thread मनीष सिन्हा
** Also affects: zeitgeist
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Activity
Log Manager, which is the registrant for Activity Log Manager.
https://bugs.launchpad.net/bugs/899096

Title:
  Cannot block a folder with a space in the name!

Status in Activity Log Manager for Zeitgeist:
  New
Status in Zeitgeist Framework:
  New

Bug description:
  In Activity Log Manager, go to the Files tab, bottom section, select a
  path that has a space in it somewhere and add it to the list. Open a
  file in that folder.

  The file shouldn't appear on the recent files list, but it does! It
  only works if you rename the folders without a space, e.g. Two_Words
  instead of Two Words.

To manage notifications about this bug go to:
https://bugs.launchpad.net/activity-log-manager/+bug/899096/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/bluebird-sig-crash into lp:zeitgeist

2012-01-25 Thread Siegfried Gevatter
The proposal to merge lp:~zeitgeist/zeitgeist/bluebird-sig-crash into 
lp:zeitgeist has been updated.

Status: Needs review = Rejected

For more details, see:
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird-sig-crash/+merge/74091
-- 
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird-sig-crash/+merge/74091
Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


Re: [Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/bluebird-sig-crash2 into lp:zeitgeist

2012-01-25 Thread Michal Hruby
Review: Approve

Looks great!
-- 
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird-sig-crash2/+merge/90166
Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 903667] Re: Datasource registry crashes Zeitgeist if template is invalid

2012-01-25 Thread Seif Lotfy
** Changed in: zeitgeist
 Assignee: (unassigned) = Siegfried Gevatter (rainct)

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/903667

Title:
  Datasource registry crashes Zeitgeist if template is invalid

Status in Zeitgeist Framework:
  Fix Committed

Bug description:
  If the template of a datasource registry extension is not corrent the
  datasource registry crashes when executing Event.from_variant. We
  should catch those and print out an error message while deleting the
  entry. This bug will also affect the blacklist extension.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/903667/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 903667] Re: Datasource registry crashes Zeitgeist if template is invalid

2012-01-25 Thread Siegfried Gevatter
** Changed in: zeitgeist
   Status: Confirmed = Fix Committed

** Branch linked: lp:~zeitgeist/zeitgeist/bluebird-sig-crash2

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/903667

Title:
  Datasource registry crashes Zeitgeist if template is invalid

Status in Zeitgeist Framework:
  Fix Committed

Bug description:
  If the template of a datasource registry extension is not corrent the
  datasource registry crashes when executing Event.from_variant. We
  should catch those and print out an error message while deleting the
  entry. This bug will also affect the blacklist extension.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/903667/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 760111] Re: zeitgeist-daemon crashed with OSError in makedirs(): [Errno 13] Permission denied: '/home/ubuntu/.local/share/zeitgeist'

2012-01-25 Thread Siegfried Gevatter
** Branch linked: lp:~zeitgeist/zeitgeist/dbfails

** Changed in: zeitgeist
   Status: Triaged = Fix Committed

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/760111

Title:
  zeitgeist-daemon crashed with OSError in makedirs(): [Errno 13]
  Permission denied: '/home/ubuntu/.local/share/zeitgeist'

Status in Zeitgeist Framework:
  Fix Committed
Status in “zeitgeist” package in Ubuntu:
  Invalid
Status in “zeitgeist” source package in Natty:
  Won't Fix
Status in “zeitgeist” source package in Oneiric:
  Triaged
Status in “zeitgeist” source package in Precise:
  Invalid

Bug description:
  Binary package hint: zeitgeist

  This error is shown when attempting to perform the screen-reader
  installation using the Natty Narwhal Beta 2 candidate, ubuntu-
  desktop-i386.iso, dated 2011-04-13.

  1. start the computer with the cd in the drive
  2. hit any key to bring up the cd menu, right after the bios check
  3. hit enter on language
  4. hit F5
  5. down arrow three times
  6. enter two times
  7. When the live desktop starts, orca will start
  8. wait for the error to appear

  ProblemType: Crash
  DistroRelease: Ubuntu 11.04
  Package: zeitgeist-core 0.7.1-1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  Architecture: i386
  Date: Wed Apr 13 18:42:35 2011
  ExecutablePath: /usr/bin/zeitgeist-daemon
  InterpreterPath: /usr/bin/python2.7
  LiveMediaBuild: Ubuntu 11.04 Natty Narwhal - Beta i386 (20110413)
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/zeitgeist-daemon
  ProcEnviron:
   SHELL=/bin/bash
   LANGUAGE=en_US:en
   LANG=en_US.UTF-8
  PythonArgs: ['/usr/bin/zeitgeist-daemon']
  SourcePackage: zeitgeist
  Title: zeitgeist-daemon crashed with OSError in makedirs(): [Errno 13] 
Permission denied: '/home/ubuntu/.local/share/zeitgeist'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/760111/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 848710] Re: zeitgeist-daemon crashed with OperationalError in execute(): database is locked

2012-01-25 Thread Seif Lotfy
** Changed in: zeitgeist
Milestone: None = 0.9.0

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/848710

Title:
  zeitgeist-daemon crashed with OperationalError in execute(): database
  is locked

Status in Zeitgeist Framework:
  Fix Committed
Status in “zeitgeist” package in Ubuntu:
  Triaged

Bug description:
  .

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: zeitgeist-core 0.8.1.1-1
  ProcVersionSignature: Ubuntu 3.0.0-11.17-generic 3.0.4
  Uname: Linux 3.0.0-11-generic i686
  ApportVersion: 1.22.1-0ubuntu2
  Architecture: i386
  Date: Tue Sep 13 08:26:28 2011
  ExecutablePath: /usr/bin/zeitgeist-daemon
  InstallationMedia: Ubuntu 11.04 Natty Narwhal - Release i386 (20110427.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/zeitgeist-daemon
  ProcCwd: /
  PythonArgs: ['/usr/bin/zeitgeist-daemon']
  SourcePackage: zeitgeist
  Title: zeitgeist-daemon crashed with OperationalError in execute(): database 
is locked
  UpgradeStatus: Upgraded to oneiric on 2011-09-01 (11 days ago)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/848710/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 921840] [NEW] Clean up Python FTS suport files

2012-01-25 Thread Siegfried Gevatter
Public bug reported:

Don't ship another copy of datamodel.py but use the one from the Python
module (python/datamodel.py vs extensions/fts-python/datamodel.py).

Also, go through the remaining files (constants.py and sql.py) and
remove all unused stuff or otherwise clean it up.

** Affects: zeitgeist
 Importance: Medium
 Status: Confirmed

** Changed in: zeitgeist
   Importance: Undecided = Medium

** Changed in: zeitgeist
   Status: New = Confirmed

** Changed in: zeitgeist
Milestone: None = 0.9.0

** Summary changed:

- Clean up Python FTS
+ Clean up Python FTS suport files

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/921840

Title:
  Clean up Python FTS suport files

Status in Zeitgeist Framework:
  Confirmed

Bug description:
  Don't ship another copy of datamodel.py but use the one from the
  Python module (python/datamodel.py vs extensions/fts-
  python/datamodel.py).

  Also, go through the remaining files (constants.py and sql.py) and
  remove all unused stuff or otherwise clean it up.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/921840/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp