This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Problem with SOAPpy on 64-bit systems
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: gustavo, loewis
Priority: normal Keywords:

Created on 2006-01-27 15:38 by gustavo, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg27369 - (view) Author: Gustavo J. A. M. Carneiro (gustavo) * Date: 2006-01-27 15:38
Python 2.4.2 (#2, Sep 30 2005, 22:19:27)
[GCC 4.0.2 20050808 (prerelease) (Ubuntu
4.0.1-4ubuntu8)] on linux2

I get a traceback in SOAPpy:


  File
"/usr/lib/python2.4/site-packages/SOAPpy/Parser.py",
line 852, in convertToBasicTypes
    if fpconst.isNaN(d):
  File
"/usr/lib/python2.4/site-packages/SOAPpy/fpconst.py",
line 90, in isNaN
    return (_exponent(value)==0x7ff and
_mantissa(value)!=0)
  File
"/usr/lib/python2.4/site-packages/SOAPpy/fpconst.py",
line 72, in _exponent
    ll = _double_as_longs(dval)
  File
"/usr/lib/python2.4/site-packages/SOAPpy/fpconst.py",
line 51, in _double_as_longs
    tmp = struct.unpack('ll',struct.pack('d', dval))
error: unpack str size does not match format

I'm on a AMD64 system.  Thus 'l', which long, is
64-bits wide, that's why this fails.

Changing 'll' to 'ii' seems to fix the problem, but I'm
not expert on SOAP :)
msg27370 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-01-28 12:20
Logged In: YES 
user_id=21627

Notice that SOAPpy is not part of the Python core
distribution. Please report this to the SOAPpy authors.
History
Date User Action Args
2022-04-11 14:56:15adminsetgithub: 42843
2006-01-27 15:38:33gustavocreate