sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #46289
[Bug 1755730] [NEW] [1.1.x] Python script runner: sys.argv[0] should contain path of running script
Public bug reported:
It seems like sys.argv[0] is set to None when I run a script via sikulix
server.
Is there any way to have something meaningful for sys.argv[0]?
I'm using sikulix 1.1.2 on Linux (centos 7.4)
What is sent on port 50001 is:
RUN/t000_a_in?A=1;B=2;C=abcde
And inside t000_a_in.py:
if sys.argv[0] == None:
print "Is None"
** Affects: sikuli
Importance: High
Assignee: RaiMan (raimund-hocke)
Status: Fix Committed
** Changed in: sikuli
Status: New => Fix Committed
** Changed in: sikuli
Importance: Undecided => High
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli
Milestone: None => 1.1.3
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1755730
Title:
[1.1.x] Python script runner: sys.argv[0] should contain path of
running script
Status in Sikuli:
Fix Committed
Bug description:
It seems like sys.argv[0] is set to None when I run a script via
sikulix server.
Is there any way to have something meaningful for sys.argv[0]?
I'm using sikulix 1.1.2 on Linux (centos 7.4)
What is sent on port 50001 is:
RUN/t000_a_in?A=1;B=2;C=abcde
And inside t000_a_in.py:
if sys.argv[0] == None:
print "Is None"
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1755730/+subscriptions
Follow ups