[ 
https://issues.apache.org/jira/browse/PROTON-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460036#comment-13460036
 ] 

William Henry edited comment on PROTON-31 at 9/21/12 10:12 AM:
---------------------------------------------------------------

It doesn't go away for me in my modified version. 


$ ./recv_image.py //~0.0.0.0
Error mng.get:  [-4]: error decoding message: (null)
Error mng.get:  [-4]: error decoding message: (null)
Error mng.get:  [-4]: error decoding message: (null)


My send:
$ ./send_image.py -a //localhost
Image block [ 1 ] put
Image block [ 2 ] put
Image block [ 3 ] put
Image block [ 4 ] put
Image block [ 5 ] put
Image block [ 6 ] put
Image block [ 7 ] put
ERROR amqp:connection:framing-error connection aborted
[0xb86cb0:0] ERROR[-2] connection aborted
Image block [ 8 ] put
Error put  [-2]: unable to send to address: //localhost (connect: Connection 
refused)
                
      was (Author: whenry):
    It doesn't go away for me in my modified version. 


$ ./recv_image.py //~0.0.0.0
Error mng.get:  [-4]: error decoding message: (null)
Error mng.get:  [-4]: error decoding message: (null)
Error mng.get:  [-4]: error decoding message: (null)


My send:
$ ./send_image.py -a //localhost
Block [ 1 ] put
Block [ 2 ] put
Block [ 3 ] put
Block [ 4 ] put
Block [ 5 ] put
Block [ 6 ] put
Block [ 7 ] put
Block [ 8 ] put
Block [ 9 ] put
ERROR amqp:connection:framing-error connection aborted
[0x1e34b30:0] ERROR[-2] connection aborted
Block [ 10 ] put
Traceback (most recent call last):
  File "./send_image.py", line 52, in <module>
    if mng.put(msg):
  File "/home/whenry/os/qpid-proton/trunk/proton-c/bindings/python/proton.py", 
line 58, in put
    self._check(pn_messenger_put(self._mng, msg._msg))
  File "/home/whenry/os/qpid-proton/trunk/proton-c/bindings/python/proton.py", 
line 32, in _check
    raise exc("[%s]: %s" % (err, pn_messenger_error(self._mng)))
proton.MessengerException: [-2]: unable to send to address: //localhost 
(connect: Connection refused)
                  
> Message Corruption in point-to-point transfer via messenger
> -----------------------------------------------------------
>
>                 Key: PROTON-31
>                 URL: https://issues.apache.org/jira/browse/PROTON-31
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>            Reporter: Ted Ross
>         Attachments: send1.py
>
>
> Using a modified version of the send.py messenger example (attached) and 
> sending messages point-to-point from sender to receiver, messages become 
> corrupted.
> Output from the receiver:
> {{
> $ ./recv.py //~0.0.0.0/queue1
> //0.0.0.0/queue1 (no subject) Message:0
> //0.0.0.0/queue1 (no subject) Message:1
> //0.0.0.0/queue1 (no subject) Message:2
> //0.0.0.0/queue1 (no subject) Message:3
> //0.0.0.0/queue1 (no subject) H(�]
> //0.0.0.0/queue1 (no subject) Message:5
> //0.0.0.0/queue1 (no subject) Message:6
> //0.0.0.0/queue1 (no subject) Message:7
> //0.0.0.0/queue1 (no subject) Message:8
> //0.0.0.0/queue1 (no subject) Message:9
> //0.0.0.0/queue1 (no subject) Message:10
> //0.0.0.0/queue1 (no subject) Message:11
> //0.0.0.0/queue1 (no subject) Message:12
> //0.0.0.0/queue1 (no subject) Message:13
> //0.0.0.0/queue1 (no subject) Message:14
> //0.0.0.0/queue1 (no subject) Message:15
> //0.0.0.0/queue1 (no subject) Message:16
> //0.0.0.0/queue1 (no subject) Message:17
> //0.0.0.0/queue1 (no subject) Message:18
> //0.0.0.0/queue1 (no subject) Message:19
> //0.0.0.0/queue1 (no subject) Message:20
> //0.0.0.0/queue1 (no subject) Message:21
> //0.0.0.0/queue1 (no subject) Message:22
> //0.0.0.0/queue1 (no subject) Message:23
> //0.0.0.0/queue1 (no subject) Message:24
> //0.0.0.0/queue1 (no subject) Message:25
> //0.0.0.0/queue1 (no subject) Message:26
> //0.0.0.0/queue1 (no subject) Message:27
> //0.0.0.0/queue1 (no subject) Message:28
> //0.0.0.0/queue1 (no subject) Message:29
> //0.0.0.0/queue1 (no subject) Message:30
> //0.0.0.0/queue1 (no subject) Message:31
> //0.0.0.0/queue1 (no subject) Message:32
> //0.0.0.0/queue1 (no subject) Message:33
> //0.0.0.0/queue1 (no subject) Message:34
> [-4]: error decoding message: (null)
> [-4]: error decoding message: (null)
> [-4]: error decoding message: (null)
> [-4]: error decoding message: (null)
> }}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to