Ok the error is : xmlrpclib.ProtocolError: <ProtocolError for localhost:8080/RPC2: 302 found>
I saw something like this as a decorator: @export(xml_rpc) May be I should use it ??? On 29 sep, 16:36, "Jorge Vargas" <[EMAIL PROTECTED]> wrote: > On Mon, Sep 29, 2008 at 7:25 AM, Slim <[EMAIL PROTECTED]> wrote: > > > Hello All, > > I tried this > > :http://www.dalkescientific.com/writings/diary/archive/2006/10/24/xmlr... > > and a simple example > > > import xmlrpclib > > > server = xmlrpclib.ServerProxy("http://localhost:8080") > > print server > > res = server.add(2002, 8) > > print res > > > and get a : ProtocolError > > will you give the detailed error? > > > I'm newbie can someone explain ? > > Given that the original article is from 2006 maybe something has > changed in TG that renders the code invalid. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

