← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #696076]: [2.0.5] IDE: macOS 11: problems with screen capture and mouse actions

 

Question #696076 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696076

Pedro Pablo posted a new comment:
resetting the mac and running again
java -jar /Users/pedropablo/tagui/src/sikulix/sikulix.jar -v -c -v 3

the message "[error] Mouse: not useable (blocked)." is gone


MBP-de-Pedro:~ pedropablo$ java -jar /Users/pedropablo/tagui/src/sikulix/sikulix.jar -v -c -v 3
[DEBUG]startUp: IDE: Running: /Users/pedropablo/tagui/src/sikulix/sikulix.jar
[DEBUG]startUp: IDE: AppData: /Users/pedropablo/Library/Application Support/Sikulix
[DEBUG]startUp: IDE: starting with classpath: /Users/pedropablo/tagui/src/sikulix/sikulix.jar ...
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[337 debug] RunTime:temp folder ok: /var/folders/pc/xyqpf_hn7yd2r_z3fbybt1b00000gn/T/Sikulix_305577104
Options: *** options dump
Options: testing = 
Options: OptionsFile = /Users/pedropablo/Library/Application Support/Sikulix/SikulixStore/SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.5 API
user.home: /Users/pedropablo
work dir: /Users/pedropablo
running on macOS 10.16 from a jar
running Java AdoptOpenJDK 11.0.10+9
java.io.tmpdir: /var/folders/pc/xyqpf_hn7yd2r_z3fbybt1b00000gn/T
app data folder: /Users/pedropablo/Library/Application Support/Sikulix
executing jar: /Users/pedropablo/tagui/src/sikulix/sikulix.jar
*** classpath dump sikulix
  0: /Users/pedropablo/tagui/src/sikulix/sikulix.jar
*** classpath dump end
***** show environment end
[DEBUG]startUp: IDE: *********************** leaving start
[32 debug] Sikulix: starting IDE
[105 debug] RunTime:temp folder ok: /var/folders/pc/xyqpf_hn7yd2r_z3fbybt1b00000gn/T/Sikulix_1220254847
Options: *** options dump
Options: testing = 
Options: OptionsFile = /Users/pedropablo/Library/Application Support/Sikulix/SikulixStore/SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.5 IDE
user.home: /Users/pedropablo
work dir: /Users/pedropablo
running on macOS 10.16 from a jar
running Java AdoptOpenJDK 11.0.10+9
java.io.tmpdir: /var/folders/pc/xyqpf_hn7yd2r_z3fbybt1b00000gn/T
app data folder: /Users/pedropablo/Library/Application Support/Sikulix
executing jar: /Users/pedropablo/tagui/src/sikulix/sikulix.jar
*** classpath dump sikulix
  0: /Users/pedropablo/tagui/src/sikulix/sikulix.jar
