Ticket #365 (closed defect: invalid)

Opened 2 months ago

Last modified 2 months ago

Unable to coerce buf->StringIO

Reported by: thijs Owned by: gerard
Priority: blocker Milestone: 0.4
Component: C-Extension Version: 0.3.1
Keywords: Cc:

Description

Getting a weird error on the PyAMF demo site, check this sample with Charles.

Traceback (most recent call last):
File "/usr/local/src/pyamf/pyamf/remoting/gateway/wsgi.py", line 83, in __call__
    request = remoting.decode(body, context)
File "/usr/local/src/pyamf/pyamf/remoting/__init__.py", line 582, in decode
    stream = util.BufferedByteStream(stream)
TypeError: Unable to coerce buf->StringIO

Change History

comment:1 follow-ups: ↓ 2 ↓ 3 Changed 2 months ago by gerard

I can't reproduce the problem, on Ubuntu 8.04.

comment:2 in reply to: ↑ 1 Changed 2 months ago by gerard

Replying to gerard:

I can't reproduce the problem, on Ubuntu 8.04.

Tested it using PyAMF trunk (r1688).

comment:3 in reply to: ↑ 1 Changed 2 months ago by thijs

Replying to gerard:

I can't reproduce the problem, on Ubuntu 8.04.

I added the amf dump which throws the same error with the parse_dump script.

comment:4 Changed 2 months ago by thijs

  • owner changed from nick to gerard
  • status changed from new to assigned
  • component changed from Remoting to C-Extension

After removing the compiled .so the error went away so its definitely a cPyAMF issue I think.

comment:5 Changed 2 months ago by nick

  • status changed from assigned to closed
  • resolution set to invalid

I rebuilt the same version on mars and could not reproduce.

Marking as invalid for now ..

Note: See TracTickets for help on using tickets.