sikulix IDE starts with no menu and input field

Asked by yuyubbo on 2020-02-05

Hello,

I'm using sikulix IDE version 2.0.2 on windows 10.
I can use IDE GUI and also run scripts until yesterday.
This morning I start sikulix IDE (double clicking jar icon), then IDE started but there was no menu bar and input field (where we input code and screen shot images).
Just square bottom to spread to full screen and cross bottom to close application.

I thought it is java version issue, so uninstalled java, installed it, restarted PC, but problem is still.
Next, I tried to open IDE from command prompt, the same problem goes again.
> java -jar "path of IDE.jar"

I can display java version by java -version.

Could someone tell me how to fix this problem?

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2020-02-08
Last query:
2020-02-08
Last reply:
2020-02-05
RaiMan (raimund-hocke) said : #1

use on commandline:

 java -jar "path of IDE.jar" -v -c

to get diagnostic output to the commandwindow.

yuyubbo (yuyubbo) said : #2

thank you!

I tried and got diagnostic output.
I cant find problem out there.
Could you tell me some points to check?

Actually "myname" includes blank.
Could that cause problem?
(it failed to execute java -jar from command line when IDE directory includes blank, so i used bat)

[DEBUG]startUp: IDE: Running: C:\sikulix-2.0.2.jar
[DEBUG]startUp: IDE: AppData: C:\Users\myname\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[DEBUG]startUp: IDE: adding extension: C:\Users\myname\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar
[DEBUG]startUp: IDE: adding extension: C:\Users\myname\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[410 debug] RunTime:temp folder ok: C:\Users\myname~1\AppData\Local\Temp\Sikulix_637690202
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\myname\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.2-2020-01-29_15:26 API
user.home: C:\Users\myname
user.dir (work dir): C:\WINDOWS\system32
user.name: myname
java.io.tmpdir: C:\Users\myname~1\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar
java 8 version 1.8 vm 25.241-b07 class 52.0 arch 64
app data folder: C:\Users\myname\AppData\Roaming\Sikulix
executing jar: C:\sikulix-2.0.2.jar
*** classpath dump sikulix
  0: file:/C:/sikulix-2.0.2.jar
*** classpath dump end
***** show environment end
[DEBUG]startUp: IDE: *********************** leaving start
[725 debug] RunTime:***** final cleanup at System.exit() *****
[798 debug] FileManager: deleteFileOrFolder:
C:\Users\myname~1\AppData\Local\Temp\Sikulix_637690202
[82 debug] Sikulix: starting IDE
[165 debug] RunTime:temp folder ok: C:\Users\myname~1\AppData\Local\Temp\Sikulix_1677316094
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\myname\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.2-2020-01-29_15:26 IDE
user.home: C:\Users\myname
user.dir (work dir): C:\WINDOWS\system32
user.name: myname
java.io.tmpdir: C:\Users\myname~1\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar
java 8 version 1.8 vm 25.241-b07 class 52.0 arch 64
app data folder: C:\Users\myname\AppData\Roaming\Sikulix
executing jar: C:\sikulix-2.0.2.jar
*** classpath dump sikulix
  0: file:/C:/sikulix-2.0.2.jar
  1: file:/C:/Users/my%20name/AppData/Roaming/Sikulix/Extensions/jruby-complete-9.2.0.0.jar
  2: file:/C:/Users/my%20name/AppData/Roaming/Sikulix/Extensions/jython-standalone-2.7.1.jar
