Comment #8 on issue 641 by jprantan: Dialog library keyword hangs when timeouts are used on Windows with Python
http://code.google.com/p/robotframework/issues/detail?id=641

The problem occurs with our thread implementation. If I use Python's threading.Thread, the problem does not occur. I added some tests r4097 to Dialogs.py if __name__ == '__main__' so the problem can be easily executed.

Googling didn't give hints. Couple of times there were comments that the Tk should be executed in the main thread as it is not fully thread safe.

What can we do then:
1) See is there something that could be changed in our threading implementation
or
2) Implement ROBOT_FRAMEWORK_TIMEOUT/THREAD_NOT_ALLOWED attribute to the Library API so that keywords from libraries that does not allow threading could state that for RF and those keywords could be executed without timeout. This could be set true only in case of Windows/Python compination in Dialogs library.


Reply via email to