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/xmlrpc")
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.
What's wrong ?
TIA
Alberto Giordano
Informativa sul trattamento dei dati personali (D. Lgs. 196/2003). I dati
utilizzati per la spedizione del presente messaggio sono utilizzati da Gefran
S.p.A., titolare del trattamento, per l'invio delle comunicazioni dei diversi
settori aziendali, non essendo autorizzata la divulgazione a terzi. Potrete
rivolgere alla seguente mail richieste di verifica, rettifica o cancellazione
dei Vostri dati: [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---