Activity log for bug #1238197

Date Who What changed Old value New value Message
2013-10-10 18:35:29 Shawn Robertson bug added bug
2013-10-11 07:59:32 RaiMan sikuli: status New In Progress
2013-10-11 07:59:35 RaiMan sikuli: importance Undecided Medium
2013-10-11 07:59:38 RaiMan sikuli: assignee RaiMan (raimund-hocke)
2013-10-11 07:59:41 RaiMan sikuli: milestone 1.1.0
2013-10-11 07:59:45 RaiMan summary Sikuli unable to open some Apps in windows 8 [1.0.1] Sikuli unable to open some Apps in windows 8
2013-10-11 10:21:47 RaiMan summary [1.0.1] Sikuli unable to open some Apps in windows 8 [1.0.1] Sikuli unable to open some Apps in windows 8 --- workaround
2013-10-11 10:29:08 RaiMan description I have Sikuli R930 installed on Windows 8 Enterprise x64 currently. I have a script that installs software and it is not seeming to work properly. I have 2 App open commands and one works fine and the other just never works. the one that works fine is this: Settings.tscode = App(os.path.join(r"\\tsarchive", "Storage", "Timeslips", "Installations", Settings.tsVersion, "utilities", "TSCodes.exe")) When this is called it opens a code generator application no problem The one that does not work is this: Settings.tssetup = App(os.path.join(r"\\tsarchive", "Storage", "Timeslips", "Installations", Settings.tsVersion, Settings.tsBuild, "setup.exe")) It never opens and says App not found. Same exact script works perfectly on Windows 7 Pro x64 even if I dumb the APP open command to this: tssetup = App(r'"c:\BUILD\Setup.exe"') and call tssetup.open() it says App not found. If i dumb down the App that does work TSCODE to this: TSCode = App(r'"c:\BUILD\TSCode.exe"') Retested all above with latest V1.01 with same results. ******** workaround you might use the run(cmd) instead of App.open() --- Windows result = run('start /i /b "%s"'%(app)) --- Mac result = run('open "%s"'%(app)) --- Linux ??? (use a similar command to run something in an independent process) result contains the textual output, that would be seen if you run the command on commadline the first line might contain *** error *** if the trial to run the command returned an error (e.g. program not found) ----------------------------------------------------------------------------- I have Sikuli R930 installed on Windows 8 Enterprise x64 currently. I have a script that installs software and it is not seeming to work properly. I have 2 App open commands and one works fine and the other just never works. the one that works fine is this: Settings.tscode = App(os.path.join(r"\\tsarchive", "Storage", "Timeslips", "Installations", Settings.tsVersion, "utilities", "TSCodes.exe")) When this is called it opens a code generator application no problem The one that does not work is this: Settings.tssetup = App(os.path.join(r"\\tsarchive", "Storage", "Timeslips", "Installations", Settings.tsVersion, Settings.tsBuild, "setup.exe")) It never opens and says App not found. Same exact script works perfectly on Windows 7 Pro x64 even if I dumb the APP open command to this: tssetup = App(r'"c:\BUILD\Setup.exe"') and call tssetup.open() it says App not found. If i dumb down the App that does work TSCODE to this: TSCode = App(r'"c:\BUILD\TSCode.exe"') Retested all above with latest V1.01 with same results.
2013-10-11 10:30:09 RaiMan summary [1.0.1] Sikuli unable to open some Apps in windows 8 --- workaround [1.0.1] Windows8: App.open() does not work sometimes --- workaround
2013-10-11 10:34:34 RaiMan description ******** workaround you might use the run(cmd) instead of App.open() --- Windows result = run('start /i /b "%s"'%(app)) --- Mac result = run('open "%s"'%(app)) --- Linux ??? (use a similar command to run something in an independent process) result contains the textual output, that would be seen if you run the command on commadline the first line might contain *** error *** if the trial to run the command returned an error (e.g. program not found) ----------------------------------------------------------------------------- I have Sikuli R930 installed on Windows 8 Enterprise x64 currently. I have a script that installs software and it is not seeming to work properly. I have 2 App open commands and one works fine and the other just never works. the one that works fine is this: Settings.tscode = App(os.path.join(r"\\tsarchive", "Storage", "Timeslips", "Installations", Settings.tsVersion, "utilities", "TSCodes.exe")) When this is called it opens a code generator application no problem The one that does not work is this: Settings.tssetup = App(os.path.join(r"\\tsarchive", "Storage", "Timeslips", "Installations", Settings.tsVersion, Settings.tsBuild, "setup.exe")) It never opens and says App not found. Same exact script works perfectly on Windows 7 Pro x64 even if I dumb the APP open command to this: tssetup = App(r'"c:\BUILD\Setup.exe"') and call tssetup.open() it says App not found. If i dumb down the App that does work TSCODE to this: TSCode = App(r'"c:\BUILD\TSCode.exe"') Retested all above with latest V1.01 with same results. ******** workaround you might use the run(cmd) instead of App.open() --- Windows result = run('start /i /b "%s"'%(app)) --- Mac result = run('open "%s"'%(app)) --- Linux ??? (use a similar command to run something in an independent process) result contains the textual output, that would be seen if you run the command on commadline the first line might contain *** error *** if the trial to run the command returned an error (e.g. program not found) on the Java level (might change in the future!) import org.Sikuli.basics.SikuliScript SikuliScript.run(" ... some command ... ") ----------------------------------------------------------------------------- I have Sikuli R930 installed on Windows 8 Enterprise x64 currently. I have a script that installs software and it is not seeming to work properly. I have 2 App open commands and one works fine and the other just never works. the one that works fine is this: Settings.tscode = App(os.path.join(r"\\tsarchive", "Storage", "Timeslips", "Installations", Settings.tsVersion, "utilities", "TSCodes.exe")) When this is called it opens a code generator application no problem The one that does not work is this: Settings.tssetup = App(os.path.join(r"\\tsarchive", "Storage", "Timeslips", "Installations", Settings.tsVersion, Settings.tsBuild, "setup.exe")) It never opens and says App not found. Same exact script works perfectly on Windows 7 Pro x64 even if I dumb the APP open command to this: tssetup = App(r'"c:\BUILD\Setup.exe"') and call tssetup.open() it says App not found. If i dumb down the App that does work TSCODE to this: TSCode = App(r'"c:\BUILD\TSCode.exe"') Retested all above with latest V1.01 with same results.
2013-10-11 10:35:27 RaiMan description ******** workaround you might use the run(cmd) instead of App.open() --- Windows result = run('start /i /b "%s"'%(app)) --- Mac result = run('open "%s"'%(app)) --- Linux ??? (use a similar command to run something in an independent process) result contains the textual output, that would be seen if you run the command on commadline the first line might contain *** error *** if the trial to run the command returned an error (e.g. program not found) on the Java level (might change in the future!) import org.Sikuli.basics.SikuliScript SikuliScript.run(" ... some command ... ") ----------------------------------------------------------------------------- I have Sikuli R930 installed on Windows 8 Enterprise x64 currently. I have a script that installs software and it is not seeming to work properly. I have 2 App open commands and one works fine and the other just never works. the one that works fine is this: Settings.tscode = App(os.path.join(r"\\tsarchive", "Storage", "Timeslips", "Installations", Settings.tsVersion, "utilities", "TSCodes.exe")) When this is called it opens a code generator application no problem The one that does not work is this: Settings.tssetup = App(os.path.join(r"\\tsarchive", "Storage", "Timeslips", "Installations", Settings.tsVersion, Settings.tsBuild, "setup.exe")) It never opens and says App not found. Same exact script works perfectly on Windows 7 Pro x64 even if I dumb the APP open command to this: tssetup = App(r'"c:\BUILD\Setup.exe"') and call tssetup.open() it says App not found. If i dumb down the App that does work TSCODE to this: TSCode = App(r'"c:\BUILD\TSCode.exe"') Retested all above with latest V1.01 with same results. ******** workaround you might use the run(cmd) instead of App.open() --- Windows result = run('start /i /b "%s"'%(app)) --- Mac result = run('open "%s"'%(app)) --- Linux ??? (use a similar command to run something in an independent process) result contains the textual output, that would be seen if you run the command on commadline the first line might contain *** error *** if the trial to run the command returned an error (e.g. program not found) on the Java level (might change in the future!) import org.Sikuli.basics.SikuliScript ..... String result = SikuliScript.run(" ... some command ... "); ----------------------------------------------------------------------------- I have Sikuli R930 installed on Windows 8 Enterprise x64 currently. I have a script that installs software and it is not seeming to work properly. I have 2 App open commands and one works fine and the other just never works. the one that works fine is this: Settings.tscode = App(os.path.join(r"\\tsarchive", "Storage", "Timeslips", "Installations", Settings.tsVersion, "utilities", "TSCodes.exe")) When this is called it opens a code generator application no problem The one that does not work is this: Settings.tssetup = App(os.path.join(r"\\tsarchive", "Storage", "Timeslips", "Installations", Settings.tsVersion, Settings.tsBuild, "setup.exe")) It never opens and says App not found. Same exact script works perfectly on Windows 7 Pro x64 even if I dumb the APP open command to this: tssetup = App(r'"c:\BUILD\Setup.exe"') and call tssetup.open() it says App not found. If i dumb down the App that does work TSCODE to this: TSCode = App(r'"c:\BUILD\TSCode.exe"') Retested all above with latest V1.01 with same results.
2013-10-11 10:35:49 RaiMan summary [1.0.1] Windows8: App.open() does not work sometimes --- workaround [1.0.1] Windows8: App.open() does not work sometimes --- workaround: use run()
2014-01-12 14:24:41 RaiMan sikuli: milestone 1.1.0 1.2.0
2019-11-18 17:08:33 RaiMan sikuli: status In Progress Confirmed
2019-11-18 17:08:35 RaiMan sikuli: milestone 2.0.0