sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #47390
[Bug 1776233] Re: restore session - cannot launch sikuli on linux
this bug is fixed in newest versions 1.1.2+
** Changed in: sikuli
Status: New => Invalid
** Converted to question:
https://answers.launchpad.net/sikuli/+question/670131
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1776233
Title:
restore session - cannot launch sikuli on linux
Status in Sikuli:
Invalid
Bug description:
Hi there,
I closed Sikulix and cannot open it again. I cannot update the
version, because I have a lot of code, and do not need more problems.
Please tell me how to clear the session data - I deleted .Sikulix
folder, I deleted /tmp folder in Linux, but it didn't help. Bellow is
the output of running sikuli with -d 3 -c
PLEASE HELP. I am sure running Sikulix with a new session would fix
the problem.
==========
rblack@rblack-VirtualBox:~/sikuli$ ./sikulix.jar -c -d 3
[debug] RunTimeINIT: lsb_release -i -r -s
[debug] RunTimeINIT: loadOptions: check: /home/rblack/sikuli
[debug] RunTimeINIT: loadOptions: check: /home/rblack
[debug] RunTimeINIT: loadOptions: check: /home/rblack/.Sikulix/SikulixStore
[debug] RunTimeINIT: global init: entering as: IDE
[debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[debug] RunTimeINIT: Monitor 0: (0, 0) 1024 x 768
[debug] RunTimeINIT: runs as sikulix.jar in: /home/rblack/sikuli
[debug] RunTimeINIT: new libs folder at: /home/rblack/.Sikulix/SikulixLibs_201510050100
[debug] RunTimeINIT: libs folder empty or has wrong content
[debug] RunTimeINIT: now exporting libs
[debug] RunTimeINIT: libs to export are at:
jar:file:/home/rblack/sikuli/sikulix.jar!/sikulixlibs/linux/libs64
[debug] RunTimeINIT: resourceList: enter
[debug] RunTimeINIT: resourceLocation: (class org.sikuli.ide.SikuliIDE) /sikulixlibs/linux/libs64
[debug] RunTimeINIT: resourceList: having jar: jar:file:/home/rblack/sikuli/sikulix.jar!/sikulixlibs/linux/libs64
[debug] RunTimeINIT: files exported: 3 from: /sikulixlibs/linux/libs64 to:
/home/rblack/.Sikulix/SikulixLibs_201510050100
***** show environment for IDE (build 201510050100)
user.home: /home/rblack
user.dir (work dir): /home/rblack/sikuli
user.name: rblack
java.io.tmpdir: /tmp
running 64Bit on Linux (0 Ubuntu 15.04) from a jar
java 7-64 version 1.7.0_79-b14 vm 24.79-b02 class 51.0 arch amd64
app data folder: /home/rblack/.Sikulix
libs folder: /home/rblack/.Sikulix/SikulixLibs_201510050100
executing jar: /home/rblack/sikuli/sikulix.jar
*** classpath dump sikulix
0: /home/rblack/sikuli/sikulix.jar
*** classpath dump end
***** show environment end
[debug] RunTimeIDE: global init: leaving
[debug] RunTimeIDE: initIDEbefore: entering
[debug] RunTimeIDE: initIDEbefore: leaving
[debug] RunTimeIDE: initAPI: entering
[debug] RunTimeIDE: initAPI: leaving
[debug] init user preferences
[debug] IDE: running with Locale: pl
[debug] --- Sikuli parameters ---
[debug] 1: -c
[debug] 2: -d
[debug] 3: 3
[debug] RunTimeIDE: loadLib: libJXGrabKey.so
[info] HotkeyManager: add Capture Hotkey: ALT X (88, 8)
[debug] HotkeyManager: add Capture Hotkey: ALT X (88, 8)
[info] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[debug] ScriptingSupport: initScriptingSupport: enter
[debug] JythonSupport: init: starting
[debug] JythonSupport: init: success
[debug] JythonSupport: ***** Jython sys.path
0: /home/rblack/sikuli/Lib
1: /home/rblack/sikuli/sikulix.jar/Lib
2: __classpath__
3: __pyclasspath__/
[debug] JythonSupport: ***** Jython sys.path end
[debug] Jython: sikuli: Sikuli: starting init
[debug] RunTimeIDE: loadLib: libVisionProxy.so
[debug] Mouse: init
[debug] KeyBoard: init
[debug] Jython: requested to use as default region: R[0,0 1024x768]@S(0)
[debug] Jython: sikuli: Sikuli: ending init
[debug] JythonScriptRunner: running Jython 2.7.0
[debug] ScriptingSupport: initScriptingSupport: added: jython
[debug] ScriptingSupport: initScriptingSupport: exit with defaultrunner: jython (py)
[debug] IDE: Adding components to window
[debug] [I18N] menuRecent
[debug] IDE: creating tabbed editor
[debug] IDE: creating message area
[debug] IDE: creating combined work window
[debug] IDE: Putting all together
[debug] restore session: /home/rblack/sikuli/scripts/banksClasses/sgbClass
[debug] IDE: doNew: create new tab at: -1
[debug] EditorPane: EditorPane: creating new pane (constructor)
[debug] EditorPane: loadfile: /home/rblack/sikuli/scripts/banksClasses/sgbClass
[debug] ImagePath: new BundlePath:
/home/rblack/sikuli/scripts/banksClasses/sgbClass/
[debug] EditorPane: initBeforeLoad: py
[debug] EditorPane: updateDocumentListeners from: initBeforeLoad
[debug] EditorPane: InitTab: (text/python)
[debug] SikuliEditorKit.read
[debug] Image: loaded: identyfikator.png (file:/home/rblack/sikuli/scripts/banksClasses/sgbClass/identyfikator.png)
[debug] Image: cached: identyfikator.png (6 KB) (# 1 KB 6 -- 0 % of 64 MB)
[debug] ThumbButtonLabel: setTargetOffset: L(118,-1)
[debug] Image: loaded: haslo.png (file:/home/rblack/sikuli/scripts/banksClasses/sgbClass/haslo.png)
[debug] Image: cached: haslo.png (3 KB) (# 2 KB 10 -- 0 % of 64 MB)
[debug] ThumbButtonLabel: setTargetOffset: L(73,-3)
[debug] Image: loaded: zaloguj.png (file:/home/rblack/sikuli/scripts/banksClasses/sgbClass/zaloguj.png)
[debug] Image: cached: zaloguj.png (5 KB) (# 3 KB 16 -- 0 % of 64 MB)
[debug] Image: loaded: pokaz_menu.png (file:/home/rblack/sikuli/scripts/banksClasses/sgbClass/pokaz_menu.png)
[debug] Image: cached: pokaz_menu.png (5 KB) (# 4 KB 21 -- 0 % of 64 MB)
[debug] Image: reused: pokaz_menu.png
[debug] Image: loaded: podaj_kod.png (file:/home/rblack/sikuli/scripts/banksClasses/sgbClass/podaj_kod.png)
[debug] Image: cached: podaj_kod.png (15 KB) (# 25 KB 234 -- 0 % of 64 MB)
[debug] Image: reused: podaj_kod.png (file:/home/rblack/sikuli/scripts/banksClasses/sgbClass/podaj_kod.png)
[debug] EditorPane: updateDocumentListeners from: loadFile
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1911)
at org.sikuli.ide.SikuliIDE.setFileTabTitle(SikuliIDE.java:630)
at org.sikuli.ide.SikuliIDE.setCurrentFileTabTitle(SikuliIDE.java:604)
at org.sikuli.ide.SikuliIDE.restoreScriptFromSession(SikuliIDE.java:561)
at org.sikuli.ide.SikuliIDE.restoreSession(SikuliIDE.java:538)
at org.sikuli.ide.SikuliIDE.initSikuliIDE(SikuliIDE.java:354)
at org.sikuli.ide.SikuliIDE.run(SikuliIDE.java:267)
at org.sikuli.ide.Sikulix.main(Sikulix.java:21)
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1776233/+subscriptions
References