Re: [Sikuli-driver] [Question #678681]: Sikuli 1.1.3: Is it possible to trap syntax errors?

2019-02-22 Thread Ron Turrentine
Question #678681 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678681 Ron Turrentine posted a new comment: RaiMan, thanks I will do some testing of the return code on the executed script. That may just be the key to this whole thing. I'll let you know what I discover! Best

Re: [Sikuli-driver] [Question #678681]: Sikuli 1.1.3: Is it possible to trap syntax errors?

2019-02-21 Thread Ron Turrentine
Question #678681 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678681 Status: Needs information => Open Ron Turrentine gave more information on the question: RaiMan, Thanks for replying! Here are the relevant lines from my script. This is a FOR loop which loops thro

[Sikuli-driver] [Question #678681]: Sikuli 1.1.3: Is it possible to trap syntax errors?

2019-02-20 Thread Ron Turrentine
New question #678681 on Sikuli: https://answers.launchpad.net/sikuli/+question/678681 Hello fellow Sikulians! At first glance you may be laughing at this subject line and wondering what I've been smoking. However I actually have a novel case that I could use some help with! Let me

Re: [Sikuli-driver] [Question #673348]: using xlrd: Error attempting to delete file after wb.release_resources()

2018-11-26 Thread Ron Turrentine
Question #673348 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673348 Status: Answered => Open Ron Turrentine is still having a problem: Raiman, Unfortunately, no. I had to completely removed the logic which attempted to delete the file. If anyone else discovers a

[Sikuli-driver] [Question #675371]: Sikuli 1.1.3: How to display the code of the line which threw the error.

2018-10-19 Thread Ron Turrentine
. Is there an efficient way of doing that? I have tried opening up the actual .PY file and pulling the line # which errored from it, but that is not working well (getting an maximum recursion depth error when I do). Is there a better way? I appreciate any recommendations! Thanks, Ron Turrentine -- You

Re: [Sikuli-driver] [Question #675229]: Sikuli 1.1.3: How to derive name of script?

2018-10-15 Thread Ron Turrentine
Question #675229 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675229 Status: Open => Solved Ron Turrentine confirmed that the question is solved: I figured it out! I realized that I could use "getBundlePath()" within the child scripts to pull back the c

Re: [Sikuli-driver] [Question #675229]: Sikuli 1.1.3: How to derive name of script?

2018-10-15 Thread Ron Turrentine
but it always returns the name of the control script, which is the parent script. I need to pull the name of the running script (child script), though. Is there a simple way (hopefully a system variable) that holds this information dynamically during runtime? Thanks! Ron Turrentine -- You received this

Re: [Sikuli-driver] [Question #675229]: Sikuli 1.1.3: How to derive name of script?

2018-10-15 Thread Ron Turrentine
but it always returns the name of the control script, which is the parent script. I need to pull the name of the running script (child script), though. Is there a simple way (hopefully a system variable) that holds this information dynamically during runtime? Thanks! Ron Turrentine -- You received this

[Sikuli-driver] [Question #675229]: Sikuli 1.1.3: How to derive name of script?

2018-10-15 Thread Ron Turrentine
of the control script, which is the parent script. I need to pull the name of the running script (child script), though. Is there a simple way (hopefully a system variable) that holds this information dynamically during runtime? Thanks! Ron Turrentine -- You received this question notific

Re: [Sikuli-driver] [Question #674676]: Sikuli 1.1.3: Offline Installation JAR?

2018-10-08 Thread Ron Turrentine
Question #674676 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/674676 Ron Turrentine posted a new comment: Raiman, I downloaded the JAR through my mobile hotspot here at work and tested it with a user who hasn't installed Sikuli yet. It worked perfectly! You are THE MAN

Re: [Sikuli-driver] [Question #674676]: Sikuli 1.1.3: Offline Installation JAR?

2018-10-08 Thread Ron Turrentine
Question #674676 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/674676 Ron Turrentine posted a new comment: Thanks Raiman! I'll see about downloading it tonight (Dropbox is also blocked here at work). :( I sincerely appreciate your support! Ron -- You received

Re: [Sikuli-driver] [Question #674676]: Sikuli 1.1.3: Offline Installation JAR?

2018-10-08 Thread Ron Turrentine
Question #674676 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/674676 Ron Turrentine posted a new comment: Hey Raiman, I tried 1.1.4 a couple of months ago, but there were a couple of bugs that made me switch back to 1.1.3 until it was stabilized. Since then, I have developed

Re: [Sikuli-driver] [Question #674676]: Sikuli 1.1.3: Offline Installation JAR?

2018-10-08 Thread Ron Turrentine
Question #674676 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/674676 Ron Turrentine posted a new comment: Hey Raiman, I tried the offline setup JAR that was in the link above, but it was not successful. I'm sure that I'm likely doing something wrong. To be frank

Re: [Sikuli-driver] [Question #674676]: Sikuli 1.1.3: Offline Installation JAR?

2018-10-04 Thread Ron Turrentine
Question #674676 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/674676 Status: Answered => Solved Ron Turrentine confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Driv

[Sikuli-driver] [Question #674676]: Sikuli 1.1.3: Offline Installation JAR?

2018-10-04 Thread Ron Turrentine
. If an offline setup JAR was available, where everything was included locally, it would be optimal for installation! Thanks! Ron Turrentine -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing

Re: [Sikuli-driver] [Question #673348]: using xlrd: Error attempting to delete file after wb.release_resources()

2018-09-10 Thread Ron Turrentine
Question #673348 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673348 Ron Turrentine posted a new comment: Good information, Raiman. Thanks for the tip. I'll definitely test this out this week and report back. Best regards, Ron -- You received this question notification

Re: [Sikuli-driver] [Question #673348]: using xlrd: Error attempting to delete file after wb.release_resources()

2018-09-07 Thread Ron Turrentine
Question #673348 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673348 Ron Turrentine posted a new comment: Hey Raiman, Thanks for the reply! Yes, I am using the bundled XLRD. I have not d/l or installed it externally. BTW, I downloaded the sysintertals "handle.exe&

Re: [Sikuli-driver] [Question #673348]: using xlrd: Error attempting to delete file after wb.release_resources()

2018-09-07 Thread Ron Turrentine
Question #673348 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673348 Ron Turrentine posted a new comment: I finally found the culprit to the issue by using subprocess.Popen. It returned a much more useful error than os.remove did. The error it is returning is: "The pr

Re: [Sikuli-driver] [Question #673348]: using xlrd: Error attempting to delete file after wb.release_resources()

2018-09-06 Thread Ron Turrentine
Question #673348 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673348 Ron Turrentine posted a new comment: I think I may have found a clue as to the possible root cause of my issue. I tried deleting the file using the subprocess library. I tried it with both the "

Re: [Sikuli-driver] [Question #673348]: using xlrd: Error attempting to delete file after wb.release_resources()

2018-09-06 Thread Ron Turrentine
Question #673348 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673348 Ron Turrentine posted a new comment: Manfred, Thanks so much! I actually tried something similar by using "os.system". Namely: os.system(" del /f " + ws_to_split). It was not su

Re: [Sikuli-driver] [Question #673348]: using xlrd: Error attempting to delete file after wb.release_resources()

2018-09-05 Thread Ron Turrentine
Question #673348 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673348 Ron Turrentine gave more information on the question: Here is a rather humorous solution, but it works: My script opens an explorer window to the folder where my Excel file lies (using subprocess.Popen

Re: [Sikuli-driver] [Question #673348]: using xlrd: Error attempting to delete file after wb.release_resources()

2018-09-05 Thread Ron Turrentine
Question #673348 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673348 Status: Answered => Open Ron Turrentine is still having a problem: Thanks for you reply Manfred! I actually found that same suggestion and tried it. And you are correct, it made no noticea

Re: [Sikuli-driver] [Question #673348]: using xlrd: Error attempting to delete file after wb.release_resources()

2018-09-05 Thread Ron Turrentine
Question #673348 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673348 Status: Answered => Open Ron Turrentine is still having a problem: I'm still struggling with this issue. If someone out there has experience with opening XLRD manipulated workbooks in Wind

Re: [Sikuli-driver] [Question #673348]: using xlrd: Error attempting to delete file after wb.release_resources()

2018-09-05 Thread Ron Turrentine
Question #673348 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673348 Ron Turrentine posted a new comment: Thanks Raiman. I'm going "back to the drawing board" and will doing a bit more research on the proper way to "close" the workbook in xlrd then.

[Sikuli-driver] [Question #673348]: [1.1.3]: Error attempting to delete file

2018-09-04 Thread Ron Turrentine
(exc_val.message) + "\n" ErrorText += "***\n\r" print ErrorText self.LogError() else: dpmsg = "=*=*=*=*=* " + str(x) + " Worksheets Split fro

Re: [Sikuli-driver] [Question #673054]: SikuliX 1.1.4: "System.out is broken" fatal error

2018-08-30 Thread Ron Turrentine
Question #673054 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673054 Ron Turrentine posted a new comment: Thanks Raiman. I've since found that this "Fatal Error" is being thrown in 1.1.3 as well. This may be due to the fact that I'm now using Windows 10 (a corp

Re: [Sikuli-driver] [Question #673054]: SikuliX 1.1.4: "System.out is broken" fatal error

2018-08-29 Thread Ron Turrentine
! You will not see any message anymore! Save your work and restart the IDE!" This happens every time. Is this a bug, or should I break out a script differently in 1.1.4? Here is a link to the screenshot of the error: https://imgur.com/840b7gz Thanks! Ron Turrentine -- You received thi

Re: [Sikuli-driver] [Question #673053]: [1.1.4] IDE: load() does not seem to work anymore

2018-08-29 Thread Ron Turrentine
Question #673053 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673053 Ron Turrentine confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #673053]: [1.1.4] IDE: load() does not seem to work anymore

2018-08-29 Thread Ron Turrentine
Question #673053 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673053 Status: Answered => Solved Ron Turrentine confirmed that the question is solved: Thanks RaiMan! I tested your workaround and it did the trick. I appreciate the help! Ron -- You recei

[Sikuli-driver] [Question #673054]: SikuliX 1.1.4: "System.out is broken" fatal error

2018-08-28 Thread Ron Turrentine
ssage anymore! Save your work and restart the IDE!" This happens every time. Is this a bug, or should I break out a script differently in 1.1.4? Thanks! Ron Turrentine -- You received this question notification because your team Sikuli Drivers is an answer contact

Re: [Sikuli-driver] [Question #673053]: SikuliX 1.1.4: IDE cannot find SQL Driver

2018-08-28 Thread Ron Turrentine
than I do in 1.1.2 & 3? Thanks! Ron Turrentine -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists

[Sikuli-driver] [Question #673053]: SikuliX 1.1.4: IDE cannot find SQL Driver

2018-08-28 Thread Ron Turrentine
1.1.2 & 3? Thanks! Ron Turrentine -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsub

Re: [Sikuli-driver] [Question #672153]: [HowTo] access SQL Server 12.0.5207 on a Windows Server VM

2018-08-16 Thread Ron Turrentine
Question #672153 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672153 Description changed to: the solution from comment #6 --- thanks to the provider *** The "missing link" was the Microsoft JDBC Driver 7.0 for SQL Server. I downloaded the jar from them here:

Re: [Sikuli-driver] [Question #672153]: Using pyodbc with Sikuli

2018-08-14 Thread Ron Turrentine
Question #672153 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672153 Status: Answered => Solved Ron Turrentine confirmed that the question is solved: I took Raiman's advice and nixed pyodbc for zxJDBC instead (which is bundled with Sikuli). It works, and this is ho

Re: [Sikuli-driver] [Question #672153]: Using pyodbc with Sikuli

2018-08-13 Thread Ron Turrentine
Question #672153 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672153 Ron Turrentine gave more information on the question: PS: don't see the bundled JDBC jar file. Where would I find it? Thanks! Ron -- You received this question notification because your team Sikuli

Re: [Sikuli-driver] [Question #672153]: Using pyodbc with Sikuli

2018-08-13 Thread Ron Turrentine
Question #672153 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672153 Status: Answered => Open Ron Turrentine is still having a problem: Thanks Raiman! I will definitely look into using JDBC and the load() statement. BTW I checked and my machine is on Java 8 build

Re: [Sikuli-driver] [Question #671416]: Script attempts to run then immediately stops, but provides no error msg

2018-08-08 Thread Ron Turrentine
Question #671416 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671416 Status: Open => Solved Ron Turrentine confirmed that the question is solved: I got 1.1.3 installed and working. Thanks Raiman. And my script ran within it and is giving me error & info f

Re: [Sikuli-driver] [Question #671416]: Script attempts to run then immediately stops, but provides no error msg

2018-08-08 Thread Ron Turrentine
Question #671416 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671416 Ron Turrentine gave more information on the question: I apologize for the multiple posts, but I have found the installer download page for the Nightly Build: https://raiman.github.io/SikuliX1/nightly.html

Re: [Sikuli-driver] [Question #671416]: Script attempts to run then immediately stops, but provides no error msg

2018-08-08 Thread Ron Turrentine
Question #671416 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671416 Ron Turrentine gave more information on the question: Raiman, I found your github page (https://github.com/RaiMan/SikuliX1/releases), but I'm not sure how to use the source code. I'm not a java developer

Re: [Sikuli-driver] [Question #671416]: Script attempts to run then immediately stops, but provides no error msg

2018-08-08 Thread Ron Turrentine
Question #671416 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671416 Ron Turrentine gave more information on the question: PS: I'm on Windows 7 professional -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #671416]: Script attempts to run then immediately stops, but provides no error msg

2018-08-08 Thread Ron Turrentine
Question #671416 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671416 Status: Needs information => Open Ron Turrentine gave more information on the question: Raiman, Thanks for the "object" info, did not realize that! Regarding the version, I'm on 1.1.

Re: [Sikuli-driver] [Question #671416]: Script attempts to run then immediately stops, but provides no error msg

2018-08-08 Thread Ron Turrentine
Question #671416 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671416 Status: Answered => Open Ron Turrentine is still having a problem: Hey RaiMan, Thanks so much for you helpful input. In answer to your questions: 1.) The browser did not open 2.) No screenshots w

Re: [Sikuli-driver] [Question #671416]: Script attempts to run then immediately stops, but provides no error msg

2018-08-07 Thread Ron Turrentine
Question #671416 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671416 Ron Turrentine gave more information on the question: I made some big changes to my script and got it working after I stripped out the class and changed the class properties to global variables

Re: [Sikuli-driver] [Question #671416]: Script attempts to run then immediately stops, but provides no error msg

2018-08-07 Thread Ron Turrentine
Question #671416 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671416 Description changed to: When I click "Run" or "Run in slow motion", the SikuliX IDE attempts to run my script, but then it immediately stops. However it provides no error output - in fact, it provides no

Re: [Sikuli-driver] [Question #671416]: Script attempts to run then immediately stops, but provides no error msg

2018-08-07 Thread Ron Turrentine
Question #671416 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671416 Description changed to: When I click "Run" or "Run in slow motion", the SikuliX IDE attempts to run my script, but then it immediately stops. However it provides no error output - in fact, it provides no

[Sikuli-driver] [Question #671416]: Script attempts to run then immediately stops, but provides no error msg

2018-08-07 Thread Ron Turrentine
New question #671416 on Sikuli: https://answers.launchpad.net/sikuli/+question/671416 When I click "Run" or "Run in slow motion", the SikuliX IDE attempts to run my script, but then it immediately stops. However it provides no error output - in fact, it provides no feedback whatsoever in the

Re: [Sikuli-driver] [Question #671416]: Script attempts to run then immediately stops, but provides no error msg

2018-08-07 Thread Ron Turrentine
Question #671416 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671416 Description changed to: When I click "Run" or "Run in slow motion", the SikuliX IDE attempts to run my script, but then it immediately stops. However it provides no error output - in fact, it provides no

Re: [Sikuli-driver] [Question #671390]: How to build a path within an existing directory

2018-08-06 Thread Ron Turrentine
Question #671390 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671390 Status: Answered => Solved Ron Turrentine confirmed that the question is solved: Thank you RaiMan! I appreciate your helpful reply. I got it working! I'm learning a great deal about both Pyt

Re: [Sikuli-driver] [Question #671390]: How to build a path within an existing directory

2018-08-06 Thread Ron Turrentine
Question #671390 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671390 Ron Turrentine gave more information on the question: I seem to have found the answer! The code that appears to be a good, working replacement

Re: [Sikuli-driver] [Question #671390]: How to build a path within an existing directory

2018-08-06 Thread Ron Turrentine
FileSystemObject. Is there a way to do something similarly elegant within Python & SikuliX? Side question: can Python discern between a directory and a file? The error returned leads me to believe that it is confusing a an existing folder as an existing file. Thanks in advance, Ron Turrentine

[Sikuli-driver] [Question #671390]: How to build a path within an existing directory

2018-08-06 Thread Ron Turrentine
ay to do something similar within Python & SikuliX? Side question: can Python discern between a directory and a file? The error returned leads me to believe that it is confusing a an existing folder as an existing file. Thanks in advance, Ron Turrentine -- You received this question noti