SOAPpy SyntaxError

N

neridaj

Hello,

I'm going through the SOAP Web Services portion of Mark Pilgrim's
tutorial and I'm getting this error when trying to build:

python setup.py build
Traceback (most recent call last):
File "setup.py", line 8, in <module>
from SOAPpy.version import __version__
File "/Users/username/Desktop/SOAPpy-0.12.0/SOAPpy/__init__.py",
line 5, in <module>
from Client import *
File "/Users/username/Desktop/SOAPpy-0.12.0/SOAPpy/Client.py", line
46
from __future__ import nested_scopes
SyntaxError: from __future__ imports must occur at the beginning of
the file

I tried moving that line and it didn't help.

Thanks,

Jason
 
J

Jon-Pierre Gentil

I'm going through the SOAP Web Services portion of Mark Pilgrim's
tutorial and I'm getting this error when trying to build:

File "/Users/username/Desktop/SOAPpy-0.12.0/SOAPpy/Client.py", line
46
from __future__ import nested_scopes
SyntaxError: from __future__ imports must occur at the beginning of
the file

I tried moving that line and it didn't help.

I was able to successfully move that line to the very top of the file in
each of the files it errored in. There are quite a number of them and
it must be done in all files that contain that line.

I really wish that SOAPpy wasn't so dead. There are a few other bugs
that I found as well revolving around namespace errors but I never had
time to debug them properly to contribute a patch.
 

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,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top