Hello,
I run the latest uwsgi version installed through "pip3 install" on a debian box.
When I try this rpc code :
"""
import uwsgi
def hello():
return "Hello World"
uwsgi.register_rpc("hello", hello)
print (uwsgi.rpc(None, "hello"))
"""
I get at the initialization :
*** Operational MODE: single process ***
registered shared/inherited RPC function "hello"
Traceback (most recent call last):
File "/path/to/testq3.py", line 10, in <module>
print(uwsgi.rpc(None, "hello"))
ValueError: unable to call rpc function
and the uwsgi init line is :
sudo uwsgi --wsgi-file /path/to/testq3.py --chdir /path/to/testq3parent --http
:9090 --socket :3032
The same without the http argument
Any idea ?
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi