Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.019 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:Python': 0.06; 'subject:Error': 0.07; 'exception.': 0.09; 'imported': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'cheers': 0.12; 'exception:': 0.16; 'subject:under': 0.16; 'subject:versions': 0.16; 'language': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'help.': 0.21; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '>': 0.26; 'somewhere': 0.26; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'run': 0.32; 'but': 0.35; 'received:google.com': 0.35; 'error.': 0.37; 'so,': 0.37; 'server': 0.38; 'skip:& 10': 0.38; 'fact': 0.38; 'name': 0.63; 'such': 0.63; 'to:addr:gmail.com': 0.65; 'receive': 0.70; '2.7.': 0.84; 'irrelevant': 0.84; 'subject:Client': 0.84; 'usage.': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8VoUjsXldtQaWCBzyawZaKYmtjbfDijVIFZH4wKxykI=; b=tKwkS2qrVVOpH27CxlrazEOPiLUTnS+u0v5fPHJPgAQwZTSFdp92N9BmJwUx7QCzTi afsWFX9K9AVngFUcgL7QGEMWjMIRYoYeRIX+0FsEnM6Yxt4ZBF5oZ9ZjBymlYvBh9k8s L96lLWp0iSZPiR0EcZyuUFX38SjKcmRi28Sug9PUMT1iGqUP6D0aHwlEMGVCrHFpjJx+ ms7XaGYu/f5ENxs2O9SGSZfQSws2pWM7qD/tKLcybsFcN9YzvfreC67v5Ik4QpT80mr3 Ebb8VMCc4VcXhRNA88fYyErtolMJBnsPmRwC2vJ217HHPoi8ajO7blV8LZfl5DNujTOV vMhQ== MIME-Version: 1.0 X-Received: by 10.229.18.13 with SMTP id u13mr2529387qca.138.1371716168052; Thu, 20 Jun 2013 01:16:08 -0700 (PDT) In-Reply-To: <48bc4deb-d646-48a6-8f9a-d5f304668b32@googlegroups.com> References: <48bc4deb-d646-48a6-8f9a-d5f304668b32@googlegroups.com> Date: Thu, 20 Jun 2013 09:16:07 +0100 Subject: Re: Error running xmlrpc Client and server under different Python versions From: =?ISO-8859-1?Q?F=E1bio_Santos?= To: stanislav.borisover@gmail.com Content-Type: multipart/alternative; boundary=0015176f0b98ee08c304df918e7e Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 42 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371716176 news.xs4all.nl 16011 [2001:888:2000:d::a6]:33198 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48781 --0015176f0b98ee08c304df918e7e Content-Type: text/plain; charset=ISO-8859-1 On 20 Jun 2013 08:46, wrote: > > Hello. > > I need to run xmlrpc Server under Python 3.3 and Client under Python 2.7. But when I try to do so, I receive the following exception: > > ":global name 'xmlrpclib' is not defined" Somewhere in your code you are trying to use the name 'xmlrpclib' but it was not imported or otherwise assigned to. Search through your code to find the usage. > What is the reason for such an exception. As far as I understand xmlrpc is language independent. Please help. The fact that it is language independent is irrelevant since this is a code error. Cheers --0015176f0b98ee08c304df918e7e Content-Type: text/html; charset=ISO-8859-1


On 20 Jun 2013 08:46, <stanislav.borisover@gmail.com> wrote:
>
> Hello.
>
> I need to run xmlrpc Server under Python 3.3 and Client under Python 2.7. But when I try to do so, I receive the following exception:
>
> "<class 'NameError'>:global name 'xmlrpclib' is not defined"

Somewhere in your code you are trying to use the name 'xmlrpclib' but it was not imported or otherwise assigned to. Search through your code to find the usage.

> What is the reason for such an exception. As far as I understand xmlrpc is language independent. Please help.

The fact that it is language independent is irrelevant since this is a code error.

Cheers

--0015176f0b98ee08c304df918e7e--