Public bug reported:

1. Sikuli IDE 1.0.1
2. Windows 7 Professional 64-bit Service Pack 1
3. Steps: 
* Open couple of files in Sikuli IDE 
* Close IDE 
* Delete .py & .html files from one of .sikuli folders opened in step 1
* Start IDE -> IDE won't start

Command line output with debug level set to 3:
[debug] Running on Java 8 (1.8.0_60-b27)
[debug] --- Sikuli parameters ---
[debug] 1: -d
[debug] 2: 3
[debug] init user preferences
[debug] locale: en_US
[debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013160242
[debug] ResourceLoaderBasic: check: we are running on arch: amd64
[debug] ResourceLoaderBasic: check: using Java at: C:/Program Files/Java/jre1.8.
0_60/
[debug] ResourceLoaderBasic: check: Exists Environment.SIKULIX_HOME? YES: D:/Sik
uliX/libs
[debug] ResourceLoaderBasic: checkLibsDir: D:/SikuliX/libs
[debug] ResourceLoaderBasic: loadLib: WinUtil
[debug] ResourceLoaderBasic: loadLib: Found: WinUtil
[debug] ResourceLoaderBasic: loadLib: Now loaded: WinUtil
[debug] ResourceLoaderBasic: checkLibsDir: Using libs at: D:\SikuliX\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 1920x1080]
[debug] Screen 1: S(1)[1920,0 1920x1080]
[debug] *** end monitor configuration ***
[debug] [I18N] menuShowThumbs
[debug] SikuliX Jython Support Build: 1.0.1 12SEP2013160248


Log File:
[debug (9/28/15 2:15:24 PM)] restore session: 3434.sikuli
[error (9/28/15 2:15:24 PM)] FileManager: Script folder 3434.sikuli does not 
contain a script file named 3434.xxx
[error (9/28/15 2:15:24 PM)] Terminating SikuliX after a fatal error! Sorry, 
but it makes no sense to continue!


Problem can be resolved by deleting complete folder or editing registry entry 
HKCU/Software/JavaSoft/Prefs/org/sikuli/basics where recent files are stored 
and removing the file that creates problem from the value variable.

Same problem can be reproduced with opened IDE and attempt to open empty
"some_name.sikuli" folder - Sikuli would crash.

I've run into this issue by accident when switching git branches (where
in the other branch empty sikuli folder somehow existed but sikuli files
weren't committed yet).

Sorry if this bug already exists, I've run the search but couldn't find
the same issue.

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1500420

Title:
  Sikuli IDE Crashes if Previously Opened File is Missing

Status in Sikuli:
  New

Bug description:
  1. Sikuli IDE 1.0.1
  2. Windows 7 Professional 64-bit Service Pack 1
  3. Steps: 
  * Open couple of files in Sikuli IDE 
  * Close IDE 
  * Delete .py & .html files from one of .sikuli folders opened in step 1
  * Start IDE -> IDE won't start

  Command line output with debug level set to 3:
  [debug] Running on Java 8 (1.8.0_60-b27)
  [debug] --- Sikuli parameters ---
  [debug] 1: -d
  [debug] 2: 3
  [debug] init user preferences
  [debug] locale: en_US
  [debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013160242
  [debug] ResourceLoaderBasic: check: we are running on arch: amd64
  [debug] ResourceLoaderBasic: check: using Java at: C:/Program 
Files/Java/jre1.8.
  0_60/
  [debug] ResourceLoaderBasic: check: Exists Environment.SIKULIX_HOME? YES: 
D:/Sik
  uliX/libs
  [debug] ResourceLoaderBasic: checkLibsDir: D:/SikuliX/libs
  [debug] ResourceLoaderBasic: loadLib: WinUtil
  [debug] ResourceLoaderBasic: loadLib: Found: WinUtil
  [debug] ResourceLoaderBasic: loadLib: Now loaded: WinUtil
  [debug] ResourceLoaderBasic: checkLibsDir: Using libs at: D:\SikuliX\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 1920x1080]
  [debug] Screen 1: S(1)[1920,0 1920x1080]
  [debug] *** end monitor configuration ***
  [debug] [I18N] menuShowThumbs
  [debug] SikuliX Jython Support Build: 1.0.1 12SEP2013160248

  
  Log File:
  [debug (9/28/15 2:15:24 PM)] restore session: 3434.sikuli
  [error (9/28/15 2:15:24 PM)] FileManager: Script folder 3434.sikuli does not 
contain a script file named 3434.xxx
  [error (9/28/15 2:15:24 PM)] Terminating SikuliX after a fatal error! Sorry, 
but it makes no sense to continue!

  
  Problem can be resolved by deleting complete folder or editing registry entry 
HKCU/Software/JavaSoft/Prefs/org/sikuli/basics where recent files are stored 
and removing the file that creates problem from the value variable.

  Same problem can be reproduced with opened IDE and attempt to open
  empty "some_name.sikuli" folder - Sikuli would crash.

  I've run into this issue by accident when switching git branches
  (where in the other branch empty sikuli folder somehow existed but
  sikuli files weren't committed yet).

  Sorry if this bug already exists, I've run the search but couldn't
  find the same issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1500420/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to