I installed the 0.10 pluging and now it works. 
Thank you very much.

Alberto Giordano



"Noah Kantrowitz" <[EMAIL PROTECTED]> 
Inviato da: [email protected]
14/07/2008 19.09
Per favore, rispondere a
[email protected]


Per
<[email protected]>
CC

Oggetto
[Trac] Re: XML-RPC error






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/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.







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
-~----------~----~----~----~------~----~------~--~---

Reply via email to