[ python-Bugs-1416544 ] Problem with SOAPpy on 64-bit systems

SourceForge.net noreply at sourceforge.net
Sat Jan 28 13:20:22 CET 2006


Bugs item #1416544, was opened at 2006-01-27 16:38
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1416544&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
>Group: 3rd Party
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Gustavo J. A. M. Carneiro (gustavo)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem with SOAPpy on 64-bit systems

Initial Comment:
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 :)


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2006-01-28 13:20

Message:
Logged In: YES 
user_id=21627

Notice that SOAPpy is not part of the Python core
distribution. Please report this to the SOAPpy authors.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1416544&group_id=5470


More information about the Python-bugs-list mailing list