Error running xmlrpc Client and server under different Python versions

  • Thread starter stanislav.borisover
  • Start date
S

stanislav.borisover

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
 
M

Mark Lawrence

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
 
F

Fábio Santos

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top