You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Gordon Sim <gs...@redhat.com> on 2009/03/13 11:11:05 UTC

datatypes example failing on make check

jonathan@apache.org wrote:
> Author: jonathan
> Date: Thu Mar 12 18:59:07 2009
> New Revision: 752972
> 
> URL: http://svn.apache.org/viewvc?rev=752972&view=rev
> Log:
> Tests Unicode and handling of all datatypes in application
> headers. Things commented out don't work yet.

This new example is failing under make check (on fc5, rhel4 and rhel5):

== 
/home/gordon/work/0-10/cpp/examples/../../python/examples/datatypes/verify
Traceback (most recent call last):
   File "./client.py", line 101, in ?
     session.message_transfer(destination="amq.direct", message=request)
   File "/home/gordon/work/0-10/python/qpid/generator.py", line 25, in 
<lambda>
     method = lambda self, *args, **kwargs: self.invoke(inst, args, kwargs)
   File "/home/gordon/work/0-10/python/qpid/session.py", line 143, in invoke
     return self.do_invoke(type, args, kwargs)
   File "/home/gordon/work/0-10/python/qpid/session.py", line 186, in 
do_invoke
     sc.write_struct32(st)
   File "/home/gordon/work/0-10/python/qpid/codec010.py", line 255, in 
write_struct32
     value._type.encode_fields(sc, value)
   File "/home/gordon/work/0-10/python/qpid/spec010.py", line 256, in 
encode_fields
     f.type.encode(codec, values[f.name])
   File "/home/gordon/work/0-10/python/qpid/spec010.py", line 147, in encode
     getattr(codec, "write_%s" % self.name)(value)
   File "/home/gordon/work/0-10/python/qpid/codec010.py", line 185, in 
write_map
     type.encode(sc, v)
   File "/home/gordon/work/0-10/python/qpid/spec010.py", line 147, in encode
     getattr(codec, "write_%s" % self.name)(value)
   File "/home/gordon/work/0-10/python/qpid/codec010.py", line 88, in 
write_float
     self.pack("!f", f)
   File "/home/gordon/work/0-10/python/qpid/packer.py", line 36, in pack
     self.write(struct.pack(fmt, *args))
SystemError: frexp() result out of range
diff: verify.in: No such file or directory
FAIL

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Re: datatypes example failing on make check

Posted by Jonathan Robie <jo...@redhat.com>.
My bad ... I'll fix.

Jonathan

Gordon Sim wrote:
> jonathan@apache.org wrote:
>> Author: jonathan
>> Date: Thu Mar 12 18:59:07 2009
>> New Revision: 752972
>>
>> URL: http://svn.apache.org/viewvc?rev=752972&view=rev
>> Log:
>> Tests Unicode and handling of all datatypes in application
>> headers. Things commented out don't work yet.
>
> This new example is failing under make check (on fc5, rhel4 and rhel5):
>
> == 
> /home/gordon/work/0-10/cpp/examples/../../python/examples/datatypes/verify 
>
> Traceback (most recent call last):
>   File "./client.py", line 101, in ?
>     session.message_transfer(destination="amq.direct", message=request)
>   File "/home/gordon/work/0-10/python/qpid/generator.py", line 25, in 
> <lambda>
>     method = lambda self, *args, **kwargs: self.invoke(inst, args, 
> kwargs)
>   File "/home/gordon/work/0-10/python/qpid/session.py", line 143, in 
> invoke
>     return self.do_invoke(type, args, kwargs)
>   File "/home/gordon/work/0-10/python/qpid/session.py", line 186, in 
> do_invoke
>     sc.write_struct32(st)
>   File "/home/gordon/work/0-10/python/qpid/codec010.py", line 255, in 
> write_struct32
>     value._type.encode_fields(sc, value)
>   File "/home/gordon/work/0-10/python/qpid/spec010.py", line 256, in 
> encode_fields
>     f.type.encode(codec, values[f.name])
>   File "/home/gordon/work/0-10/python/qpid/spec010.py", line 147, in 
> encode
>     getattr(codec, "write_%s" % self.name)(value)
>   File "/home/gordon/work/0-10/python/qpid/codec010.py", line 185, in 
> write_map
>     type.encode(sc, v)
>   File "/home/gordon/work/0-10/python/qpid/spec010.py", line 147, in 
> encode
>     getattr(codec, "write_%s" % self.name)(value)
>   File "/home/gordon/work/0-10/python/qpid/codec010.py", line 88, in 
> write_float
>     self.pack("!f", f)
>   File "/home/gordon/work/0-10/python/qpid/packer.py", line 36, in pack
>     self.write(struct.pack(fmt, *args))
> SystemError: frexp() result out of range
> diff: verify.in: No such file or directory
> FAIL
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:dev-subscribe@qpid.apache.org
>


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org