pyAMF0.5 bug ?

View: New views
5 Messages — Rating Filter:   Alert me  

pyAMF0.5 bug ?

by vitaly-18 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,
I've upgraded today to the pyamf0.5 and my server, the same exactly  
Twisted base server code, started on ANY request to respond TWICE!!!
After downgrading back to pyamf0.4.2 - one request - one response, as  
expected.

Example:
--------

2009-09-11 12:51:40,960 DEBUG [root:twisted:274] AMF Request:  
<Envelope amfVersion=0 clientType=3>
  (u'/2', <Request target=u'null'>[<RemotingMessage  body=[u'test',  
u''] source=u'abc' timestamp=0 destination=u'ABC' clientId=None  
headers={'DSId': u'nil', 'DSEndpoint': u'remote'} timeToLive=0  
messageId=u'3485EC13-A4FA-1D78-08A5-AA045BAC57FA'  
operation=u'hello_world_test' />]</Request>)
  </Envelope>

2009-09-11 12:51:41,027 DEBUG [root:twisted:156] AMF Response:  
<Response status=/onResult><AcknowledgeMessage  body=['Passed']  
timestamp=1252687900 destination=None  
clientId='c83bb4ba-fff5-4254-b75d-3f9c28d4ce86' headers={}  
timeToLive=None messageId='f23287ce-ac51-482b-ad90-9a0be1dd5b0b'  
correlationId=u'3485EC13-A4FA-1D78-08A5-AA045BAC57FA' /></Response>

2009-09-11 12:51:41,064 DEBUG [root:twisted:156] AMF Response:  
<Response status=/onResult><AcknowledgeMessage  body=['Passed']  
timestamp=1252687900 destination=None  
clientId='cf518970-a198-47a6-8db9-bad059b73dc1' headers={}  
timeToLive=None messageId='88e7b7dd-3d97-4a30-994f-cf4e91d8a713'  
correlationId=u'3485EC13-A4FA-1D78-08A5-AA045BAC57FA' /></Response>



Any ideas ?


_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users

Re: pyAMF0.5 bug ?

by Nick Joyce :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11 Sep 2009, at 19:21, vitaly@... wrote:

> hi,
> I've upgraded today to the pyamf0.5 and my server, the same exactly  
> Twisted base server code, started on ANY request to respond TWICE!!!
> After downgrading back to pyamf0.4.2 - one request - one response,  
> as expected.
>
> Example:
> --------
>
> 2009-09-11 12:51:40,960 DEBUG [root:twisted:274] AMF Request:  
> <Envelope amfVersion=0 clientType=3>
> (u'/2', <Request target=u'null'>[<RemotingMessage  body=[u'test',  
> u''] source=u'abc' timestamp=0 destination=u'ABC' clientId=None  
> headers={'DSId': u'nil', 'DSEndpoint': u'remote'} timeToLive=0  
> messageId=u'3485EC13-A4FA-1D78-08A5-AA045BAC57FA'  
> operation=u'hello_world_test' />]</Request>)
> </Envelope>
>
> 2009-09-11 12:51:41,027 DEBUG [root:twisted:156] AMF Response:  
> <Response status=/onResult><AcknowledgeMessage  body=['Passed']  
> timestamp=1252687900 destination=None clientId='c83bb4ba-fff5-4254-
> b75d-3f9c28d4ce86' headers={} timeToLive=None messageId='f23287ce-
> ac51-482b-ad90-9a0be1dd5b0b' correlationId=u'3485EC13-A4FA-1D78-08A5-
> AA045BAC57FA' /></Response>
>
> 2009-09-11 12:51:41,064 DEBUG [root:twisted:156] AMF Response:  
> <Response status=/onResult><AcknowledgeMessage  body=['Passed']  
> timestamp=1252687900 destination=None clientId='cf518970-
> a198-47a6-8db9-bad059b73dc1' headers={} timeToLive=None  
> messageId='88e7b7dd-3d97-4a30-994f-cf4e91d8a713'  
> correlationId=u'3485EC13-A4FA-1D78-08A5-AA045BAC57FA' /></Response>
>
>
>
> Any ideas ?
>
>
> _______________________________________________
> PyAMF users mailing list - users@...
> http://lists.pyamf.org/mailman/listinfo/users
You are correct, this is a regression - see ticket 648 - http://pyamf.org/ticket/648

I have attached a patch to pyamf 0.5 for the fix, whilst 0.5.1 is  
prepped for release.

Thanks for the catch!

Nick





_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users

pyamf-twisted-double-encode-648.diff (1K) Download Attachment

