← Back to team overview

sikuli-driver team mailing list archive

[Question #249737]: prevent restore session

 

New question #249737 on Sikuli:
https://answers.launchpad.net/sikuli/+question/249737

When i try to launch sikuli-IDE.cmd on windows, i have 
==========================================================================================
E:\Dev\X\swo5>runIDE.cmd -d 3 -c
+++ running this Java
java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01, mixed mode)
+++ trying to start Sikuli IDE
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar E:\Dev\X\swo5\sikuli-ide.jar -d 3 -c
[debug] Running on Java 6 (1.6.0_35-b10)
[debug] --- Sikuli parameters ---
[debug] 1: -d
[debug] 2: 3
[debug] 3: -c
[debug] init user preferences
[debug] locale: fr
[debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013160242
[debug] ResourceLoaderBasic: check: we are running on arch: amd64
[debug] ResourceLoaderBasic: check: using Java at: E:/Dev/COTS/jdk1.6.0_35/jre/
[debug] ResourceLoaderBasic: check: Exists Environment.SIKULIX_HOME? YES: E:/Dev/X/swo5/libs
[debug] ResourceLoaderBasic: checkLibsDir: E:/Dev/X/swo5/libs
[debug] ResourceLoaderBasic: loadLib: WinUtil
[debug] ResourceLoaderBasic: loadLib: Found: WinUtil
[debug] ResourceLoaderBasic: loadLib: Now loaded: WinUtil
[debug] ResourceLoaderBasic: checkLibsDir: Using libs at: E:\Dev\X\swo5\libs
[debug] ResourceLoaderBasic: check: Using this as OCR directory (tessdata) too
[debug] Screen: initScreens: basic initialization (2 Screen(s) found)
[debug] *** monitor configuration (primary: 0) ***
[debug] Screen 0: S(0)[0,0 1680x1050]
[debug] Screen 1: S(1)[1680,0 1680x1050]
[debug] *** end monitor configuration ***
[debug] [I18N] menuShowThumbs
[debug] restore session: E:/Dev/poubelle/simplelock.sikuli/
[debug] SikuliX Jython Support Build: 1.0.1 12SEP2013160248
[debug] SikuliEditorKit.read
[debug] restore session: E:/Dev/poubelle/liste/main.sikuli/
[debug] SikuliEditorKit.read
[debug] restore session: E:/Dev/poubelle/liste/common.sikuli/
[debug] SikuliEditorKit.read
[debug] restore session: E:/Dev/poubelle/liste/methodes.sikuli/
[debug] SikuliEditorKit.read
[debug] restore session: E:/Dev/poubelle/liste/test_automatique_24/test_24.sikuli/
[debug] SikuliEditorKit.read
[debug] restore session: E:/Dev/poubelle/utf8/mthd.sikuli/
[debug] SikuliEditorKit.read
[debug] ImageLocator: found 1401808810693.png in E:/Dev/poubelle/utf8/mthd.sikuli/
[debug] restore session: E:/Dev/poubelle/parent/test_integration_logger.sikuli/
[debug] SikuliEditorKit.read
[debug] restore session: E:/Dev/poubelle/
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1937)
        at org.sikuli.ide.SikuliIDE.setFileTabTitle(SikuliIDE.java:489)
        at org.sikuli.ide.SikuliIDE.setCurrentFileTabTitle(SikuliIDE.java:470)
        at org.sikuli.ide.SikuliIDE.loadFile(SikuliIDE.java:510)
        at org.sikuli.ide.SikuliIDE.restoreSession(SikuliIDE.java:445)
        at org.sikuli.ide.SikuliIDE.initSikuliIDE(SikuliIDE.java:326)
        at org.sikuli.ide.SikuliIDE.<init>(SikuliIDE.java:242)
        at org.sikuli.ide.SikuliIDE.getInstance(SikuliIDE.java:349)
        at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:235)
==========================================================================================

I suspect it's because of a previous session that i quit without saving. What can i do to launch sikuli withtout it being corrupted by some files, it's blocked on the ... starting, pls. wait ... yellow screen .
Thanks,
Edern Le Hyaric

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.