[tomboy-list] Add-in Help

Sandy Armstrong sanfordarmstrong at gmail.com
Mon Jul 27 14:24:56 PDT 2009


Awesome, glad it's working now.  Let us know if you need any more help.  :-)

Sandy

On Mon, Jul 27, 2009 at 2:13 PM, S Krupa Shankar<shankarkrupa at yahoo.com> wrote:
> This is Great!!!
>
> Thanks Sandy, it is now working. I thought the yellow icon on the panel was
> just an application shortcut. It really quits after I removed it from the
> panel (instead of just File->Close).
>
> The test plugin I created is also working now.
>
> Thank you very much!!!
>
> Krupa
>
> --- On Tue, 7/28/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 28, 2009, 2:01 AM
>
> [DEBUG]: Tomboy is already running.  Exiting...
>
> This means that you did not quit Tomboy first.  Make sure it is
> removed from your panel, totally quit, etc etc.  Use
> gnome-system-monitor or top or ps or whatever you favorite tool is to
> make sure Tomboy is not running.  :-)
>
> Then try again!
>
> Best,
> Sandy
>
> On Mon, Jul 27, 2009 at 1:22 PM, S Krupa Shankar<shankarkrupa at yahoo.com>
> wrote:
>> Sandy,
>>
>> Thank you very much for your such a great effort.
>>
>> I tried to follow the instructions you have given. However, I still face
>> the
>> same problem. The addin does not appear to show up in the Add-Ins tab.
>>
>> The output from the terminal is as follows. As it shows, the
>> Tomboy.Blogposter does not show up in the log:
>>
>> mint at mint ~ $ cp ~/Desktop/Blogposter.dll ~/.tomboy/addins
>> mint at mint ~ $ tomboy --debug
>> ** Running Mono with --debug    **
>> [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.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...
>> mint at mint ~ $
>>
>>
>> I am learning and trying to set up the development environment (git) to
>> debug Tomboy in my system. I will check and try to find something.
>>
>> Please let me know if there is something I am missing or any other way I
>> can
>> resolve this/identify what is happening.
>>
>> Thank you very much for your help and taking the time to resolve my
>> problem.
>> I feel very grateful to you.
>>
>> Krupa
>>
>> --- On Sat, 7/25/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: Saturday, July 25, 2009, 2:58 PM
>>
>> Running from a Live CD shouldn't cause any issues.
>>
>> I just tested this myself, and here are the exact steps you should follow:
>>
>> 1. Quit Tomboy
>> 2. cp ~/Downloads/Blogposter.dll ~/.tomboy/addins/   (for example)
>> 3. tomboy --debug   (from a terminal)
>> 4. Right-click Tomboy in your panel, go to Preferences->Add-Ins
>> 5. Find the "Post notes to your blgog" entry under "Tools", select and
>> click Enable
>> 6. Verify that in your terminal, the following output appeared:
>>
>> [DEBUG]: AddinManager.OnAddinLoaded: Tomboy.Blogposter
>> [DEBUG]:            Name: Post note to your blog
>> [DEBUG]:     Description: Posts individual notes as blog posts to your
>> blog.
>> [DEBUG]:       Namespace: Tomboy
>> [DEBUG]:         Enabled: True
>>
>> At this point, you should be able to use the add-in.
>>
>> Assuming this all works, then we can proceed with reviewing your
>> add-in.  It would be helpful if you would upload it somewhere, or
>> attach the *.cs and *.xml files to your response email so I can try
>> them, too.  :-)
>>
>> Best,
>> Sandy
>>
>> On Wed, Jul 22, 2009 at 11:43 AM, S Krupa Shankar<shankarkrupa at yahoo.com>
>> wrote:
>>> Sandy,
>>>
>>> I am sure I copied the DLL inside the .tomboy/addins subfolder under my
>>> home
>>> directory. I tried this in both the current version and the previoius
>>> version of my operating system (Linux Mint, Ubuntu variant).
>>>
>>> I today tried the blog poster addin and find the same result. Probably
>>> this
>>> is a setup issue, but I do not know where to start with.
>>>
>>> Perhaps the LIVE CD prevents any addin to be detected and loaded by the
>>> application?
>>>
>>> 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, 2:57 AM
>>>
>>> Previously, you pasted some output showing that Tomboy was aware of
>>> your add-in (the DEBUG lines that referenced your DLL).  Now, those
>>> lines are not showing up in your output.  So something else has
>>> changed.
>>>
>>> Are you quite sure that your add-in DLL is in ~/.tomboy/addins/ when
>>> you start Tomboy?
>>>
>>> Sandy
>>>
>>> On Mon, Jul 20, 2009 at 1:17 PM, S Krupa Shankar<shankarkrupa at yahoo.com>
>>> wrote:
>>>> 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
>>>>
>>>>
>>>> _______________________________________________
>>>> Tomboy-list mailing list
>>>> Tomboy-list at lists.beatniksoftware.com
>>>>
>>>>
>>>>
>>>> http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com
>>>>
>>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> Tomboy-list mailing list
>> Tomboy-list at lists.beatniksoftware.com
>>
>> http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com
>>
>>
>
>


More information about the Tomboy-list mailing list