← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #691363]: When I tried taking screenshoot, the screen turned black. I use Ubuntu 18.04 on Dell laptop without any other monitor attached.

 

Question #691363 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691363

Rakha Fauzan gave more information on the question:
This is the message appearing in my terminal when I use the command java
-jar SikuliX/sikulixide-2.0.4.jar -c -v

[DEBUG]startUp: IDE: Running: /home/administrator/SikuliX/sikulixide-2.0.4.jar
[DEBUG]startUp: IDE: AppData: /home/administrator/.Sikulix
[DEBUG]startUp: IDE: starting with classpath: SikuliX/sikulixide-2.0.4.jar ...
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[DEBUG]startUp: IDE: adding extension file: /home/administrator/.Sikulix/Extensions/jython-standalone-2.7.1.jar
[204 debug] RunTime:temp folder ok: /tmp/Sikulix_499215818
Options: *** options dump
Options: testing = 
Options: OptionsFile = /home/administrator/.Sikulix/SikulixStore/SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.4-2020-03-14_08:01 API
user.home: /home/administrator
user.dir (work dir): /home/administrator
user.name: administrator
java.io.tmpdir: /tmp
running 64Bit(amd64) on l (5.3.0-59-generic) from a jar
java 11 version 11 vm 11.0.7+10-post-Ubuntu-2ubuntu218.04 class 55.0 arch 64
app data folder: /home/administrator/.Sikulix
executing jar: /home/administrator/SikuliX/sikulixide-2.0.4.jar
*** classpath dump sikulix
  0: SikuliX/sikulixide-2.0.4.jar
*** classpath dump end
***** show environment end
[DEBUG]startUp: IDE: *********************** leaving start
[25 debug] Sikulix: starting IDE
[42 debug] RunTime:temp folder ok: /tmp/Sikulix_2020422462
Options: *** options dump
Options: testing = 
Options: OptionsFile = /home/administrator/.Sikulix/SikulixStore/SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.4-2020-03-14_08:01 IDE
user.home: /home/administrator
user.dir (work dir): /home/administrator
user.name: administrator
java.io.tmpdir: /tmp
running 64Bit(amd64) on l (5.3.0-59-generic) from a jar
java 11 version 11 vm 11.0.7+10-post-Ubuntu-2ubuntu218.04 class 55.0 arch 64
app data folder: /home/administrator/.Sikulix
executing jar: /home/administrator/SikuliX/sikulixide-2.0.4.jar
*** classpath dump sikulix
  0: /home/administrator/SikuliX/sikulixide-2.0.4.jar
  1: /home/administrator/.Sikulix/Extensions/jython-standalone-2.7.1.jar
  2: SikuliX/sikulixide-2.0.4.jar
