sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34640
[Bug 1185559] Re: [1.0] IDE: Mac: Can't open a Sikuli script in file open dialog - script.sikuli not selectable --- workaround
** Changed in: sikuli
Importance: High => Critical
** Summary changed:
- [1.0] IDE: Mac: Can't open a Sikuli script in file open dialog - script.sikuli not selectable --- workaround
+ [1.0] IDE: Mac: Can't open a Sikuli script in file open dialog - script.sikuli not selectable --- fixed in 1.1.0
** Description changed:
+ ************* fixed in 1.1.0
+ the app generated at setup binds the .sikuli ending to the app when first started or moved to /Applications (recommended)
+
+ -------------------------------
*** problem ---------------------
This only happens on installations, that did not have Sikuli X-1.0rc3 installed before switching to the new version 1.0.0
On Mac it was once decided by the developers, to hide the folder
structure using the "this folder is a bundle/package" bit, which shows a
folder as file in the Finder.
Currently there is no app available, that registers this filetype, but
since the IDE on Mac still tries to open files, we have the mentioned
problem.
*** workaround -------------------
Until I have a fix for that, this is what one can do:
--- option 1:
download Sikuli X-1.0rc3 from
https://launchpad.net/sikuli/sikuli-api/x1.0-rc3/+download/Sikuli-X-1.0rc3%20%28r905%29-osx-10.6.dmg
and move the app to the /Applications folder.
This should register the filetypes .sikuli and .skl and the existing folders should no longer be folders but bundles (system restart might be necessary) with the respective Sikuli file icon.
It should not be necessary to start the RC3 IDE.
Now in the 1.0.0 IDE, .sikuli should show up as files and should be selectable.
The RC3 IDE app can be moved to trash afterwards.
--- option 2:
If you do not want to download RC3, but have Xcode installed on your system, then you can change a folder to a bundle in a Terminal session:
SetFile -a B path-to-folder/script.sikuli
Now the scripts are selectable, but do not have nice icons ;-)
--- option 3:
If you do not want to neither download RC3 nor Xcode, then you might try to use the SetFile command that I have taken from my Xcode 4.6.2 and put in a zip file for download at (look readme.txt)
https://dl.dropboxusercontent.com/u/42895525/Xcode-SetFile.zip
I swear it is clean ;-) but not tested on systems without Xcode.
usage: SetFile -a B path-to-folder/script.sikuli
----------------------------------------------------------------------------
Sikuli 1.0.0
Mac OSX 10.7.4
1) Open IDE
2) File --> Save
3) File --> Open
4) Select xxx.sikuli
5) The open button in the finder window is disabled, therefore you can't open the source.
I can provide a screenshot if you need this.
I'm running JDK 1.6
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1185559
Title:
[1.0] IDE: Mac: Can't open a Sikuli script in file open dialog -
script.sikuli not selectable --- fixed in 1.1.0
Status in Sikuli:
Fix Committed
Bug description:
************* fixed in 1.1.0
the app generated at setup binds the .sikuli ending to the app when first started or moved to /Applications (recommended)
-------------------------------
*** problem ---------------------
This only happens on installations, that did not have Sikuli X-1.0rc3 installed before switching to the new version 1.0.0
On Mac it was once decided by the developers, to hide the folder
structure using the "this folder is a bundle/package" bit, which shows
a folder as file in the Finder.
Currently there is no app available, that registers this filetype, but
since the IDE on Mac still tries to open files, we have the mentioned
problem.
*** workaround -------------------
Until I have a fix for that, this is what one can do:
--- option 1:
download Sikuli X-1.0rc3 from
https://launchpad.net/sikuli/sikuli-api/x1.0-rc3/+download/Sikuli-X-1.0rc3%20%28r905%29-osx-10.6.dmg
and move the app to the /Applications folder.
This should register the filetypes .sikuli and .skl and the existing folders should no longer be folders but bundles (system restart might be necessary) with the respective Sikuli file icon.
It should not be necessary to start the RC3 IDE.
Now in the 1.0.0 IDE, .sikuli should show up as files and should be selectable.
The RC3 IDE app can be moved to trash afterwards.
--- option 2:
If you do not want to download RC3, but have Xcode installed on your system, then you can change a folder to a bundle in a Terminal session:
SetFile -a B path-to-folder/script.sikuli
Now the scripts are selectable, but do not have nice icons ;-)
--- option 3:
If you do not want to neither download RC3 nor Xcode, then you might try to use the SetFile command that I have taken from my Xcode 4.6.2 and put in a zip file for download at (look readme.txt)
https://dl.dropboxusercontent.com/u/42895525/Xcode-SetFile.zip
I swear it is clean ;-) but not tested on systems without Xcode.
usage: SetFile -a B path-to-folder/script.sikuli
----------------------------------------------------------------------------
Sikuli 1.0.0
Mac OSX 10.7.4
1) Open IDE
2) File --> Save
3) File --> Open
4) Select xxx.sikuli
5) The open button in the finder window is disabled, therefore you can't open the source.
I can provide a screenshot if you need this.
I'm running JDK 1.6
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1185559/+subscriptions
References