It should be

@service.amfrpc3('somedomain')

is this what you are using?

Massimo


On Jul 25, 12:04 pm, Miguel Lopes <mig.e.lo...@gmail.com> 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 web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to