Re: pyAMF0.5 bug ?

by vitaly-18 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


my pleasure.

Do you guys have any release day for 0.5.1 ?

Quoting "Nick Joyce" <nick@...>:

> On 11 Sep 2009, at 19:21, vitaly@... wrote:
>
>> hi,
>> I've upgraded today to the pyamf0.5 and my server, the same exactly  
>>   Twisted base server code, started on ANY request to respond  
>> TWICE!!!
>> After downgrading back to pyamf0.4.2 - one request - one response,  
>>  as expected.
>>
>> Example:
>> --------
>>
>> 2009-09-11 12:51:40,960 DEBUG [root:twisted:274] AMF Request:    
>> <Envelope amfVersion=0 clientType=3>
>> (u'/2', <Request target=u'null'>[<RemotingMessage  body=[u'test',    
>> u''] source=u'abc' timestamp=0 destination=u'ABC' clientId=None    
>> headers={'DSId': u'nil', 'DSEndpoint': u'remote'} timeToLive=0    
>> messageId=u'3485EC13-A4FA-1D78-08A5-AA045BAC57FA'    
>> operation=u'hello_world_test' />]</Request>)
>> </Envelope>
>>
>> 2009-09-11 12:51:41,027 DEBUG [root:twisted:156] AMF Response:    
>> <Response status=/onResult><AcknowledgeMessage  body=['Passed']    
>> timestamp=1252687900 destination=None clientId='c83bb4ba-fff5-4254-  
>>  b75d-3f9c28d4ce86' headers={} timeToLive=None messageId='f23287ce-  
>>  ac51-482b-ad90-9a0be1dd5b0b'  
>> correlationId=u'3485EC13-A4FA-1D78-08A5- AA045BAC57FA' /></Response>
>>
>> 2009-09-11 12:51:41,064 DEBUG [root:twisted:156] AMF Response:    
>> <Response status=/onResult><AcknowledgeMessage  body=['Passed']    
>> timestamp=1252687900 destination=None clientId='cf518970-  
>> a198-47a6-8db9-bad059b73dc1' headers={} timeToLive=None    
>> messageId='88e7b7dd-3d97-4a30-994f-cf4e91d8a713'    
>> correlationId=u'3485EC13-A4FA-1D78-08A5-AA045BAC57FA' /></Response>
>>
>>
>>
>> Any ideas ?
>>
>>
>> _______________________________________________
>> PyAMF users mailing list - users@...
>> http://lists.pyamf.org/mailman/listinfo/users
>
> You are correct, this is a regression - see ticket 648 -
> http://pyamf.org/ticket/648
>
> I have attached a patch to pyamf 0.5 for the fix, whilst 0.5.1 is
> prepped for release.
>
> Thanks for the catch!
>
> Nick
>
>


_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users

Re: pyAMF0.5 bug ?

by Nick Joyce :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This weekend, or early next week.

On 11 Sep 2009, at 21:38, vitaly@... wrote:

>
> my pleasure.
>
> Do you guys have any release day for 0.5.1 ?
>
> Quoting "Nick Joyce" <nick@...>:
>
>> On 11 Sep 2009, at 19:21, vitaly@... wrote:
>>
>>> hi,
>>> I've upgraded today to the pyamf0.5 and my server, the same  
>>> exactly   Twisted base server code, started on ANY request to  
>>> respond TWICE!!!
>>> After downgrading back to pyamf0.4.2 - one request - one  
>>> response,   as expected.
>>>
>>> Example:
>>> --------
>>>
>>> 2009-09-11 12:51:40,960 DEBUG [root:twisted:274] AMF Request:    
>>> <Envelope amfVersion=0 clientType=3>
>>> (u'/2', <Request target=u'null'>[<RemotingMessage  
>>> body=[u'test',   u''] source=u'abc' timestamp=0 destination=u'ABC'  
>>> clientId=None   headers={'DSId': u'nil', 'DSEndpoint': u'remote'}  
>>> timeToLive=0   messageId=u'3485EC13-A4FA-1D78-08A5-AA045BAC57FA'    
>>> operation=u'hello_world_test' />]</Request>)
>>> </Envelope>
>>>
>>> 2009-09-11 12:51:41,027 DEBUG [root:twisted:156] AMF Response:    
>>> <Response status=/onResult><AcknowledgeMessage  body=['Passed']    
>>> timestamp=1252687900 destination=None clientId='c83bb4ba-
>>> fff5-4254-  b75d-3f9c28d4ce86' headers={} timeToLive=None  
>>> messageId='f23287ce-  ac51-482b-ad90-9a0be1dd5b0b'  
>>> correlationId=u'3485EC13-A4FA-1D78-08A5- AA045BAC57FA' /></Response>
>>>
>>> 2009-09-11 12:51:41,064 DEBUG [root:twisted:156] AMF Response:    
>>> <Response status=/onResult><AcknowledgeMessage  body=['Passed']    
>>> timestamp=1252687900 destination=None clientId='cf518970-  
>>> a198-47a6-8db9-bad059b73dc1' headers={} timeToLive=None    
>>> messageId='88e7b7dd-3d97-4a30-994f-cf4e91d8a713'    
>>> correlationId=u'3485EC13-A4FA-1D78-08A5-AA045BAC57FA' /></Response>
>>>
>>>
>>>
>>> Any ideas ?
>>>
>>>
>>> _______________________________________________
>>> PyAMF users mailing list - users@...
>>> http://lists.pyamf.org/mailman/listinfo/users
>>
>> You are correct, this is a regression - see ticket 648 -
>> http://pyamf.org/ticket/648
>>
>> I have attached a patch to pyamf 0.5 for the fix, whilst 0.5.1 is
>> prepped for release.
>>
>> Thanks for the catch!
>>
>> Nick
>>
>>
>
>

