Re: [Sikuli-driver] [Question #247422]: How To Resolve "cannot open system clipboard" error

2017-06-04 Thread RaiMan
Question #247422 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/247422 RaiMan posted a new comment: Thanks for the pointer to the old clipboard question. I will look into the code and check, wether it can be optimised in this sense. -- You received this question notification

Re: [Sikuli-driver] [Question #247422]: How To Resolve "cannot open system clipboard" error

2017-06-04 Thread Andrew Grabov
Question #247422 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/247422 Andrew Grabov posted a new comment: Not sure how, but after reboot it was able to process all 230 rows without throwing the error... No code changes were made... -- You received this question notification

Re: [Sikuli-driver] [Question #247422]: How To Resolve "cannot open system clipboard" error

2017-06-03 Thread Andrew Grabov
Question #247422 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/247422 Andrew Grabov posted a new comment: Hi, I have almost the same case: I extensively use the following code while processing Excel: type(Key.INSERT, Key.CTRL) cellValue = Env.getClipboard().strip()

Re: [Sikuli-driver] [Question #247422]: How To Resolve "cannot open system clipboard" error

2014-04-23 Thread Rafiq Mohammed
Question #247422 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/247422 Status: Answered => Solved Rafiq Mohammed confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Dr

Re: [Sikuli-driver] [Question #247422]: How To Resolve "cannot open system clipboard" error

2014-04-23 Thread RaiMan
Question #247422 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/247422 Status: Open => Answered RaiMan proposed the following answer: -- xlrd if it is a newer Excel or a problem with .xlsx, just save your sheet in an older layout as .xls. -- csv a csv file is a simple tex

Re: [Sikuli-driver] [Question #247422]: How To Resolve "cannot open system clipboard" error

2014-04-23 Thread RaiMan
Question #247422 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/247422 RaiMan proposed the following answer: There is even a high sophisticated Python module CSV, that hides all the specific formatting, reading and writing. https://docs.python.org/2/library/csv.html#module-csv

Re: [Sikuli-driver] [Question #247422]: How To Resolve "cannot open system clipboard" error

2014-04-23 Thread Rafiq Mohammed
Question #247422 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/247422 Status: Answered => Open Rafiq Mohammed is still having a problem: Thanks rob and RaiMan for your replies. xlrd unfortunately does not support the version of Excel that I am using. >From the sample tha

Re: [Sikuli-driver] [Question #247422]: How To Resolve "cannot open system clipboard" error

2014-04-22 Thread RaiMan
Question #247422 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/247422 Status: Open => Answered RaiMan proposed the following answer: You are accessing the XLS "visually" over the GUI using copy and paste. A CSV file is the sheet (usually comma separated), that contains th

Re: [Sikuli-driver] [Question #247422]: How To Resolve "cannot open system clipboard" error

2014-04-22 Thread rob
Question #247422 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/247422 rob posted a new comment: i think he means try something like - for line in open('path-to-your-file.csv'): print line i was getting the same error using Env.getClipboard() to read html using view source. s

Re: [Sikuli-driver] [Question #247422]: How To Resolve "cannot open system clipboard" error

2014-04-22 Thread Rafiq Mohammed
Question #247422 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/247422 Status: Answered => Open Rafiq Mohammed is still having a problem: Hi RaiMAn, Could you please elaborate on how using csv file would solve this problem. Wouldn't I still need to use cntrl+c to access th

Re: [Sikuli-driver] [Question #247422]: How To Resolve "cannot open system clipboard" error

2014-04-22 Thread RaiMan
Question #247422 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/247422 Linked to bug: #1311031 https://bugs.launchpad.net/bugs/1311031 "[1.0.1] crash "cannot open system clipboard" using getClipboard()" -- You received this question notification because you are a m

Re: [Sikuli-driver] [Question #247422]: How To Resolve "cannot open system clipboard" error

2014-04-22 Thread RaiMan
Question #247422 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/247422 Status: Open => Answered RaiMan proposed the following answer: might be, that the internal implementation in Java 7 has changed. For now, I do not know any workaround for that. I take it as a bug. need

[Sikuli-driver] [Question #247422]: How To Resolve "cannot open system clipboard" error

2014-04-22 Thread Rafiq Mohammed
New question #247422 on Sikuli: https://answers.launchpad.net/sikuli/+question/247422 Hi, I am using the following code extensively to copy the contents of clipboard into a variable: uid = Env.getClipboard().strip() and row = int (Env.getClipboard()) In the earlier version of Sikuli, the follow