RaiMan / SikuliX1

SikuliX version 2.0.0+ (2019+)
https://sikulix.github.io
MIT License
2.77k stars 355 forks source link

IDE does not show up on Kubuntu 20.04 LTS #430

Closed hapasa closed 3 years ago

hapasa commented 3 years ago

I can't spot any errors in the logs, but no IDE windows shows up, as if it would be open off-screen. It correctly seems to identify my two screens.

Logs below:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal

$ java -version
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-8u282-b08-0ubuntu1~20.04-b08)
OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)

$ java -jar sikulixide-2.0.5.jar -v -c 
[DEBUG]startUp: IDE: Running: /home/harri/test/sikuli/sikulixide-2.0.5.jar
[DEBUG]startUp: IDE: AppData: /home/harri/.Sikulix
[DEBUG]startUp: IDE: starting with classpath: sikulixide-2.0.5.jar ...
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[131 debug] RunTime:temp folder ok: /tmp/Sikulix_1591026607
Options: *** options dump
Options: testing = 
Options: OptionsFile = /home/harri/.Sikulix/SikulixStore/SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.5 API
user.home: /home/harri
work dir: /home/harri/test/sikuli
running on Linux 5.4.0-66-generic from a jar
running Java Private Build 1.8.0_282-8u282-b08-0ubuntu1~20.04-b08
java.io.tmpdir: /tmp
app data folder: /home/harri/.Sikulix
executing jar: /home/harri/test/sikuli/sikulixide-2.0.5.jar
*** classpath dump sikulix
  0: file:/home/harri/test/sikuli/sikulixide-2.0.5.jar
*** classpath dump end
***** show environment end
[DEBUG]startUp: IDE: *********************** leaving start
[16 debug] Sikulix: starting IDE
[27 debug] RunTime:temp folder ok: /tmp/Sikulix_1959025452
Options: *** options dump
Options: testing = 
Options: OptionsFile = /home/harri/.Sikulix/SikulixStore/SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.5 IDE
user.home: /home/harri
work dir: /home/harri/test/sikuli
running on Linux 5.4.0-66-generic from a jar
running Java Private Build 1.8.0_282-8u282-b08-0ubuntu1~20.04-b08
java.io.tmpdir: /tmp
app data folder: /home/harri/.Sikulix
executing jar: /home/harri/test/sikuli/sikulixide-2.0.5.jar
*** classpath dump sikulix
  0: file:/home/harri/test/sikuli/sikulixide-2.0.5.jar
  1: file:/home/harri/test/sikuli/sikulixide-2.0.5.jar
*** classpath dump end
***** show environment end
[105 debug] IDE: running with Locale: en_US
[DEBUG]startUp: IDE: --- Sikuli parameters ---
[DEBUG]startUp: IDE: 1: -v
[DEBUG]startUp: IDE: 2: -c
[108 debug] RunTime:loadlib: trying JXGrabKey
[110 debug] RunTime:libsExport: folder exists: /home/harri/.Sikulix/SikulixLibs (2.0.5 - 202103030910)
[110 debug] RunTime:loadLib: libJXGrabKey.so (success)
[111 debug] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[113 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[114 debug] IDE: Init ScriptingSupport
[116 debug] IDESupport: enter
[1671 debug] Runner: added: NetworkRunner [] NET
[1672 debug] Runner: added: Text [txt] text/text
[1672 debug] Runner: added: SikulixJar [jar] text/jar
[1678 debug] Runner: added: Jython [py] text/jython
[1678 debug] Runner: added: PackedSikulix [zip] application/zip
[1678 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[1678 debug] Runner: added: SikulixExecutableJar [executablejar] text/jar
[1679 debug] Runner: added: Sikulix [] directory/sikulix
[1679 debug] Runner: added: PackedSikulix [skl] text/skl
[1680 debug] IDESupport: added: Jython
[1680 debug] IDESupport: added: Text
[1680 debug] IDESupport: exit: defaultrunner: Jython (py)
[1682 debug] IDE: Reading Preferences
[1682 debug] IDE: Adding components to window
[1688 debug] IDE: [I18N] menuRecent
[1702 debug] IDE: [I18N] menuToolAndroid
[1705 debug] IDE: creating tabbed editor
[1796 debug] IDE: creating message area
[1833 debug] IDE: creating combined work window
[1835 debug] IDE: Putting all together
[1836 debug] IDE: Putting all together - after main pane
[1857 debug] IDE: Putting all together - after toolbar
[1859 debug] IDE: Putting all together - before layout
[1888 debug] IDE: Putting all together - after layout
[1889 debug] IDE: Putting all together - Restore last Session
[1898 debug] EditorPane: created 1615414992365
[1906 debug] JythonRunner: starting initialization
[1922 debug] EditorPane: InitTab: (text/jython)
[1927 debug] ImagePath: new BundlePath: /tmp/Sikulix_1959025452/SikulixIDETempTab1615414992365
[1935 debug] Screen: initScreens: starting
[1935 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[1936 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[1936 debug] Screen: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[1936 debug] Screen: Monitor 0: (0, 0) 2560 x 1440
[1937 debug] Screen: Monitor 1: (2560, 0) 2560 x 1440
[1938 debug] Screen: initScreens: monitor mouse check
[1966 debug] Screen: *** checking: R[0,0 2560x1440]@S(0) center: (1280, 720) --- OK
[1983 debug] Screen: *** checking: R[2560,0 2560x1440]@S(1) center: (3840, 720) --- OK
[1985 debug] Screen: initScreens: ending
[1985 debug] IDE startup:  2.0 seconds 
[debug] Jython: added as Jython::sys.path[0]:
/home/harri/.Sikulix/Lib/site-packages
[debug] Jython: ***** sys.path
 0: /tmp/Sikulix_1959025452/SikulixIDETempTab1615414992365
 1: /home/harri/.Sikulix/Lib/site-packages
 2: /home/harri/.Sikulix/Lib
 3: /home/harri/test/sikuli/Lib
 4: /home/harri/test/sikuli/sikulixide-2.0.5.jar/Lib
[3589 debug] JythonRunner: ready: version 2.7.2 
hapasa commented 3 years ago

Problem solved by changing the jdk:

sudo apt-get install openjdk-11-jdk