*** classpath dump end
***** show environment end
[542 debug] init user preferences
[546 debug] IDE: running with Locale: ja_JP
[DEBUG]startUp: IDE: --- Sikuli parameters ---
[DEBUG]startUp: IDE: 1: -c
[DEBUG]startUp: IDE: 2: -v
[557 debug] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[1455 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[1456 debug] IDE: Init ScriptingSupport
[1467 debug] IDESupport: enter
[3914 debug] Runner: added: Sikulix [] directory/sikulix
[3918 debug] Runner: added: NetworkRunner [] NET
[3919 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[3919 debug] Runner: added: Text [txt] text/text
[3920 debug] Runner: added: PowerShell [ps1] text/powershell
[3956 debug] Runner: added: JRuby [rb] text/ruby
[3986 debug] Runner: added: Jython [py] text/jython
[4773 debug] Runner: added: JavaScript [js] text/javascript
[4775 debug] Runner: added: PackedSikulix [zip] application/zip
[4775 debug] Runner: added: SikulixJar [jar] text/jar
[4777 debug] Runner: added: PackedSikulix [skl] text/skl
[4778 debug] IDESupport: added: Jython
[4779 debug] IDESupport: added: JRuby
[4779 debug] IDESupport: added: JavaScript
[4780 debug] IDESupport: added: Text
[4780 debug] IDESupport: exit: defaultrunner: Jython (py)
[4786 debug] IDE: Reading Preferences
[4800 debug] Pixel: initScreens: starting
[4800 debug] Pixel: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[4800 debug] Pixel: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[4801 debug] Pixel: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[4801 debug] Pixel: Monitor 0: (0, 0) 1920 x 1080
[4805 debug] Mouse: init start
[5322 debug] Mouse: init end
[5322 debug] Pixel: initScreens: ending
[5323 debug] IDE: Adding components to window
[5350 debug] IDE: [I18N] menuRecent
[5398 debug] IDE: [I18N] menuToolAndroid
[5406 debug] IDE: creating tabbed editor
[5657 debug] IDE: creating message area
[5951 debug] IDE: creating combined work window
[5960 debug] IDE: Putting all together
[5960 debug] IDE: Putting all together - after main pane
[6171 debug] IDE: Putting all together - after toolbar
[6177 debug] IDE: Putting all together - before layout
[6320 debug] IDE: Putting all together - after layout
[6323 debug] IDE: Putting all together - Restore last Session
[6349 debug] EditorPane: created 1580915823844
[6372 debug] JythonRunner: starting initialization
[6380 debug] RunTime:resourceLocation: (class org.sikuli.script.support.RunTime) /Lib/sikuli
[6381 debug] RunTime:resourceList: having jar: jar:file:/C:/sikulix-2.0.2.jar!/Lib/sikuli
[6428 debug] EditorPane: InitTab: (text/jython)
[6445 debug] ImagePath: new BundlePath: C:\Users\myname\AppData\Local\Temp\Sikulix_1677316094\SikulixIDETempTab1580915823844
[6454 debug] IDE startup: 6.5 seconds
[debug] RunTime:files exported: 7 from: Lib/sikuli to:
 C:\Users\myname\AppData\Roaming\Sikulix\Lib\sikuli
[debug] Jython: added as Jython::sys.path[0]:
C:\Users\myname\AppData\Roaming\Sikulix\Lib\site-packages
[debug] Jython: ***** sys.path
 0: C:\Users\myname\AppData\Local\Temp\Sikulix_1677316094\SikulixIDETempTab1580915823844
 1: C:\Users\myname\AppData\Roaming\Sikulix\Lib\site-packages
 2: C:\Users\myname\AppData\Roaming\Sikulix\Lib
 3: C:\Users\myname\AppData\Roaming\Sikulix\Extensions\Lib
 4: C:\Users\myname\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar\Lib
[13780 debug] JythonRunner: ready: version 2.7.1

Best RaiMan (raimund-hocke) said : #3

The only things I can see:

--- you have C:\sikulix-2.0.2.jar in the root, I always put it into a folder

--- you have: user.dir (work dir): C:\WINDOWS\system32 --- this should be a normal folder like c:\SikuliX\myScripts

It should run, even with spaces in myname.

-----Urspr√ľngliche Nachricht-----
Von: Sikuli-driver <email address hidden> Im Auftrag von yuyubbo
Gesendet: Mittwoch, 5. Februar 2020 16:38
An: <email address hidden>
Betreff: Re: [Sikuli-driver] [Question #688525]: sikulix IDE starts with no menu and input field

Question #688525 on Sikuli changed:
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fanswers.launchpad.net%2Fsikuli%2F%2Bquestion%2F688525&amp;data=02%7C01%7C%7C8bcce3d7552e4daa5c9208d7aa515763%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637165138639576003&amp;sdata=jGfowSVAN5rO65HFmPRoYa%2F4aRs2whnLqC8RxwadvS8%3D&amp;reserved=0

yuyubbo posted a new comment:
thank you!

I tried and got diagnostic output.
I cant find problem out there.
Could you tell me some points to check?

Actually "myname" includes blank.
Could that cause problem?
(it failed to execute java -jar from command line when IDE directory includes blank, so i used bat)

[DEBUG]startUp: IDE: Running: C:\sikulix-2.0.2.jar
[DEBUG]startUp: IDE: AppData: C:\Users\myname\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[DEBUG]startUp: IDE: adding extension: C:\Users\myname\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar
[DEBUG]startUp: IDE: adding extension: C:\Users\myname\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[410 debug] RunTime:temp folder ok: C:\Users\myname~1\AppData\Local\Temp\Sikulix_637690202
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\myname\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.2-2020-01-29_15:26 API
user.home: C:\Users\myname
user.dir (work dir): C:\WINDOWS\system32
user.name: myname
java.io.tmpdir: C:\Users\myname~1\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar java 8 version 1.8 vm 25.241-b07 class 52.0 arch 64 app data folder: C:\Users\myname\AppData\Roaming\Sikulix
executing jar: C:\sikulix-2.0.2.jar
*** classpath dump sikulix
  0: file:/C:/sikulix-2.0.2.jar
*** classpath dump end
***** show environment end
[DEBUG]startUp: IDE: *********************** leaving start
[725 debug] RunTime:***** final cleanup at System.exit() *****
[798 debug] FileManager: deleteFileOrFolder:
C:\Users\myname~1\AppData\Local\Temp\Sikulix_637690202
[82 debug] Sikulix: starting IDE
[165 debug] RunTime:temp folder ok: C:\Users\myname~1\AppData\Local\Temp\Sikulix_1677316094
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\myname\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.2-2020-01-29_15:26 IDE
user.home: C:\Users\myname
user.dir (work dir): C:\WINDOWS\system32
user.name: myname
java.io.tmpdir: C:\Users\myname~1\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar java 8 version 1.8 vm 25.241-b07 class 52.0 arch 64 app data folder: C:\Users\myname\AppData\Roaming\Sikulix
executing jar: C:\sikulix-2.0.2.jar
*** classpath dump sikulix
  0: file:/C:/sikulix-2.0.2.jar
  1: file:/C:/Users/my%20name/AppData/Roaming/Sikulix/Extensions/jruby-complete-9.2.0.0.jar
  2: file:/C:/Users/my%20name/AppData/Roaming/Sikulix/Extensions/jython-standalone-2.7.1.jar
*** classpath dump end
***** show environment end
[542 debug] init user preferences
[546 debug] IDE: running with Locale: ja_JP
[DEBUG]startUp: IDE: --- Sikuli parameters ---
[DEBUG]startUp: IDE: 1: -c
[DEBUG]startUp: IDE: 2: -v
[557 debug] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[1455 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[1456 debug] IDE: Init ScriptingSupport
[1467 debug] IDESupport: enter
[3914 debug] Runner: added: Sikulix [] directory/sikulix
[3918 debug] Runner: added: NetworkRunner [] NET
[3919 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[3919 debug] Runner: added: Text [txt] text/text
[3920 debug] Runner: added: PowerShell [ps1] text/powershell
[3956 debug] Runner: added: JRuby [rb] text/ruby
[3986 debug] Runner: added: Jython [py] text/jython
[4773 debug] Runner: added: JavaScript [js] text/javascript
[4775 debug] Runner: added: PackedSikulix [zip] application/zip
[4775 debug] Runner: added: SikulixJar [jar] text/jar
[4777 debug] Runner: added: PackedSikulix [skl] text/skl
[4778 debug] IDESupport: added: Jython
[4779 debug] IDESupport: added: JRuby
[4779 debug] IDESupport: added: JavaScript
[4780 debug] IDESupport: added: Text
[4780 debug] IDESupport: exit: defaultrunner: Jython (py)
[4786 debug] IDE: Reading Preferences
[4800 debug] Pixel: initScreens: starting
[4800 debug] Pixel: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[4800 debug] Pixel: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[4801 debug] Pixel: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[4801 debug] Pixel: Monitor 0: (0, 0) 1920 x 1080
[4805 debug] Mouse: init start
[5322 debug] Mouse: init end
[5322 debug] Pixel: initScreens: ending
[5323 debug] IDE: Adding components to window
[5350 debug] IDE: [I18N] menuRecent
[5398 debug] IDE: [I18N] menuToolAndroid
[5406 debug] IDE: creating tabbed editor
[5657 debug] IDE: creating message area
[5951 debug] IDE: creating combined work window
[5960 debug] IDE: Putting all together
[5960 debug] IDE: Putting all together - after main pane
[6171 debug] IDE: Putting all together - after toolbar
[6177 debug] IDE: Putting all together - before layout
[6320 debug] IDE: Putting all together - after layout
[6323 debug] IDE: Putting all together - Restore last Session
[6349 debug] EditorPane: created 1580915823844
[6372 debug] JythonRunner: starting initialization
[6380 debug] RunTime:resourceLocation: (class org.sikuli.script.support.RunTime) /Lib/sikuli
[6381 debug] RunTime:resourceList: having jar: jar:file:/C:/sikulix-2.0.2.jar!/Lib/sikuli
[6428 debug] EditorPane: InitTab: (text/jython)
[6445 debug] ImagePath: new BundlePath: C:\Users\myname\AppData\Local\Temp\Sikulix_1677316094\SikulixIDETempTab1580915823844
[6454 debug] IDE startup: 6.5 seconds
[debug] RunTime:files exported: 7 from: Lib/sikuli to:
 C:\Users\myname\AppData\Roaming\Sikulix\Lib\sikuli
[debug] Jython: added as Jython::sys.path[0]:
C:\Users\myname\AppData\Roaming\Sikulix\Lib\site-packages
[debug] Jython: ***** sys.path
 0: C:\Users\myname\AppData\Local\Temp\Sikulix_1677316094\SikulixIDETempTab1580915823844
 1: C:\Users\myname\AppData\Roaming\Sikulix\Lib\site-packages
 2: C:\Users\myname\AppData\Roaming\Sikulix\Lib
 3: C:\Users\myname\AppData\Roaming\Sikulix\Extensions\Lib
 4: C:\Users\myname\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar\Lib
[13780 debug] JythonRunner: ready: version 2.7.1

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

_______________________________________________
Mailing list: https://eur01.safelinks.protection.outlook.com/?url=https:%2F%2Flaunchpad.net%2F~sikuli-driver&amp;data=02%7C01%7C%7C8bcce3d7552e4daa5c9208d7aa515763%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637165138639576003&amp;sdata=92AVOQXQz1NcdkpCXhU20Lpev30dRzoAGAhjISQLjSQ%3D&amp;reserved=0
Post to : <email address hidden>
Unsubscribe : https://eur01.safelinks.protection.outlook.com/?url=https:%2F%2Flaunchpad.net%2F~sikuli-driver&amp;data=02%7C01%7C%7C8bcce3d7552e4daa5c9208d7aa515763%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637165138639576003&amp;sdata=92AVOQXQz1NcdkpCXhU20Lpev30dRzoAGAhjISQLjSQ%3D&amp;reserved=0
More help : https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.launchpad.net%2FListHelp&amp;data=02%7C01%7C%7C8bcce3d7552e4daa5c9208d7aa515763%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637165138639586032&amp;sdata=62nut26zo5CSUEwJDM%2F0fj%2FIkm%2BF8K8VhQdzVg5KjSk%3D&amp;reserved=0

yuyubbo (yuyubbo) said : #4

Hello!

I checked my environment and finally noticed that there is no problem in my setting.

I clicked square icon on IDE , then it spreaded over full screen and there are anything , menu bar and input field etc...
So, IDE just starts with shrinked and it works OK.

Thank you for your support.

yuyubbo (yuyubbo) said : #5

Thanks RaiMan, that solved my question.