|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Add-in Help
_______________________________________________ Tomboy-list mailing list Tomboy-list@... http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com |
|
|
|
Re: Add-in HelpOn Mon, Jul 20, 2009 at 11:42 AM, S Krupa Shankar<shankarkrupa@...> 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@... http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com |
|
|
|
|
| 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@...> 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@...> 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@mint ~ $ cp ~/Desktop/Blogposter.dll ~/.tomboy/addins mint@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@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@...> wrote:
|
| Free embeddable forum powered by Nabble | Forum Help |