---------- Forwarded message ---------- From: Antonia Horincar <[email protected]> Date: Wed, Jul 31, 2013 at 3:33 PM Subject: [GSoC - Embeddable Objects] INavigationContributor error To: [email protected]
Hi devs, I encountered a problem when using INavigationContributor. I am trying to use it in order to add an 'Embed' button to objects. For now, it would simply point to a page that shows the information retrieved about that specific object. However, after adding INavigationContributor to the class EmbeddingSystem, I get a warning: Error with navigation contributor "EmbeddingSystem". This happens even if I don't add the methods belonging to INavigationContributor, and I just add the interface to the ones implemented in EmbeddingSystem. How can I find out why do I get this error? Thanks, Antonia You'll may see that error if you add the interface to the class [e.g. implements(INavigationContributor)], but don't add the interface methods. Could it be something straightforward, such as you methods not having the correct signature or return type? For the quick testing I did, I was able to reproduce that error by changing the method name, signature or return type of the method: `def get_navigation_items(self, req):` http://www.edgewall.org/docs/branches-1.0-stable/html/api/trac_web_chrome.html
