
Incollector ist eine Art digitaler Zettelkasten und sammelt Notizen, Gesprächsnotizen, Zitate, Quelltext-Schnipsel sowie Seriennummern.
Die Einträge lassen sich verschlagworten, bewerten und mit Kommentaren versehen. Um Ordnung in das Textchaos zu bringen, lassen sich die Notizen über Verzeichnisse organsisieren. Um ein Verzeichnis zu erstellen, vergibt man einfach einen Namen und definiert Bedingungen, nach denen die Notizen in das Verzeichnis aufgenommen werden sollen, etwa:
“Einträge anzeigen, deren Wertung höher als zwei Sterne liegt, und für die das Schlagwort ‘Linux’ hinterlegt wurde”.
Wirklich gut gemacht, und von mir viel genutzt.
Leider startet die aktuelle Version 1.2 unter Ubuntu Jaunty (9.04) nach der Installation nicht und stürzt mit folgender Fehlermeldung ab:
** (incollector:18588): WARNING **: Missing method .ctor in assembly /usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll, type System.Runtime.CompilerServices.RuntimeCompatibilityAttribute
** (incollector:18588): WARNING **: The class System.Runtime.CompilerServices.RuntimeCompatibilityAttribute could not be loaded, used in gtk-sharp
** (incollector:18588): WARNING **: Can’t find custom attr constructor image: /usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll mtoken: 0x0a000119
Unhandled Exception: System.TypeLoadException: Could not load type ‘System.Runtime.CompilerServices.RuntimeCompatibilityAttribute’ from assembly ‘gtk-sharp’.
at (wrapper managed-to-native) System.MonoCustomAttrs:GetCustomAttributesInternal (System.Reflection.ICustomAttributeProvider,System.Type,bool)
at System.MonoCustomAttrs.GetCustomAttributesBase (ICustomAttributeProvider obj, System.Type attributeType) [0x00000]
at System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider obj, System.Type attributeType, Boolean inherit) [0x00000]
at System.MonoCustomAttrs.RetrieveAttributeUsage (System.Type attributeType) [0x00000]
at System.MonoCustomAttrs.IsDefined (ICustomAttributeProvider obj, System.Type attributeType, Boolean inherit) [0x00000]
at System.Reflection.MonoMethod.IsDefined (System.Type attributeType, Boolean inherit) [0x00000]
at GLib.Object.InvokeClassInitializers (GType gtype, System.Type t) [0x00000]
at GLib.Object.RegisterGType (System.Type t) [0x00000]
at GLib.Object.LookupGType (System.Type t) [0x00000]
at GLib.Object.LookupGType () [0x00000]
at GLib.Object.CreateNativeObject (System.String[] names, GLib.Value[] vals) [0x00000]
at Gtk.Object.CreateNativeObject (System.String[] names, GLib.Value[] vals) [0x00000]
at Gtk.Widget.CreateNativeObject (System.String[] names, GLib.Value[] vals) [0x00000]
at Gtk.ScrolledWindow..ctor (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment) [0x00000]
at Gtk.ScrolledWindow..ctor () [0x00000]
at Incollector.GUI.Widgets.EntryPreview..ctor () [0x00000]
at Incollector.GUI.MainWindow..ctor () [0x00000]
at Incollector.Engine.Globals.Init (System.String[] args) [0x00000]
at Incollector.MainClass.Main (System.String[] args) [0x00000]
Abhilfe schafft die Anpassung des Programm-Aufrufes in der /usr/bin/incollector auf:
exec /usr/bin/mono --runtime=v2.0.50727 /usr/lib/incollector/incollector.exe $MONO_EXTRA_ARGS "$@"
(Danke an Marcin K. Krzywonos – seineszeichens Entwickler von Incollector – für seine schnelle Problemlösung).
Der Programmaufruf funktioniert genau genommen mit
exec /usr/bin/mono –runtime=v2.0.50727 /usr/lib/incollector/incollector.exe $MONO_EXTRA_ARGS “$@”
Also “Doppeltes Minuszeichen”. Danke für den Tip. Ich benutze Linux Mint Debian.
Danke für den Hinweis – das Problem ist ein “WordPress-Feature”, dass zwei Minuszeichen in einen langen Gedankenstrich umwandelt.
Ich habe den Aufruf jetzt als Code-Teil formatiert – hier besteht das Darstellungsproblem nicht.