_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users

Re: pyAMF0.5 bug ?

by lists-144 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Did that patch fix the issue for you?

Thijs

On 11 Sep 2009, at 21:38, vitaly@... wrote:

>
> my pleasure.
>
> Do you guys have any release day for 0.5.1 ?
>
> Quoting "Nick Joyce" <nick@...>:
>
>> On 11 Sep 2009, at 19:21, vitaly@... wrote:
>>
>>> hi,
>>> I've upgraded today to the pyamf0.5 and my server, the same  
>>> exactly   Twisted base server code, started on ANY request to  
>>> respond TWICE!!!
>>> After downgrading back to pyamf0.4.2 - one request - one  
>>> response,   as expected.
>>>
>>> Example:
>>> --------
>>>
>>> 2009-09-11 12:51:40,960 DEBUG [root:twisted:274] AMF Request:    
>>> <Envelope amfVersion=0 clientType=3>
>>> (u'/2', <Request target=u'null'>[<RemotingMessage  
>>> body=[u'test',   u''] source=u'abc' timestamp=0 destination=u'ABC'  
>>> clientId=None   headers={'DSId': u'nil', 'DSEndpoint': u'remote'}  
>>> timeToLive=0   messageId=u'3485EC13-A4FA-1D78-08A5-AA045BAC57FA'    
>>> operation=u'hello_world_test' />]</Request>)
>>> </Envelope>
>>>
>>> 2009-09-11 12:51:41,027 DEBUG [root:twisted:156] AMF Response:    
>>> <Response status=/onResult><AcknowledgeMessage  body=['Passed']    
>>> timestamp=1252687900 destination=None clientId='c83bb4ba-
>>> fff5-4254-  b75d-3f9c28d4ce86' headers={} timeToLive=None  
>>> messageId='f23287ce-  ac51-482b-ad90-9a0be1dd5b0b'  
>>> correlationId=u'3485EC13-A4FA-1D78-08A5- AA045BAC57FA' /></Response>
>>>
>>> 2009-09-11 12:51:41,064 DEBUG [root:twisted:156] AMF Response:    
>>> <Response status=/onResult><AcknowledgeMessage  body=['Passed']    
>>> timestamp=1252687900 destination=None clientId='cf518970-  
>>> a198-47a6-8db9-bad059b73dc1' headers={} timeToLive=None    
>>> messageId='88e7b7dd-3d97-4a30-994f-cf4e91d8a713'    
>>> correlationId=u'3485EC13-A4FA-1D78-08A5-AA045BAC57FA' /></Response>
>>>
>>>
>>>
>>> Any ideas ?
>>>
>>>
>>> _______________________________________________
>>> PyAMF users mailing list - users@...
>>> http://lists.pyamf.org/mailman/listinfo/users
>>
>> You are correct, this is a regression - see ticket 648 -
>> http://pyamf.org/ticket/648
>>
>> I have attached a patch to pyamf 0.5 for the fix, whilst 0.5.1 is
>> prepped for release.
>>
>> Thanks for the catch!
>>
>> Nick
>>
>>
>
>
> _______________________________________________
> PyAMF users mailing list - users@...
> http://lists.pyamf.org/mailman/listinfo/users


_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users

PGP.sig (201 bytes) Download Attachment