Question about Trac XML_RPC plugin

25 views
Skip to first unread message

Patty Cottrill

unread,
May 23, 2019, 3:01:10 PM5/23/19
to trac-...@googlegroups.com
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.
 
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:
 
 
Thanks,
-- Patty
 
 
 

RjOllos

unread,
Jun 4, 2019, 10:03:43 PM6/4/19
to Trac Users
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
Reply all
Reply to author
Forward
0 new messages