Questions tagged [pyamf]

Use pyamf for questions related to the pyAMF framework, which is a Python binding for the Action Message Format (AMF) specification.

References

50 questions
0
votes
1 answer

BlazeDS - AMFConnection.call giving HTTP 400 status

I'm trying to use BlazeDS's AMFConnection class to connect to pyamf, but when I call AMFConnection.call(), I get HTTP status 400 (Bad Request - "The request body was unable to be successfully decoded."). I'm more or less following this example:…
Marshall Powers
0
votes
2 answers

Pyamf register_class not mapping strongly typed objects as expected

I'm using Pyamf as my backend for my Flex app and I'm seeing some weird problems with the mapping of the stongly typed classes. Here is the model that I'm returning class MilestonActBase(RewardActBase): def __unicode__(self): return…
b-ryce
  • 5,752
  • 7
  • 49
  • 79
0
votes
1 answer

500 error when returning Django object with Pyamf to Flex

I'm able to return django models that have only CharFields/Dates/Integers, but now I'm trying to return models that have ForeignKey properties and I'm getting this error in Flex in my NetStatusEvent.NET_STATUS onError event handler: m_info Object…
b-ryce
  • 5,752
  • 7
  • 49
  • 79
0
votes
1 answer

How to deserialize and serialize AMF Packets in Python?

I am rewriting the following Perl code in Python: my $data = Data::AMF::Packet->new->deserialize($packet); $data->messages->[0]->{value}->[1] = $data->messages->[1]->{value}->[1] = $mid; $data = $data->serialize; I would like to know how to…
DocWiki
  • 3,488
  • 10
  • 39
  • 49
0
votes
1 answer

PyAMF: How do you get the client's ip address?

Is there anyway to get the client's ip address when running PyAMF via the WSGI gateway interface (Apache)?
Will
  • 1,149
  • 12
  • 25
0
votes
1 answer

Passing session info from python to flex

I have a simple site made with python (django). User registers, inputs some basic info and it stores it to mysql. User then is able to log in with his username/password which he created... Now i want to add a flex application which will run once…
R_J
  • 1
0
votes
1 answer

Deploying PyAMF Django project on Apache with mod_wsgi

I have installed PyAMF, Django, Apache2, and mod_wsgi on a Mac OS X 10.6 machine. While developing the project I used Django development servier. I would like to continue to use http://localhost:8000/gateway or http://127.0.0.1:8000/gateway for the…
arjunurs
  • 1,062
  • 2
  • 17
  • 29
0
votes
1 answer

How should I jump into the Flex-Python Boat

http://www.artima.com/weblogs/viewpost.jsp?thread=208528 Bruce Eckel talked about using Flex and Python together. Since then, we have had PyAMF and the likes. It has been almost three years, but googling does not reveal much more than a bunch of…
Soumendra
  • 1,174
  • 1
  • 15
  • 28
0
votes
1 answer

google apps engine django form pyamf

My flash-pyamf-gae works nice. Now I would like to create a classic Django form by following the google tutorial : http://code.google.com/appengine/articles/djangoforms.html I did but when I post the data entered in my form i get the following…
gpasse
  • 4,380
  • 7
  • 44
  • 75
0
votes
1 answer

How I can convert this value to hex? (amf value)

the context: I decode a amf response from an flex app with python. With pyamf I can decode all the response, but one value got my attention. this value \xa2C is transformed to 4419 #\xa2C -> 4419 #\xddI -> 11977 I know \x is related with a hex…
nguaman
  • 925
  • 1
  • 9
  • 23
0
votes
2 answers

Flash + pyAMF + Django session cookie security

First off, if there is a true, official way of having flash/flex's NetConnections usurp the session/cookie state of the surrounding web page, so that if the user has already logged in, they don't need to provide credentials again just to set up an…
eruciform
  • 7,680
  • 1
  • 35
  • 47
0
votes
1 answer

Flex 4 + Django: Testing and Release Options

I am creating a django-based site that will serve flash apps that occasionally access data via pyamf. I need to be able to easily test the flash in the context of the django framework, i.e. with all the login cookies and everything available, so…
eruciform
  • 7,680
  • 1
  • 35
  • 47
0
votes
1 answer

How pyamf.amf3.ByteArray save to ImageField?

I'm getting object 'pyamf.amf3.ByteArray' How can I save it to ImageField ?
mapcuk
  • 800
  • 1
  • 7
  • 21
0
votes
0 answers

How to install pyamf to Windows Python 2.7

I tried to install pyamf to Python 2.7 x86 on Windows 7 x64. I used pip install or python setup.py install, but they have the same error. skipping 'cpyamf\amf0.c' Cython extension (up-to-date) building 'cpyamf.amf0' extension gcc -mno-cygwin -mdll…
fx-kirin
  • 1,906
  • 1
  • 20
  • 33
0
votes
1 answer

Passing in **kwargs from Flex over PyAMF

Anyone know if it is easily possible to send **kwargs over PyAMF from NetConnection.call()? I would like it. I could write a wrapper around the actual function and expose that and perform some parsing manually to determine the kwargs to pass in, but…
jeffcook2150
  • 4,028
  • 4
  • 39
  • 51