On Thursday, May 23, 2019 at 12:01:10 PM UTC-7, pcottrill wrote: > > Hi All, > > I recently installed the Trac Test Manager plugin and now we are getting > the following error: > > Error importing optional Trac XML-RPC Plugin. No XML-RPC remote interface > will be available. > If you require XML-RPC access to the Test Manager, download and install it > from *http://trac-hacks.org/wiki/XmlRpcPlugin* > <http://trac-hacks.org/wiki/XmlRpcPlugin>. > > I get this error when I run trac-admin commands and when pushing to Git > repositories. > > Do I really need to add this plugin to our project? > If not, can I suppress this error message? > > Here is the link for the plugin I installed: > *https://trac-hacks.org/wiki/TestManagerForTracPlugin* > <https://trac-hacks.org/wiki/TestManagerForTracPlugin> > > > Thanks, > -- Patty >
At the end of testman4trac/testmanager/rpcsupport.py, is: 449 except ImportError: 450 print "\n\nError importing optional Trac XML-RPC Plugin. No XML-RPC remote interface will be available." 451 print "If you require XML-RPC access to the Test Manager, download and install it from http://trac-hacks.org/wiki/XmlRpcPlugin.\n\n" You could remove those lines, or change to raising ImportError with the message you wish to log, and reinstall the plugin. I think you could even just remove the entire try/catch and let the ImportError be trapped by the plugin loader, which skips loading of rpcsupport.py. - Ryan - Ryan -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/bc447c6c-240c-429e-b829-4d2f56a07746%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
