December 6, 2007

Tomboyが動かない

現象はこんな感じ。

** (Tomboy:20454): WARNING **: The following assembly referenced from /usr/lib/t
omboy/Tomboy.exe could not be loaded:
Assembly: Mono.Addins (assemblyref_index=7)
Version: 0.2.0.0
Public Key: 0738eb9f132ed756
The assembly was not found in the Global Assembly Cache, a path listed in the MO
NO_PATH environment variable, or in the location of the executing assembly (/usr
/lib/tomboy).


** (Tomboy:20454): WARNING **: Could not load file or assembly 'Mono.Addins, Ver
sion=0.2.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its de
pendencies.

** (Tomboy:20454): WARNING **: Missing method .ctor in assembly /usr/lib/tomboy/Tomboy.exe, type Mono.Addins.AddinEventHandler

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Addins, Version=0.2.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies.
File name: 'Mono.Addins, Version=0.2.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
at <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]

この問題、policy-install scriptがcli-common-devに入ってたことが原因らしく、cli-common-0.5.1で修正されている。ただし、cli-commonをupdateしただけではだめで、libmono-addins-gui0.2-cilとlibmono-addins0.2-cilを再インストールするか、手でpolicy-install scriptを実行しないといけない。

No comments: