Chetic / robotframework-async

Generic Robot Framework library for asynchronous keyword execution
MIT License
27 stars 22 forks source link

I am trying to use this keyward asyn run #1

Closed jaehokim00 closed 6 years ago

jaehokim00 commented 9 years ago

after I install and when I run ...

  ${handle}=      async run       Check Apid In Kafka 

Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532, in bootstrap_inner self.run() File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 484, in run self.__target(_self.args, *_self.__kwargs) File "/Library/Python/2.6/site-packages/AsyncLibrary/async.py", line 43, in wrapped_f ret = f.run(EXECUTION_CONTEXTS.current, args) File "/Library/Python/2.6/site-packages/robot/running/userkeyword.py", line 140, in run return self._run(context, arguments) File "/Library/Python/2.6/site-packages/robot/running/userkeyword.py", line 147, in _run return self._normal_run(context, arguments) File "/Library/Python/2.6/site-packages/robot/running/userkeyword.py", line 158, in _normalrun error, return = self._execute(context, arguments) File "/Library/Python/2.6/site-packages/robot/running/userkeyword.py", line 178, in _execute self.timeout.start()

it would great if it runs well..

jaehokim00 commented 9 years ago

just FYI,,,

Robot Framework 2.8.7 (Python 2.6.9 on darwin) is my pybot version...

fa1k3n commented 9 years ago

eh, does the "Check Apid In Kafka" keyword run without async? Post the code for this please