[prev in list] [next in list] [prev in thread] [next in thread]
List: pyamf-tickets
Subject: Re: [pyamf-tickets] #823: UnicodeDecodeError
From: PyAMF list for bug and patch messages <tickets () pyamf ! org>
Date: 2011-07-20 12:55:43
Message-ID: 052.f69c12509115ec0ddef705b46549ecdd () pyamf ! org
[Download RAW message or body]
#823: UnicodeDecodeError
------------------------------+----------------------
Reporter: thijs | Owner: nick
Type: defect | Status: accepted
Priority: critical | Milestone: 0.6.2
Component: Decoder | Version: 0.6
Resolution: | Keywords:
Author: | Branch:
Fixed in revision: |
------------------------------+----------------------
Comment (by thijs):
I'm now getting this with head:
{{{
2011-07-20 12:52:11,587 DEBUG [root] Content-Type: 'application/x-amf'
2011-07-20 12:52:11,587 DEBUG [root] Content-Encoding: None
2011-07-20 12:52:11,587 DEBUG [root] Content-Length: '2738'
2011-07-20 12:52:11,587 DEBUG [root] Server: 'Apache/2.2.11 (Ubuntu) DAV/2
SVN/1.6.9 PHP/5.2.6-3ubuntu4.6 with Suhosin-Patch mod_ssl/2.2.11
OpenSSL/0.9.8g mod_wsgi/3.2 Python/2.6.4'
2011-07-20 12:52:11,587 DEBUG [root] Read 2738 bytes for the response
Exception UnicodeDecodeError: UnicodeDecodeError('utf8', 'Akaw\xe9', 4, 5,
'unexpected end of data') in 'cpyamf.amf0.Decoder.readObjectAttributes'
ignored
Traceback (most recent call last):
File "tools/client.py", line 27, in <module>
links = remoting_service.getLinks()
File "/usr/local/src/pyamf/pyamf/remoting/client/__init__.py", line 52,
in __call__
return self.service._call(self, *args)
File "/usr/local/src/pyamf/pyamf/remoting/client/__init__.py", line 101,
in _call
response = self._gw.execute_single(request)
File "/usr/local/src/pyamf/pyamf/remoting/client/__init__.py", line 388,
in execute_single
envelope = self._getResponse(http_request)
File "/usr/local/src/pyamf/pyamf/remoting/client/__init__.py", line 467,
in _getResponse
response = remoting.decode(bytes, strict=self.strict)
File "/usr/local/src/pyamf/pyamf/remoting/__init__.py", line 626, in
decode
target, payload = _read_body(stream, decoder, strict, logger)
File "/usr/local/src/pyamf/pyamf/remoting/__init__.py", line 459, in
_read_body
data = decoder.readElement()
File "codec.pyx", line 359, in cpyamf.codec.Decoder.readElement
(cpyamf/codec.c:5272)
File "codec.pyx", line 372, in cpyamf.codec.Decoder.readElement
(cpyamf/codec.c:5167)
File "amf0.pyx", line 282, in cpyamf.amf0.Decoder.readConcreteElement
(cpyamf/amf0.c:3804)
File "amf0.pyx", line 209, in cpyamf.amf0.Decoder.readList
(cpyamf/amf0.c:3070)
File "codec.pyx", line 372, in cpyamf.codec.Decoder.readElement
(cpyamf/codec.c:5167)
File "amf0.pyx", line 296, in cpyamf.amf0.Decoder.readConcreteElement
(cpyamf/amf0.c:3986)
pyamf.DecodeError: Unsupported ActionScript type
}}}
--
PyAMF - Ticket URL: <http://dev.pyamf.org/ticket/823#comment:17>
_______________________________________________
PyAMF tickets mailing list - tickets@pyamf.org
http://lists.pyamf.org/mailman/listinfo/tickets
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic