#5 errors during install

open
nobody
5
2004-01-06
2004-01-06
Anonymous
No

when I wrote "python setup.py install" I receive following
errors:

/usr/local/lib/python2.1/site-
packages/SOAPpy/Types.py:1241:
SyntaxWarning: local name 'self' in '_aslist' shadows use
of 'self' as
global in nested scope 'lambda'
def _aslist(self, item=None):
/usr/local/lib/python2.1/site-
packages/SOAPpy/Types.py:1247:
SyntaxWarning: local name 'self' in '_asdict' shadows use
of 'self' as
global in nested scope 'fun'
def _asdict(self, item=None,
encoding=Config.dict_encoding):
/usr/local/lib/python2.1/site-
packages/SOAPpy/Types.py:1247:
SyntaxWarning: local name 'retval' in '_asdict' shadows
use of 'retval'
as global in nested scope 'fun'
def _asdict(self, item=None,
encoding=Config.dict_encoding):
/usr/local/lib/python2.1/site-
packages/SOAPpy/Types.py:1247:
SyntaxWarning: local name 'encoding' in '_asdict'
shadows use of
'encoding' as global in nested scope 'fun'
def _asdict(self, item=None,
encoding=Config.dict_encoding):
/usr/local/lib/python2.1/site-
packages/SOAPpy/Types.py:1397:
SyntaxWarning: local name 'retval' in '_asdict' shadows
use of 'retval'
as global in nested scope 'fun'
def _asdict(self, item=None,
encoding=Config.dict_encoding):
/usr/local/lib/python2.1/site-
packages/SOAPpy/Types.py:1397:
SyntaxWarning: local name 'self' in '_asdict' shadows use
of 'self' as
global in nested scope 'fun'
def _asdict(self, item=None,
encoding=Config.dict_encoding):
/usr/local/lib/python2.1/site-
packages/SOAPpy/Types.py:1397:
SyntaxWarning: local name 'encoding' in '_asdict'
shadows use of
'encoding' as global in nested scope 'fun'
def _asdict(self, item=None,
encoding=Config.dict_encoding):

When I run test program then, I receive following:

link.softax.local> python echoServer.py
*** Internal exception global name 'self' is not defined
***************
Traceback (most recent call last):
File "SOAPpy/Server.py", line 215, in do_POST
File "SOAPpy/Types.py", line 1245, in _aslist
File "SOAPpy/Types.py", line 1245, in <lambda>
NameError: global name 'self' is not defined
******************************************
******************************
localhost - - [06/Jan/2004 10:30:48] "POST / HTTP/1.0"
500 -

Discussion