Intermittent Problem with Paste Function in SIkuli

Asked by Philippe Trounev

Hello,
 If I run a script that loads data from a CSV, assigns text from the rows to variables and pastes the variables into certain cells of an application that I am automating , I experience an intermittent error, where the application forgets to paste the data:
it however over the field and pastes nothing into it.
I tried it in two ways.
 Manually howering, clicking and pasting it all separately.
I also tried to do Region.paste.

Both work, however in certain points the application does not paste anything into the cell.

I have sufficient time outs set up, which indicates to me that it might not be related to a time out.
Also I have set up the IDE to print the data in the variables to console to make sure that python is assigning the data correctly and it seems that python is fine.

Therefore I think there might be some issue with the paste function when using it to paste multiple chunks of data, from different variables over a long period of time.

Any feedback is appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Philippe Trounev
Solved:
Last query:
Last reply:
Revision history for this message
Philippe Trounev (ptrounev) said :
#1

Sometimes it also mixes up data which it is pasting and pastes a value of a previously called variable over the value of a currently called variable.

Revision history for this message
RaiMan (raimund-hocke) said :
#2

made it a bug and will test this when I revise the paste feature during the late summer.