467,074 Members | 1,039 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,074 developers. It's quick & easy.

SOAPpy SyntaxError

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
Nov 20 '08 #1
  • viewed: 4074
Share:
1 Reply
ne*****@gmail.com wrote:
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.

Nov 21 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Vivek | last post: by
reply views Thread by Harry George | last post: by
reply views Thread by elsarfhem | last post: by
reply views Thread by Sameer Deshpande | last post: by
reply views Thread by benboals@gmail.com | last post: by
reply views Thread by linuxprog | last post: by
reply views Thread by pion | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.