Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #48781

Re: Error running xmlrpc Client and server under different Python versions

References <48bc4deb-d646-48a6-8f9a-d5f304668b32@googlegroups.com>
Date 2013-06-20 09:16 +0100
Subject Re: Error running xmlrpc Client and server under different Python versions
From Fábio Santos <fabiosantosart@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3617.1371716176.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Error running xmlrpc Client and server under different Python versions stanislav.borisover@gmail.com - 2013-06-20 00:36 -0700
  Re: Error running xmlrpc Client and server under different Python versions Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-20 09:08 +0100
  Re: Error running xmlrpc Client and server under different Python versions Fábio Santos <fabiosantosart@gmail.com> - 2013-06-20 09:16 +0100

csiph-web