*** classpath dump end
***** show environment end
[181 debug] IDE: running with Locale: en_US
[DEBUG]startUp: IDE: --- Sikuli parameters ---
[DEBUG]startUp: IDE: 1: -c
[DEBUG]startUp: IDE: 2: -v
[192 debug] RunTime:loadlib: trying JXGrabKey
[194 debug] RunTime:libsExport: folder exists: /home/administrator/.Sikulix/SikulixLibs (2.0.4 - 202003140801)
[195 debug] RunTime:loadLib: libJXGrabKey.so (success)
[195 debug] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[198 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[198 debug] IDE: Init ScriptingSupport
[201 debug] IDESupport: enter
[882 debug] Runner: added: JavaScript [js] text/javascript
[882 debug] Runner: added: SikulixJar [jar] text/jar
[883 debug] Runner: added: NetworkRunner [] NET
[893 debug] Runner: added: Jython [py] text/jython
[893 debug] Runner: added: PackedSikulix [zip] application/zip
[894 debug] Runner: added: PackedSikulix [skl] text/skl
[894 debug] Runner: added: Sikulix [] directory/sikulix
[895 debug] Runner: added: Text [txt] text/text
[896 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[896 debug] IDESupport: added: Jython
[896 debug] IDESupport: added: JavaScript
[896 debug] IDESupport: added: Text
[896 debug] IDESupport: exit: defaultrunner: Jython (py)
[899 debug] IDE: Reading Preferences
[900 debug] IDE: Adding components to window
[913 debug] IDE: [I18N] menuRecent
[930 debug] IDE: [I18N] menuToolAndroid
[933 debug] IDE: creating tabbed editor
[1019 debug] IDE: creating message area
[1077 debug] IDE: creating combined work window
[1079 debug] IDE: Putting all together
[1080 debug] IDE: Putting all together - after main pane
[1099 debug] IDE: Putting all together - after toolbar
[1100 debug] IDE: Putting all together - before layout
[1151 debug] IDE: Putting all together - after layout
[1151 debug] IDE: Putting all together - Restore last Session
[1152 debug] IDE: Restore scripts from last session
[1152 debug] IDE: Restore Sikuli script: /home/administrator/SikuliX/RPA/sikuliScript/coba2.sikuli
[1159 debug] EditorPane: created 1592800204433
[1165 debug] EditorPane: loadfile: /home/administrator/SikuliX/RPA/sikuliScript/coba2.sikuli
[1167 debug] JythonRunner: starting initialization
[1169 debug] RunTime:resourceLocation: (class org.sikuli.script.support.RunTime) /Lib/sikuli
[1170 debug] RunTime:resourceList: having jar: jar:file:/home/administrator/SikuliX/sikulixide-2.0.4.jar!/Lib/sikuli
[1186 debug] EditorPane: InitTab: (text/jython)
[1187 debug] SikuliEditorKit.read
[1192 debug] ImagePath: new BundlePath: /home/administrator/SikuliX/RPA/sikuliScript/coba2.sikuli
[1193 debug] EditorPane: setFiles: for: /home/administrator/SikuliX/RPA/sikuliScript/coba2.sikuli
[1207 debug] IDE: Restore Sikuli script: /home/administrator/test.sikuli
[1210 debug] EditorPane: created 1592800204484
[1212 debug] EditorPane: loadfile: /home/administrator/test.sikuli
[1215 debug] EditorPane: InitTab: (text/jython)
[1215 debug] SikuliEditorKit.read
[1219 debug] ImagePath: new BundlePath: /home/administrator/test.sikuli
[1220 debug] EditorPane: setFiles: for: /home/administrator/test.sikuli
[1223 debug] ImagePath: new BundlePath: /home/administrator/SikuliX/RPA/sikuliScript/coba2.sikuli
[1227 debug] Screen: initScreens: starting
[1227 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[1227 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[1227 debug] Screen: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[1227 debug] Screen: Monitor 0: (0, 0) 1920 x 1080
[1228 debug] Mouse: init start
[1237 debug] Mouse: init end
[1238 debug] Screen: initScreens: ending
[1238 debug] IDE startup:  1.2 seconds *** Running on Java 9+
[debug] RunTime:files exported: 7 from: Lib/sikuli to:
 /home/administrator/.Sikulix/Lib/sikuli
[debug] Jython: added as Jython::sys.path[0]:
/home/administrator/.Sikulix/Lib/site-packages
[debug] Jython: ***** sys.path
 0: /home/administrator/SikuliX/RPA/sikuliScript/coba2.sikuli
 1: /home/administrator/.Sikulix/Lib/site-packages
 2: /home/administrator/.Sikulix/Lib
 3: /home/administrator/.Sikulix/Extensions/Lib
 4: /home/administrator/.Sikulix/Extensions/jython-standalone-2.7.1.jar/Lib
[3647 debug] JythonRunner: ready: version 2.7.1 
[debug] ImagePath: new BundlePath: /home/administrator/test.sikuli
[debug] ImagePath: new BundlePath: /home/administrator/SikuliX/RPA/sikuliScript/coba2.sikuli

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