sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #21681
[Bug 1238197] Re: Sikuli unable to open some Apps in windows 8
at least this
tssetup = App(r'"c:\BUILD\Setup.exe"')
should be:
tssetup = App(r"c:\BUILD\Setup.exe")
because in your version the " will be part of the app file name and hence does not exist.
Additional quoting is not necessary with the App feature.
The App open feature will be revised in version 1.1.0
For now you might try the following:
app = os.path.join(r"\\tsarchive", "Storage", "Timeslips", "Installations", Settings.tsVersion, Settings.tsBuild, "setup.exe")
import java.lang.Runtime as RT
cmd = ("start", "/i", "/b", app)
RT.getRuntime().exec(cmd)
this will be used in version 1.1.0 for all situations, where we need to
start something in parallel to Sikuli.
** Changed in: sikuli
Status: New => In Progress
** Changed in: sikuli
Importance: Undecided => Medium
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli
Milestone: None => 1.1.0
** Summary changed:
- Sikuli unable to open some Apps in windows 8
+ [1.0.1] Sikuli unable to open some Apps in windows 8
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1238197
Title:
[1.0.1] Sikuli unable to open some Apps in windows 8
Status in Sikuli:
In Progress
Bug 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1238197/+subscriptions
References