From: Frederik D. <ma...@fr...> - 2005-10-17 11:53:24
|
On Mon, October 17, 2005 1:39 am, Celso Pinto said: > Hi all, > > of what I make of it, python is working :-) > > Please try the attached scripts. You'll just have to drop them at > ~/.columba/scripts and they should be picked up (eventually). That's is really great! Can't wait to give it a try. Is beanshell working, too? What about Groovy (it is already installed)? > > Frederick, when running the show_warning.py script, an exception is > thrown (bt below) and looking at the code in MailMain.init(), I see: > > ServiceRegistry.getInstance().register( > org.columba.mail.facade.IFolderFacade.class, > "org.columba.mail.facade.FolderFactory"); > > but FolderFactory exists under the org.columba.mail.folder package and > this seems to be triggering the error below. What can be done to fix it? > Please, correct this by changing the package string at registration. It seems that this is not used at all currently, anyway. BTW, there's a conceptional error in the service-registry. Ideally, this should be used by components to register services. For example addressbook component registers a service, which can be used by the mail component. But, currently this is used for many core services, too. Cheers, -Frederik |