sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #21478
[Bug 1234531] [NEW] [1.0.1] scripts having blanks in path cannot be run
Public bug reported:
******* problem
Typically I call my Sikuli from a shell script using escaped characters:
/Volumes/GraphicsXRaid/04\ Elements/_AE_Scripts_Effects/scripts\ from\
Kevin/Index\ Comps\ From\ Projects/Suppress_AE_Dialogs.sikuli
But I just ran a quoted version of the escaped path (TEST 2) and also
got a similar output. BUT, this time I noticed what it's doing. The
output says:
[error] FileManager: Not a valid Sikuli script:
/Volumes/GraphicsXRaid/04\.sikuli
This is interesting because even though the space after the 04 in the
path name is escaped and the entire path is quoted, it's tried to
truncate my path name to "/Volumes/GraphicsXRaid/04\.sikuli" instead of
"/Volumes/GraphicsXRaid/04\ Elements/_AE_Scripts_Effects/scripts\ from\
Kevin/Index\ Comps\ From\ Projects/Suppress_AE_Dialogs.sikuli"
I just moved my script to another test directory without a leading
number followed by a space and Sikuli is working normally. I can double
click and open the script file and it opens fine, as well as launch the
script from command line and it works as expected. Is the leading number
followed by a space crash a bug or am I missing something?
------------------------------------------------------------------------
[Mac OSX 10.6.8] [Sikuli 1.0.1]
When I create a script and try to run the script or executable via
command line, the Sikuli icon bounces and is highlighted in the dock,
then the java applet bounces and highlights and the yellow banner
flashes. At that point, both the java applet disappears and the
highlight is removed from the dock icon, indicating that the app is no
longer running.
I thought I might be doing something wrong but there's another seemingly
related issue. When I double click the .sikuli script file, the IDE
opens with that annoying dialog that says click ok or the script will
run in 3 seconds. But instead of opening the script as it has in the
past, it opens with an untitled document. If I try opening the script
again from the file menu, the script will open and run fine.
I've checked the contents of the executable and the .py and html files
are there with the correct info. Just not sure why this is no longer
working. Any ideas?
Thanks!
** 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.0
** Description changed:
+ ******* problem
+
+ Typically I call my Sikuli from a shell script using escaped characters:
+
+ /Volumes/GraphicsXRaid/04\ Elements/_AE_Scripts_Effects/scripts\ from\
+ Kevin/Index\ Comps\ From\ Projects/Suppress_AE_Dialogs.sikuli
+
+ But I just ran a quoted version of the escaped path (TEST 2) and also
+ got a similar output. BUT, this time I noticed what it's doing. The
+ output says:
+
+ [error] FileManager: Not a valid Sikuli script:
+ /Volumes/GraphicsXRaid/04\.sikuli
+
+ This is interesting because even though the space after the 04 in the
+ path name is escaped and the entire path is quoted, it's tried to
+ truncate my path name to "/Volumes/GraphicsXRaid/04\.sikuli" instead of
+ "/Volumes/GraphicsXRaid/04\ Elements/_AE_Scripts_Effects/scripts\ from\
+ Kevin/Index\ Comps\ From\ Projects/Suppress_AE_Dialogs.sikuli"
+
+ I just moved my script to another test directory without a leading
+ number followed by a space and Sikuli is working normally. I can double
+ click and open the script file and it opens fine, as well as launch the
+ script from command line and it works as expected. Is the leading number
+ followed by a space crash a bug or am I missing something?
+
+ ------------------------------------------------------------------------
+
[Mac OSX 10.6.8] [Sikuli 1.0.1]
When I create a script and try to run the script or executable via
command line, the Sikuli icon bounces and is highlighted in the dock,
then the java applet bounces and highlights and the yellow banner
flashes. At that point, both the java applet disappears and the
highlight is removed from the dock icon, indicating that the app is no
longer running.
I thought I might be doing something wrong but there's another seemingly
related issue. When I double click the .sikuli script file, the IDE
opens with that annoying dialog that says click ok or the script will
run in 3 seconds. But instead of opening the script as it has in the
past, it opens with an untitled document. If I try opening the script
again from the file menu, the script will open and run fine.
I've checked the contents of the executable and the .py and html files
are there with the correct info. Just not sure why this is no longer
working. Any ideas?
Thanks!
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1234531
Title:
[1.0.1] scripts having blanks in path cannot be run
Status in Sikuli:
Fix Committed
Bug description:
******* problem
Typically I call my Sikuli from a shell script using escaped
characters:
/Volumes/GraphicsXRaid/04\ Elements/_AE_Scripts_Effects/scripts\ from\
Kevin/Index\ Comps\ From\ Projects/Suppress_AE_Dialogs.sikuli
But I just ran a quoted version of the escaped path (TEST 2) and also
got a similar output. BUT, this time I noticed what it's doing. The
output says:
[error] FileManager: Not a valid Sikuli script:
/Volumes/GraphicsXRaid/04\.sikuli
This is interesting because even though the space after the 04 in the
path name is escaped and the entire path is quoted, it's tried to
truncate my path name to "/Volumes/GraphicsXRaid/04\.sikuli" instead
of "/Volumes/GraphicsXRaid/04\ Elements/_AE_Scripts_Effects/scripts\
from\ Kevin/Index\ Comps\ From\ Projects/Suppress_AE_Dialogs.sikuli"
I just moved my script to another test directory without a leading
number followed by a space and Sikuli is working normally. I can
double click and open the script file and it opens fine, as well as
launch the script from command line and it works as expected. Is the
leading number followed by a space crash a bug or am I missing
something?
------------------------------------------------------------------------
[Mac OSX 10.6.8] [Sikuli 1.0.1]
When I create a script and try to run the script or executable via
command line, the Sikuli icon bounces and is highlighted in the dock,
then the java applet bounces and highlights and the yellow banner
flashes. At that point, both the java applet disappears and the
highlight is removed from the dock icon, indicating that the app is no
longer running.
I thought I might be doing something wrong but there's another
seemingly related issue. When I double click the .sikuli script file,
the IDE opens with that annoying dialog that says click ok or the
script will run in 3 seconds. But instead of opening the script as it
has in the past, it opens with an untitled document. If I try opening
the script again from the file menu, the script will open and run
fine.
I've checked the contents of the executable and the .py and html files
are there with the correct info. Just not sure why this is no longer
working. Any ideas?
Thanks!
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1234531/+subscriptions
Follow ups
References