It should be
@service.amfrpc3('somedomain')
is this what you are using?
Massimo
On Jul 25, 12:04 pm, Miguel Lopes <[email protected]> wrote:
> A little typo!
> Should be "isinstance"
>
> Traceback (most recent call last):
> ...
> @service.amfrpc3
> File "/Applications/web2py/gluon/tools.py", line 2128, in amfrpc3
> if not ininstance(domain,str):
> NameError: global name 'ininstance' is not defined
>
> web2py version 1.65.5 (2009-07-15 17:10:40)
>
> After this typo is corrected, I get:
> File "/Applications/web2py/gluon/tools.py", line 2130, in amfrpc3
> raise SyntaxError, "AMF3 requires a domain for function"
> SyntaxError: AMF3 requires a domain for function
>
> The problem here is that domain is not a string but the function we
> are registering as a service.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---