This implies you are using a 0.11 plugin on 0.10.

 

--Noah

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Monday, July 14, 2008 8:01 AM
To: [email protected]
Subject: [Trac] XML-RPC error

 


Hi all,
I got an error while trying to connect to my trac environment using xml-rpc.
I installed, from trac-hacks, the XML-RPC plugin in my trac project. I used
the following example in the track-hacks page, and I had no problems:

import xmlrpclib

server =
xmlrpclib.ServerProxy("http://athomas:[EMAIL PROTECTED]/trac-dev/login/xmlr
pc")
for method in server.system.listMethods():
 print method
 print '\n'.join(['  ' + x for x in
server.system.methodHelp(method).split('\n')])
 print
 print

Then I tried to connect directly to the server using the my browser (Mozilla
2.0.0.15) with the following url:

http://srvsvn/trac/mytracenv/login/xmlrpc

but I got the following error:


Python Traceback
Traceback (most recent call last):
 File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 406, in
dispatch_request
   dispatcher.dispatch(req)
 File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 240, in
dispatch
   *resp)
TypeError: _post_process_request() takes at most 4 arguments (5 given)

I can confirm that the user I login has the TRAC_ADMIN permission.

The TRAC version is 0.10.4, I have no other plugins installed.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to