RaiMan / SikuliX-2014

SikuliX version 1.1.2 (until February 2018)
http://sikulix.com
806 stars 234 forks source link

MacOS Sierra: Unable to screenshot in 2 monitor setup #246

Closed shyukri closed 7 years ago

shyukri commented 7 years ago

Running v 1.1.

[debug] Screen: initScreens: multi monitor mouse check
[debug] Screen: *** checking: S(0)[0,0 1920x1080] center: (960, 540) --- OK
[debug] Screen: *** checking: S(1)[1920,0 1280x800] center: (2560, 400) --- OK
[debug] RunTimeIDE: loadLib: libMacUtil.dylib
[debug] Jython: requested to use as default region: S(0)[0,0 1920x1080]
[debug] Jython: sikuli: Sikuli: ending init
[debug] JythonScriptRunner: running Jython 2.7.0
[debug] ScriptingSupport: initScriptingSupport: added: jython
[debug] ScriptingSupport: initScriptingSupport: added: jruby
[debug] ScriptingSupport: initScriptingSupport: exit with defaultrunner: jython (py)
[debug] IDE: Adding components to window
[debug] [I18N] menuRecent
[debug] IDE: creating tabbed editor
[debug] IDE: creating message area
[debug] IDE: creating combined work window
[debug] IDE: Putting all together
[debug] restore session: /Users/user/sikulix/test/1st.sikuli
[debug] IDE: doNew: create new tab at: -1
[debug] EditorPane: EditorPane: creating new pane (constructor)
[debug] EditorPane: loadfile: /Users/user/sikulix/test/1st.sikuli
[debug] ImagePath: new BundlePath:
/Users/user/sikulix/test/1st.sikuli/
[debug] EditorPane: initBeforeLoad: py
[debug] EditorPane: updateDocumentListeners from: initBeforeLoad
[debug] EditorPane: InitTab: (text/python)
[debug] SikuliEditorKit.read
[debug] EditorPane: updateDocumentListeners from: loadFile
[info] IDE startup: 10.9 seconds
[debug] IDE startup: 10.9 seconds
[debug] capture!
Exception in thread "capture" java.lang.NoSuchMethodError: org.sikuli.script.Screen.startPrompt(Ljava/lang/String;Lorg/sikuli/util/EventObserver;)V
    at org.sikuli.ide.ButtonCapture$1.run(ButtonCapture.java:106)
^C[debug] RunTimeIDE: final cleanup
RaiMan commented 7 years ago

running 1.1.0 or 1.1.1 ???

shyukri commented 7 years ago

Hi, it's 1.1.1

RaiMan commented 7 years ago

ok, I will check it.

RaiMan commented 7 years ago

checked - not reproducible with latest 1.1.1

especially I did not find any situation with the debug output of [debug] capture!

So please make sure to use the latest 1.1.1 and in case it persists, please give more details, what exactly you are doing to get the error situation.

shyukri commented 7 years ago

I've cleaned up old files and now it works fine. Thanks for the fast feedback!