Tomboy Unhandled Exception: System.InvalidOperationException: Could not read add-in description

Bug #361607 reported by Christopher
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
tomboy (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: tomboy

After upgrade Tomboy fails to start with the following errors:

Unhandled Exception: System.InvalidOperationException: Could not read add-in description
  at Mono.Addins.Addin.get_Description () [0x00000]
  at Mono.Addins.AddinSessionService.CheckHostAssembly (System.Reflection.Assembly asm) [0x00000]
  at Mono.Addins.AddinSessionService.ActivateRoots () [0x00000]
  at Mono.Addins.AddinSessionService.Initialize () [0x00000]
  at Mono.Addins.AddinManager.Initialize (System.String configDir) [0x00000]
  at Tomboy.AddinManager.InitializeMonoAddins () [0x00000]
  at Tomboy.AddinManager..ctor (System.String tomboy_conf_dir) [0x00000]
  at Tomboy.NoteManager.CreateAddinManager () [0x00000]
  at Tomboy.NoteManager..ctor (System.String directory, System.String backup_directory) [0x00000]
  at Tomboy.NoteManager..ctor (System.String directory) [0x00000]
  at Tomboy.Tomboy.Main (System.String[] args) [0x00000]

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: tomboy 0.14.0-0ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: tomboy
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
Christopher (christopher-warp5) wrote :
Revision history for this message
Christopher (christopher-warp5) wrote :

After removal of the two addin-db-000 and addin-db-001 folders in .tomboy Tomboy starts as normal again, I'm unsure if this is a bug or if my files was corrupted in some way, worked nicely before update though.

Revision history for this message
Henry78 (henry78) wrote :

This worked for me too. You may have to reconfigure some plugins after removal of the addin-db-folders.

Is it a bug? I run (and sync) tomboy on three systems, only one was affected, so I'm not sure...

Revision history for this message
Runar Ingebrigtsen (ringe) wrote :

I received this exact same error after the latest updates to my 8.10 installation on Asus Eee900. The updates installed according to the dpkg.log has nothing to do with tomboy or mono, however. "rm -rf ~/.tomboy/addin-db00*" fixed this issue, and another one. I've had an issue with tomboy closing when pushing the cross of the window decoration. Now it's back to the default, which is minimize to tray.

Revision history for this message
zzz (zizzlack) wrote :

Same here too.

rm -rf ~/.tomboy/addin-db-001/ fixed it.

Revision history for this message
Ken Arnold (kenneth-arnold) wrote :

I've tracked it down: the file ~/.tomboy/addin-db-001/addin-data/1/Tomboy.Tomboy,0.10.maddin went missing. If I copy in a fresh one (from moving addin-data out of the way and running tomboy), the original addin db works.

I've attached a tgz of my addin-db directory with the failure.

Revision history for this message
Ken Arnold (kenneth-arnold) wrote :

Also, if you hit this bug, try saving the attached .maddin file in your ~/.tomboy/addin/db-*/addin-data/1 directory and report if that fixes it. It may not, if our systems are different.

Revision history for this message
Iain Lane (laney) wrote :

Could somebody having this problem please report it to bugzilla.gnome.org? Thanks a lot.

Revision history for this message
Neil Huang (neilhuang) wrote :

The problem shows up again after an upgrade from 9.04 to 9.10. Deleting the addin folders doesn't help. I removed ALL notes (mv'ed them from ~/.tomboy), and the same error still show up.

This is the log:

neilhuang@neilhuang-mini:~$ tomboy
[INFO]: Initializing Mono.Addins

Unhandled Exception: System.InvalidOperationException: Could not read add-in description
  at Mono.Addins.Addin.get_Description () [0x00000]
  at Mono.Addins.AddinSessionService.CheckHostAssembly (System.Reflection.Assembly asm) [0x00000]
  at Mono.Addins.AddinSessionService.ActivateRoots () [0x00000]
  at Mono.Addins.AddinSessionService.Initialize () [0x00000]
  at Mono.Addins.AddinManager.Initialize (System.String configDir) [0x00000]
  at Tomboy.AddinManager.InitializeMonoAddins (System.String old_conf_dir) [0x00000]
  at Tomboy.AddinManager..ctor (System.String tomboy_conf_dir, System.String old_tomboy_conf_dir) [0x00000]
  at Tomboy.NoteManager..ctor (System.String directory, System.String backup_directory) [0x00000]
  at Tomboy.NoteManager..ctor (System.String directory) [0x00000]
  at Tomboy.Tomboy.Main (System.String[] args) [0x00000]

neilhuang@neilhuang-mini:~$ tomboy --version
Tomboy: A simple, easy to use desktop note-taking application.
Copyright (C) 2004-2006 Alex Graveley <email address hidden>

Version 1.0.0
neilhuang@neilhuang-mini:~$ cd .tomboy
neilhuang@neilhuang-mini:~/.tomboy$ ls -la
total 20
drwxr-xr-x 2 neilhuang neilhuang 16384 2009-11-01 20:46 .
drwxr-xr-x 14 neilhuang neilhuang 4096 2009-11-01 20:35 ..

Revision history for this message
Pedro Villavicencio (pedro) wrote :
Revision history for this message
DannyArmstrong (detarmstrong) wrote :

On 9.10 (karmic koala) the corrupted folder is at ~/.config/tomboy/addin-db-001. After removing it I was able to use tomboy again as my normal user.
Starting tomboy as sudo always worked.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.