sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #55963
[Bug 1899843] [NEW] os.chdir progresses after script has exited
Public bug reported:
if you do os.chdir("path") inside the IDE and run it, when you run the
script again it starts at the new directory. So you have to always do
chdir("absolute path to start script") at the beginning of the script if
you are later using chdir() in the script.
IDE 2.0.4
Mac Os Mojave, 64 bit, 10.14.6
#This will work the first time
f = open("strings.txt", "r")
os.chdir("/Users/name/Downloads")
#Run script again
f = open("strings.txt", "r") <- error here
os.chdir("/Users/name/Downloads")
** Affects: sikuli
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1899843
Title:
os.chdir progresses after script has exited
Status in Sikuli:
New
Bug description:
if you do os.chdir("path") inside the IDE and run it, when you run the
script again it starts at the new directory. So you have to always do
chdir("absolute path to start script") at the beginning of the script
if you are later using chdir() in the script.
IDE 2.0.4
Mac Os Mojave, 64 bit, 10.14.6
#This will work the first time
f = open("strings.txt", "r")
os.chdir("/Users/name/Downloads")
#Run script again
f = open("strings.txt", "r") <- error here
os.chdir("/Users/name/Downloads")
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1899843/+subscriptions
Follow ups