[tomboy-list] Add-in Help
S Krupa Shankar
shankarkrupa at yahoo.com
Mon Jul 20 13:17:03 PDT 2009
Sandy,
Thanks for the reply.
I could refer tomboy.exe from the folder you have pointed out.
I modified the version as "0.10" in the addin.xml file and compiled from the terminal window. I received no error messages.
I deleted the existing files in the /usr/lib/tomboy/addins folder and from /home/mint/.tomboy/addins folder and copied the newly compiled files over there to /home/mint/.tomboy/addins folder (~/.tomboy/addins). The result is same, it still does not comes up in the Addins list.
I tried to check if any new addin works. I tried to load Yuval's Redirect.dll addin by copying it to the same directory. Even this does not come up in the addin list. This could perhaps be something related to my system/application setting since none of the addins seems to work?
I am using Linux Mint 7.0 LIVE distribution.
The full output as tomboy starts is as follows:
my[DEBUG]: NoteManager created with note path "/home/mint/.tomboy".
[INFO]: Initializing Mono.Addins
[DEBUG]: AddinManager.OnAddinLoaded: Tomboy.Tomboy
[DEBUG]: Name: Tomboy.Tomboy,0.10
[DEBUG]: Description:
[DEBUG]: Namespace: Tomboy
[DEBUG]: Enabled: True
[DEBUG]: File: /usr/lib/tomboy/Tomboy.exe
[DEBUG]: AddinManager.OnAddinLoaded: Tomboy.EvolutionAddin
[DEBUG]: Name: Evolution Mail Integration
[DEBUG]: Description: Allows you to drag an email from Evolution into a tomboy note. The message subject is added as a link in the note.
[DEBUG]: Namespace: Tomboy
[DEBUG]: Enabled: True
[DEBUG]: File: /usr/lib/tomboy/addins/Evolution.dll
[DEBUG]: AddinManager.OnAddinLoaded: Tomboy.PrintNotesAddin
[DEBUG]: Name: Printing Support
[DEBUG]: Description: Allows you to print a note.
[DEBUG]: Namespace: Tomboy
[DEBUG]: Enabled: True
[DEBUG]: File: /usr/lib/tomboy/addins/PrintNotes.dll
[DEBUG]: AddinManager.OnAddinLoaded: Tomboy.BacklinksAddin
[DEBUG]: Name: Backlinks
[DEBUG]: Description: See which notes link to the one you're currently viewing.
[DEBUG]: Namespace: Tomboy
[DEBUG]: Enabled: True
[DEBUG]: File: /usr/lib/tomboy/addins/Backlinks.dll
[DEBUG]: AddinManager.OnAddinLoaded: Tomboy.FixedWidthAddin
[DEBUG]: Name: Fixed Width
[DEBUG]: Description: Adds fixed-width font style.
[DEBUG]: Namespace: Tomboy
[DEBUG]: Enabled: True
[DEBUG]: File: /usr/lib/tomboy/addins/FixedWidth.dll
[DEBUG]: AddinManager.OnAddinLoaded: Tomboy.ExportToHtmlAddin
[DEBUG]: Name: Export to HTML
[DEBUG]: Description: Exports individual notes to HTML.
[DEBUG]: Namespace: Tomboy
[DEBUG]: Enabled: True
[DEBUG]: File: /usr/lib/tomboy/addins/ExportToHtml.dll
[DEBUG]: AddinManager.OnAddinLoaded: Tomboy.InsertTimestampAddin
[DEBUG]: Name: Insert Timestamp
[DEBUG]: Description: Inserts current date and time at the cursor position.
[DEBUG]: Namespace: Tomboy
[DEBUG]: Enabled: True
[DEBUG]: File: /usr/lib/tomboy/addins/InsertTimestamp.dll
[DEBUG]: AddinManager.OnAddinLoaded: Tomboy.StickyNoteImportAddin
[DEBUG]: Name: Sticky Notes Importer
[DEBUG]: Description: Import your notes from the Sticky Notes applet.
[DEBUG]: Namespace: Tomboy
[DEBUG]: Enabled: True
[DEBUG]: File: /usr/lib/tomboy/addins/StickyNoteImport.dll
[DEBUG]: StickyNoteImporter: Sticky Notes XML file does not exist or is invalid!
[DEBUG]: AddinManager.OnAddinLoaded: Tomboy.WebDavSyncServiceAddin
[DEBUG]: Name: WebDav Sync Service Add-in
[DEBUG]: Description: Synchronize Tomboy Notes to a WebDav URL
[DEBUG]: Namespace: Tomboy
[DEBUG]: Enabled: True
[DEBUG]: File: /usr/lib/tomboy/addins/WebDavSyncService.dll
[DEBUG]: AddinManager.OnAddinLoaded: Tomboy.FileSystemSyncServiceAddin
[DEBUG]: Name: Local Directory Sync Service Add-in
[DEBUG]: Description: Synchronize Tomboy Notes to a local file system path
[DEBUG]: Namespace: Tomboy
[DEBUG]: Enabled: True
[DEBUG]: File: /usr/lib/tomboy/addins/FileSystemSyncService.dll
[DEBUG]: Unable to locate 'gnomesu' in your PATH
[DEBUG]: Using '/usr/bin/gksu' as GUI 'su' tool
[DEBUG]: Successfully found all system tools
[DEBUG]: Unable to locate 'wdfs' in your PATH
[DEBUG]: Tomboy is already running. Exiting...
Krupa
--- On Tue, 7/21/09, Sandy Armstrong <sanfordarmstrong at gmail.com> wrote:
From: Sandy Armstrong <sanfordarmstrong at gmail.com>
Subject: Re: [tomboy-list] Add-in Help
To: "S Krupa Shankar" <shankarkrupa at yahoo.com>
Cc: tomboy-list at lists.beatniksoftware.com
Date: Tuesday, July 21, 2009, 12:24 AM
On Mon, Jul 20, 2009 at 11:42 AM, S Krupa Shankar<shankarkrupa at yahoo.com> wrote:
> Hi,
>
> I am a new Tomboy user and a relatively new user to Mono, but am a .NET
> developer.
Great, welcome to Tomboy!
> I have been trying to create a new Tomboy add-in to get started. I tried to
> follow http://live.gnome.org/Tomboy/HowToCreateAddins with some minimal
> changes.
>
> I created a InsertMyName instead of InsertDateTime. I tried to use
> MonoDevelop, but I do not know what file should I add as reference to refer
> the Tomboy namespace which contains the NoteAddin class.
That would be /usr/lib/tomboy/Tomboy.exe on most installs.
> So I went ahead and compiled the file along with the resource relevant file
> changes. I tried version version="0.7" as well version="0.14". I tried to
> copy it to .tomboy/Addins directory, then tried to copy it to
> /usr/lib/tomboy/addins directory. I tried to copy it here since I found
> other plugin DLLs are residing in this directory.
The correct place for you to copy it is ~/.tomboy/addins .
> Now when I open Tomboy and go to Edit->Preferences->Add-ins->Tools, I could
> not find the Insert My Name amongst other addin names.
>
> The command prompt log is as follows:
>
> [DEBUG]: AddinManager.OnAddinLoaded: Tomboy.MyNameAddIn
> [DEBUG]: Name: Insert My Name
> [DEBUG]: Description: Inserts your name at the cursor position.
> [DEBUG]: Namespace: Tomboy
> [DEBUG]: Enabled: True
> [DEBUG]: File: /usr/lib/tomboy/addins/InsertMyName.dll
>
> Does the above output mean there is no problem in loading the addin?
Normally. It would be helpful to see the complete output Tomboy gives
when it starts up.
> Please help me to compile the addin. I do not know what step I missed,
> please correct me.
It looks like you compiled it correctly.
> InsertMyName.addin.xml content
> <Addin id="MyNameAddIn"
> namespace="Tomboy"
> name="Insert My Name"
> author="Krupa"
> description="Inserts your name at the cursor position."
> category="Tools"
> defaultEnabled="true"
> version="0.1">
>
> <Runtime>
> <Import assembly="InsertMyName.dll" />
> </Runtime>
>
> <Dependencies>
> <Addin id="Tomboy" version="0.14" />
> </Dependencies>
You should use 0.10, not 0.14. This might be your issue.
Remove your DLL from /usr/lib/tomboy/addins and ~/.tomboy/addins, fix
the addin.xml file to reference 0.10 instead of 0.14, recompile your
add-in, place it in ~/.tomboy/addins, and if you continue having
problems, paste the *complete* output Tomboy gives when you start it
with `tomboy --debug`.
Hope this helps,
Sandy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.beatniksoftware.com/pipermail/tomboy-list-beatniksoftware.com/attachments/20090720/c5c58249/attachment-0001.htm>
More information about the Tomboy-list
mailing list