[1.1.1] macOS: popFile() hangs --- fixed 1.1.2 2017-05-28

Bug #1694102 reported by RaiMan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
Critical
RaiMan

Bug Description

Hello,

I am running a test script on macOS where I choose a location of a folder and sikuli stores the variable for use later in the script. I am running into an issue where sikuli will correctly run the script the 1st time I run it after starting the IDE, but a 2nd run will see sikuli hide the IDE window (like normal when it runs scripts), but nothing happens. I can see that the process is active in Activity Monitor, but I need to force quit the app to use it further.

Sometimes, sikuli hangs on the 1st run of the script.

I am using Sikuli 1.1.1 2017-03-30 (I did just upgrade from the 2017-03-15 build by deleting the sikuli app and the 'App Support' folder and installing the new version fresh)

macOS Sierra 10.12.5

JDK 1.8

Here is my script:

from sikuli import * <--I have this line here because I am wanting to call this function via another sikuli script

def SDKLocation():
   Location = popFile("choose")
   Location = Location + "/_build/bin/release/"
   popup(Location)

SDKLocation()

I have noticed that if I remove the ' + "/_build/bin/release/" ' bit that the script seems to run more (about 3 or 4 times) before hanging on the next run.

Am I do something that would cause this behavior? Or is this a bug?

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.2
RaiMan (raimund-hocke)
Changed in sikuli:
status: In Progress → Fix Committed
importance: High → Critical
summary: - [1.1.1] macOS: popFile() hangs
+ [1.1.1] macOS: popFile() hangs --- fixed 1.1.2 2017-05-28
Revision history for this message
Ryan (ryan-g2) wrote :

oooh, looks like it was a bug. I guess this means I should try to give 1.1.2 a shot ;)

Thanks for fixing!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.