« Return to Thread: n00b help

Re: n00b help

by oso che bol :: Rate this Message:

Reply to Author | View in Thread

Hi,

When i do try simpleview example, i got this error messages for get_user function:
"/usr/lib/python2.5/site-packages/PyAMF-0.4.2-py2.5-linux-i686.egg/pyamf/remoting/gateway/__init__.py", line 224, in __call__\n', '  File "/usr/lib/python2.5/site-packages/PyAMF-0.4.2-py2.5-linux-i686.egg/pyamf/remoting/gateway/__init__.py", line 125, in __call__\n', 'TypeError: get_user() takes exactly 2 arguments (3 given)\n']

I am using pyamf 0.4.2, django 1.0

Thanks,
-LN
On Fri, Jul 17, 2009 at 5:33 PM, Nick Joyce <nick@...> wrote:
On 17 Jul 2009, at 10:01, oso che bol wrote:

Hi,

When we are trying to do Class Mapping between Flex and Python Object, we must register a class, which have the SAME name in python site and flex RemoteClass ex org.pyamf.example.User. Is that right?

That is correct, otherwise there is no way to map the two classes together. The mapping is case-sensitive.


Thanks,
-LN

Cheers,

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

 « Return to Thread: n00b help