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


Groups > comp.lang.python > #48778 > unrolled thread

Error running xmlrpc Client and server under different Python versions

Started bystanislav.borisover@gmail.com
First post2013-06-20 00:36 -0700
Last post2013-06-20 09:16 +0100
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  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

#48778 — Error running xmlrpc Client and server under different Python versions

Fromstanislav.borisover@gmail.com
Date2013-06-20 00:36 -0700
SubjectError running xmlrpc Client and server under different Python versions
Message-ID<48bc4deb-d646-48a6-8f9a-d5f304668b32@googlegroups.com>
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"

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

Regards,
Slava

[toc] | [next] | [standalone]


#48780

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-06-20 09:08 +0100
Message-ID<mailman.3616.1371715691.3114.python-list@python.org>
In reply to#48778
On 20/06/2013 08:36, 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"
>
> What is the reason for such an exception. As far as I understand xmlrpc is language independent. Please help.
>
> Regards,
> Slava
>

See http://www.python.org/dev/peps/pep-3108/#xmlrpc-package

-- 
"Steve is going for the pink ball - and for those of you who are 
watching in black and white, the pink is next to the green." Snooker 
commentator 'Whispering' Ted Lowe.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#48781

FromFábio Santos <fabiosantosart@gmail.com>
Date2013-06-20 09:16 +0100
Message-ID<mailman.3617.1371716176.3114.python-list@python.org>
In reply to#48778

[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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web