sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #59072
[Bug 2036888] [NEW] setUsing does not work when path / parameter has spaces
Public bug reported:
when setusing has spaces in path then it does not open file. adding
Quotes does not work and in that case application is launched but param
is not passed. my path pay or may not have spaces any suggestion or
solution
someApp = App(acrobatPath)
file_path_with_quotes = r'"' + file_path + '"'
#file_path_with_quotes = file_path
print(file_path_with_quotes)
someApp.setUsing(file_path_with_quotes)
someApp.open()
acrobatPath=
"C:\git\consumer\Automations\FeatTests\FEAT\Viewer\Framework_Testing\TestFiles\VerifyInvalidPageNumber.sikuli\test.pdf"
** Affects: sikuli
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to SikuliX.
https://bugs.launchpad.net/bugs/2036888
Title:
setUsing does not work when path / parameter has spaces
Status in SikuliX:
New
Bug description:
when setusing has spaces in path then it does not open file. adding
Quotes does not work and in that case application is launched but
param is not passed. my path pay or may not have spaces any suggestion
or solution
someApp = App(acrobatPath)
file_path_with_quotes = r'"' + file_path + '"'
#file_path_with_quotes = file_path
print(file_path_with_quotes)
someApp.setUsing(file_path_with_quotes)
someApp.open()
acrobatPath=
"C:\git\consumer\Automations\FeatTests\FEAT\Viewer\Framework_Testing\TestFiles\VerifyInvalidPageNumber.sikuli\test.pdf"
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/2036888/+subscriptions
Follow ups