Discussion:
'EPollIOLoop' object has no attribute 'run_sync'
Drasko DRASKOVIC
2013-05-20 01:11:53 UTC
Permalink
Hi all,
I am tying to use IOLoop's tun_rsync() method
(http://www.tornadoweb.org/en/stable/ioloop.html#tornado.ioloop.IOLoop.run_sync),
and I want something exactly like described here :

https://groups.google.com/forum/?fromgroups#!msg/python-tornado/o4kZofepfr4/OmAsKpJVQ6YJ

However, trying this example is giving me an error :

Traceback (most recent call last):
File "test2.py", line 19, in <module>
tornado.ioloop.IOLoop.instance().run_sync(main)
AttributeError: 'EPollIOLoop' object has no attribute 'run_sync'

What seems to be wrong and how to debug this ?

Best regards,
Drasko
--
You received this message because you are subscribed to the Google Groups "Tornado Web Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-tornado+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Drasko DRASKOVIC
2013-05-20 01:28:24 UTC
Permalink
Whoops, sorry, I did not have version 3.0.

Updated, now works fine.

BR,
Drasko

On Mon, May 20, 2013 at 3:11 AM, Drasko DRASKOVIC
Post by Drasko DRASKOVIC
Hi all,
I am tying to use IOLoop's tun_rsync() method
(http://www.tornadoweb.org/en/stable/ioloop.html#tornado.ioloop.IOLoop.run_sync),
https://groups.google.com/forum/?fromgroups#!msg/python-tornado/o4kZofepfr4/OmAsKpJVQ6YJ
File "test2.py", line 19, in <module>
tornado.ioloop.IOLoop.instance().run_sync(main)
AttributeError: 'EPollIOLoop' object has no attribute 'run_sync'
What seems to be wrong and how to debug this ?
Best regards,
Drasko
--
You received this message because you are subscribed to the Google Groups
"Tornado Web Server" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Tornado Web Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-tornado+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...