← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #697943]: Stuck in Sikulix-IDE 2.0.5 is starting on Java 8

 

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

Roger F Borrello Jr proposed the following answer:
I removed the actual directory where my project was, because the output
from -v -c was showing that even though I had wiped out the AppData
contents, the IDE was still discovering my project files. Once I renamed
that, the IDE came up.

Prior to removing the project:
.
.
.
[4189 debug] IDESupport: added: Jython
[4189 debug] IDESupport: added: Text
[4189 debug] IDESupport: exit: defaultrunner: Jython (py)
[4205 debug] IDE: Reading Preferences
[4205 debug] IDE: Adding components to window
[4220 debug] IDE: [I18N] menuRecent
[4252 debug] IDE: [I18N] menuToolAndroid
[4252 debug] IDE: creating tabbed editor
[4439 debug] IDE: creating message area
[4549 debug] IDE: creating combined work window
[4564 debug] IDE: Putting all together
[4564 debug] IDE: Putting all together - after main pane
[4674 debug] IDE: Putting all together - after toolbar
[4674 debug] IDE: Putting all together - before layout
[4783 debug] IDE: Putting all together - after layout
[4783 debug] IDE: Putting all together - Restore last Session                              <-- Looks like this is where project gets retrieved
[4783 debug] IDE: Restore scripts from last session
[4783 debug] IDE: Restore Sikuli script: C:\sikuli\c-act\c-act_demo_about.sikuli
[4799 debug] EditorPane: created 1626370995740
[4814 debug] EditorPane: loadfile: C:\sikuli\c-act\c-act_demo_about.sikuli
[4814 debug] JythonRunner: starting initialization
[4830 debug] RunTime:resourceLocation: (class org.sikuli.script.support.RunTime) /Lib
[4830 debug] RunTime:resourceList: having jar: jar:file:/C:/sikulix/lib/sikulixide-2.0.5.jar!/Lib
[4861 debug] EditorPane: InitTab: (text/jython)
[4861 debug] SikuliEditorKit.read
[4892 debug] ImagePath: new BundlePath: C:\sikuli\c-act\c-act_demo_about.sikuli
[4892 debug] EditorPane: setFiles: for: C:\sikuli\c-act\c-act_demo_about.sikuli
[5002 debug] Screen: initScreens: starting
[5017 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[5049 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[5080 debug] Screen: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[5096 debug] Screen: Monitor 0: (0, 0) 1920 x 1080
[5111 debug] Screen: initScreens: monitor mouse check
[5111 debug] Screen: *** checking: R[0,0 1920x1080]@S(0) center: (960, 540) --- OK
[5111 debug] Screen: initScreens: ending
[5361 debug] Image: loaded: chrome_maximized.png (file:/C:/sikuli/c-act/c-act_demo_about.sikuli/chrome_maximized.png)
[5361 debug] Image: cached: chrome_maximized.png (8 KB) (# 1 KB 8 -- 0 % of 64 MB)
[error] Region(1920,0,830,391) outside any screen - subsequent actions might not work as expected
[10716 debug] RunTime:files exported: 1192 from: Lib to:
 C:\Users\roger\AppData\Roaming\Sikulix\Lib
[13219 debug] Jython: added as Jython::sys.path[0]:
C:\Users\roger\AppData\Roaming\Sikulix\Lib\site-packages
[13230 debug] Jython: ***** sys.path
 0: C:\sikuli\c-act\c-act_demo_about.sikuli
 1: C:\Users\roger\AppData\Roaming\Sikulix\Lib\site-packages
 2: C:\Users\roger\AppData\Roaming\Sikulix\Lib
 3: C:\sikulix\lib\Lib
 4: C:\sikulix\lib\sikulixide-2.0.5.jar\Lib
[13505 debug] JythonRunner: ready: version 2.7.2                      <-- hangs here
[debug] RunTime:***** final cleanup at System.exit() *****     <-- killed here
[137645 debug] RunTime:***** final cleanup at System.exit() *****
[137769 debug] FileManager: deleteFileOrFolder:
C:\Users\roger\AppData\Local\Temp\Sikulix_325615457
[debug] HotkeyManager: reset: removed all SikuliX hotkeys.
[debug] HotkeyController: stopping hotkey provider


After removing the project folder and the IDE comes up:
[4148 debug] IDESupport: added: Jython
[4148 debug] IDESupport: added: Text
[4148 debug] IDESupport: exit: defaultrunner: Jython (py)
[4163 debug] IDE: Reading Preferences
[4163 debug] IDE: Adding components to window
[4179 debug] IDE: [I18N] menuRecent
[4210 debug] IDE: [I18N] menuToolAndroid
[4210 debug] IDE: creating tabbed editor
[4351 debug] IDE: creating message area
[4460 debug] IDE: creating combined work window
[4460 debug] IDE: Putting all together
[4460 debug] IDE: Putting all together - after main pane
[4570 debug] IDE: Putting all together - after toolbar
[4570 debug] IDE: Putting all together - before layout
[4648 debug] IDE: Putting all together - after layout
[4648 debug] IDE: Putting all together - Restore last Session                    <-- No project to retrieve
[4664 debug] IDE: Restore scripts from last session
[4679 debug] EditorPane: created 1626371187600
[4695 debug] JythonRunner: starting initialization
[4695 debug] RunTime:resourceLocation: (class org.sikuli.script.support.RunTime) /Lib
[4695 debug] RunTime:resourceList: having jar: jar:file:/C:/sikulix/lib/sikulixide-2.0.5.jar!/Lib
[4726 debug] EditorPane: InitTab: (text/jython)
[4773 debug] ImagePath: new BundlePath: C:\Users\roger\AppData\Local\Temp\Sikulix_193824048\SikulixIDETempTab1626371187600
[4789 debug] Screen: initScreens: starting
[4789 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[4789 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[4789 debug] Screen: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[4789 debug] Screen: Monitor 0: (0, 0) 1920 x 1080
[4804 debug] Screen: initScreens: monitor mouse check
[4804 debug] Screen: *** checking: R[0,0 1920x1080]@S(0) center: (960, 540) --- OK
[4804 debug] Screen: initScreens: ending
[4804 debug] IDE startup:  4.8 seconds *** Running on Java 9+
[debug] RunTime:files exported: 1192 from: Lib to:
 C:\Users\roger\AppData\Roaming\Sikulix\Lib
[debug] Jython: added as Jython::sys.path[0]:
C:\Users\roger\AppData\Roaming\Sikulix\Lib\site-packages
[debug] Jython: ***** sys.path
 0: C:\Users\roger\AppData\Local\Temp\Sikulix_193824048\SikulixIDETempTab1626371187600
 1: C:\Users\roger\AppData\Roaming\Sikulix\Lib\site-packages
 2: C:\Users\roger\AppData\Roaming\Sikulix\Lib
 3: C:\sikulix\lib\Lib
 4: C:\sikulix\lib\sikulixide-2.0.5.jar\Lib
[13677 debug] JythonRunner: ready: version 2.7.2  <-- IDE is running

So question is, what does it do with the project when loading, and what
would cause the hang? I hope this helps Parswit with his hang, as well.
Perhaps there is something kept in the Java properties, such that
updating the Java creates a fresh set of properties and the IDE loads
because of that.

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