*** classpath dump end
***** show environment end
[264 debug] IDE: running with Locale: es
[DEBUG]startUp: IDE: --- Sikuli parameters ---
[DEBUG]startUp: IDE: 1: -v
[DEBUG]startUp: IDE: 2: -c
[DEBUG]startUp: IDE: 3: -v
[DEBUG]startUp: IDE: 4: 3
[276 debug] HotkeyManager: add Capture Hotkey: ⌘+⇧ 2 (50, 5)
[345 debug] HotkeyManager: add Abort Hotkey: ⌘+⇧ C (67, 5)
[365 debug] IDE: Init ScriptingSupport
[369 debug] IDESupport: enter
[2075 debug] Runner: added: AppleScript [script] text/applescript
[2076 debug] Runner: added: PackedSikulix [zip] application/zip
[2076 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[2076 debug] Runner: added: SikulixExecutableJar [executablejar] text/jar
[2082 debug] Runner: added: Jython [py] text/jython
[2083 debug] Runner: added: Sikulix [] directory/sikulix
[2083 debug] Runner: added: SikulixJar [jar] text/jar
[2083 debug] Runner: added: PackedSikulix [skl] text/skl
[2084 debug] Runner: added: NetworkRunner [] NET
[2084 debug] Runner: added: Text [txt] text/text
[2086 debug] IDESupport: added: Jython
[2086 debug] IDESupport: added: Text
[2086 debug] IDESupport: exit: defaultrunner: Jython (py)
[2089 debug] IDE: Reading Preferences
[2089 debug] IDE: Adding components to window
[2105 debug] IDE: [I18N] menuRecent
[2120 debug] IDE: [I18N] menuToolAndroid
[2125 debug] IDE: creating tabbed editor
[2201 debug] IDE: creating message area
[2262 debug] IDE: creating combined work window
[2265 debug] IDE: Putting all together
[2267 debug] IDE: Putting all together - after main pane
[2288 debug] IDE: Putting all together - after toolbar
[2290 debug] IDE: Putting all together - before layout
[2896 debug] IDE: Putting all together - after layout
[2896 debug] IDE: Putting all together - Restore last Session
[2896 debug] IDE: Restore scripts from last session
[2897 debug] IDE: Restore Python script: BBB.py
[2904 debug] EditorPane: created 1615926340227
[2909 debug] EditorPane: loadfile: /Users/pedropablo/tagui/flows/comisaria_virtual/BBB.sikuli/BBB.py
[2910 debug] JythonRunner: starting initialization
[2931 debug] EditorPane: InitTab: (text/jython)
[2931 debug] SikuliEditorKit.read
[2944 debug] ImagePath: new BundlePath: /Users/pedropablo/tagui/flows/comisaria_virtual/BBB.sikuli
[2944 debug] EditorPane: setFiles: for: /Users/pedropablo/tagui/flows/comisaria_virtual/BBB.sikuli/BBB.py
[2945 debug] EditorPane: checkSource: started (/Users/pedropablo/tagui/flows/comisaria_virtual/BBB.sikuli/BBB.py)
[2991 debug] Image: loaded: 1614647849963.png (file:/Users/pedropablo/tagui/flows/comisaria_virtual/BBB.sikuli/1614647849963.png)
[2991 debug] Image: cached: 1614647849963.png (32 KB) (# 1 KB 32 -- 0 % of 64 MB)
[2998 debug] Image: reused: 1614647849963.png (file:/Users/pedropablo/tagui/flows/comisaria_virtual/BBB.sikuli/1614647849963.png)
[3007 debug] Screen: initScreens: starting
[3008 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[3008 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[3009 debug] Screen: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[3010 debug] Screen: Monitor 0: (0, 0) 1680 x 1050
[3012 debug] Screen: initScreens: monitor mouse check
[error] Mouse: not useable (blocked)
See: https://github.com/RaiMan/SikuliX1/wiki/Allow-SikuliX-actions-on-macOS
[3044 debug] Screen: initScreens: ending
[4356 debug] Jython: added as Jython::sys.path[0]:
/Users/pedropablo/Library/Application Support/Sikulix/Lib/site-packages
[4357 debug] Jython: ***** sys.path
 0: /Users/pedropablo/tagui/flows/comisaria_virtual/BBB.sikuli
 1: /Users/pedropablo/Library/Application Support/Sikulix/Lib/site-packages
 2: /Users/pedropablo/Library/Application Support/Sikulix/Lib
 3: /Users/pedropablo/tagui/src/sikulix/Lib
 4: /Users/pedropablo/tagui/src/sikulix/sikulix.jar/Lib
[4533 debug] JythonRunner: ready: version 2.7.2 


I take screenshot , but it didn't work, the IDE keeps disappearing after the screenshot.

[debug] IDE startup:  5,2 seconds *** Running on Java 9+
[debug] ButtonCapture: capture started
[debug] ScreenImage.store: /Users/pedropablo/Library/Application Support/Sikulix/SikulixStore/lastScreenShot.png
[debug] CapturePrompt: started at (1663,1044) as L(1663,1044) on 0
[debug] CapturePrompt: finished at (1565,914) as L(1565,914) on 0
[debug] ButtonCapture: finished
[debug] Image: BufferedImage: (99, 131)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.