← Back to team overview

sikuli-driver team mailing list archive

[Bug 1408486] Re: Windows 7 Fresh Install select an image black screen

 

Do you have more than 1 monitor in use?

you might try with 1.1.0
start here: http://sikulix.com

** Description changed:

  Hi,
  
  New here but couldn't find this reported yet. On Windows 7 SP1 64-bit,
  I have just done a fresh install of Sikuli (the latest stable release at
  time of writing SikuliX-1.0.1). Tried out hello world tutorial but on
  the first step got a black screen when capturing image. The screen was
  all black but with the large white text "select an image". Once a region
  was selected, the captured image also came out solid black (my desktop
  is not black). I have tried this a few times including after restarting
  and get the same results each time.
  
  Note this is not bug 752065 "Screen goes black when capturing image when
  running on VM Fusion" - I am not using a virtual machine. However the
  symptoms are otherwise similar. Of note, I do have Virtual Box
  installed, although it was not running at the time.
  
  Given this release is quite old now, I am guessing it may possibly be an
  issue on my part, otherwise somebody else would have reported it?
- 
- Here is a copy and paste of the commandline when I run the IDE, as you
- can see there are errors:
- 
- D:\Users\Raffles\Downloads\sikuli>runIDE.cmd
- 'Files' is not recognized as an internal or external command,
- operable program or batch file.
- +++ running this Java
- java version "1.7.0_45"
- Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
- Java HotSpot(TM) Client VM (build 24.45-b08, mixed mode, sharing)
- +++ trying to start Sikuli IDE
- +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
- D:\Users\Raffles\Downloads\sikuli\sikuli-ide.jar
- Jan 07, 2015 10:41:15 PM java.util.prefs.WindowsPreferences <init>
- WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0
- x80000002. Windows RegCreateKeyEx(...) returned error code 5.
- [error] no locale for en_GB
- 
- Here is the install log (SikuliX-1.0.1-SetupLog.txt):
- 
- [debug (07/01/15 21:43:12)] RunSetup: SikuliX Setup Build: 1.0.1 12NOV2013120000
- [debug (07/01/15 21:43:12)] RunSetup: ... starting with no args given
- [debug (07/01/15 21:43:12)] RunSetup: syspath: D:\Users\Raffles\Downloads\sikuli\libs
- [debug (07/01/15 21:43:12)] RunSetup: syspath: C:\Windows\system32
- [debug (07/01/15 21:43:12)] RunSetup: syspath: C:\Windows
- [debug (07/01/15 21:43:12)] RunSetup: syspath: C:\Windows\System32\Wbem
- [debug (07/01/15 21:43:12)] RunSetup: syspath: C:\Windows\System32\WindowsPowerShell\v1.0\
- [debug (07/01/15 21:43:12)] RunSetup: syspath: C:\strawberry\c\bin
- [debug (07/01/15 21:43:12)] RunSetup: syspath: C:\strawberry\perl\site\bin
- [debug (07/01/15 21:43:12)] RunSetup: syspath: C:\strawberry\perl\bin
- [debug (07/01/15 21:43:12)] RunSetup: syspath: C:\Program Files (x86)\GNU\GnuPG\pub
- [debug (07/01/15 21:43:12)] RunSetup: syspath: C:\Program Files\Java\jdk1.7.0_25\bin
- [debug (07/01/15 21:43:12)] RunSetup: syspath: C:\Program Files\nodejs\
- [debug (07/01/15 21:43:12)] RunSetup: syspath: C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
- [debug (07/01/15 21:43:12)] RunSetup: syspath: C:\Program Files (x86)\QuickTime\QTSystem\
- [debug (07/01/15 21:43:12)] RunSetup: syspath: C:\Users\Raffles\AppData\Roaming\npm
- [debug (07/01/15 21:43:12)] RunSetup: user home: C:\Users\Raffles
- [debug (07/01/15 21:43:15)] RunSetup: RunningSystem: Windows 6.1
- [debug (07/01/15 21:43:15)] RunSetup: parent of jar/classes: D:/Users/Raffles/Downloads/sikuli/
- [debug (07/01/15 21:43:15)] RunSetup: RunningJava: Java 7 (x86) 1.7.0_45-b18
- [debug (07/01/15 21:43:15)] RunSetup: ... could not detect whether Sikuli is used the first time on this system
- [debug (07/01/15 21:48:23)] FileManager: Downloading 1.0.1-1.jar having 12942 KB
- [debug (07/01/15 21:48:58)] FileManager: downloaded 12942 KB to D:\Users\Raffles\Downloads\sikuli\1.0.1-1.jar
- [debug (07/01/15 21:48:58)] FileManager: download time: 34
- [debug (07/01/15 21:49:01)] FileManager: Downloading 1.0.1-3.jar having 408 KB
- [debug (07/01/15 21:49:03)] FileManager: downloaded 408 KB to D:\Users\Raffles\Downloads\sikuli\1.0.1-3.jar
- [debug (07/01/15 21:49:03)] FileManager: download time: 1
- [debug (07/01/15 21:49:06)] RunSetup: Download ended
- [debug (07/01/15 21:49:06)] RunSetup: adding native stuff to sikuli-ide.jar
- [debug (07/01/15 21:49:06)] FileManager: buildJar: D:\Users\Raffles\Downloads\sikuli\sikuli-temp.jar
- [debug (07/01/15 21:49:06)] FileManager: buildJar: adding: D:\Users\Raffles\Downloads\sikuli\sikuli-ide.jar
- [debug (07/01/15 21:49:32)] FileManager: buildJar: adding: D:\Users\Raffles\Downloads\sikuli\sikuli-setup.jar
- [debug (07/01/15 21:50:10)] FileManager: buildJar: completed
- [debug (07/01/15 21:50:10)] RunSetup: adding native stuff to sikuli-java.jar
- [debug (07/01/15 21:50:10)] FileManager: buildJar: D:\Users\Raffles\Downloads\sikuli\sikuli-temp.jar
- [debug (07/01/15 21:50:10)] FileManager: buildJar: adding: D:\Users\Raffles\Downloads\sikuli\sikuli-java.jar
- [debug (07/01/15 21:50:10)] FileManager: buildJar: adding: D:\Users\Raffles\Downloads\sikuli\sikuli-setup.jar
- [debug (07/01/15 21:50:24)] FileManager: buildJar: completed
- [debug (07/01/15 21:50:24)] ResourceLoaderBasic: export: Trying to access package
- [debug (07/01/15 21:50:24)] ResourceLoaderBasic: export: Accessing jar: file:/D:/Users/Raffles/Downloads/sikuli/sikuli-setup.jar
- [debug (07/01/15 21:50:26)] ResourceLoaderBasic: export: Found 1 Files in Commands/windows/runIDE.cmd
- [debug (07/01/15 21:50:26)] RunSetup: trying to set up the environment
- [debug (07/01/15 21:50:26)] ResourceLoaderBasic: check: we are running on arch: x86
- [debug (07/01/15 21:50:26)] ResourceLoaderBasic: check: using Java at: C:/Program Files (x86)/Java/jre7/
- [error (07/01/15 21:50:26)] ResourceLoaderBasic: check: No valid libs path available until now!
- [action (07/01/15 21:50:26)] ResourceLoaderBasic: check: Please wait! Trying to extract libs to jar parent folder: D:/Users/Raffles/Downloads/sikuli/
- [debug (07/01/15 21:50:26)] ResourceLoaderBasic: extractLibs: Accessing jar: file:/D:/Users/Raffles/Downloads/sikuli/sikuli-setup.jar
- [debug (07/01/15 21:50:28)] ResourceLoaderBasic: extractLibs: Found 14 Files in META-INF/libs/windows/libs32/
- [debug (07/01/15 21:50:28)] ResourceLoaderBasic: export: Trying to access package
- [debug (07/01/15 21:50:28)] ResourceLoaderBasic: export: Accessing jar: file:/D:/Users/Raffles/Downloads/sikuli/sikuli-setup.jar
- [debug (07/01/15 21:50:30)] ResourceLoaderBasic: export: Found 0 Files in META-INF/libs/tessdata
- [debug (07/01/15 21:50:30)] ResourceLoaderBasic: checkLibsDir: D:\Users\Raffles\Downloads\sikuli\libs
- [debug (07/01/15 21:50:30)] ResourceLoaderBasic: loadLib: WinUtil
- [debug (07/01/15 21:50:30)] ResourceLoaderBasic: loadLib: Found: WinUtil
- [debug (07/01/15 21:50:30)] ResourceLoaderBasic: loadLib: Now loaded: WinUtil
- [debug (07/01/15 21:50:30)] ResourceLoaderBasic: checkLibsDir: Using libs at: D:\Users\Raffles\Downloads\sikuli\libs
- [debug (07/01/15 21:50:30)] ResourceLoaderBasic: export: Using this as OCR directory (tessdata) too
- [debug (07/01/15 21:50:33)] RunSetup: Trying to run functional test: JAVA-API
- [debug (07/01/15 21:50:33)] SikuliX: before adding to classpath: D:\Users\Raffles\Downloads\sikuli\sikuli-java.jar
- [debug (07/01/15 21:50:33)] SikuliX: 0: file:/D:/Users/Raffles/Downloads/sikuli/sikuli-setup.jar
- [debug (07/01/15 21:50:33)] SikuliX: after adding to classpath
- [debug (07/01/15 21:50:33)] SikuliX: 0: file:/D:/Users/Raffles/Downloads/sikuli/sikuli-setup.jar
- [debug (07/01/15 21:50:33)] SikuliX: 1: file:/D:/Users/Raffles/Downloads/sikuli/sikuli-java.jar
- [debug (07/01/15 21:50:33)] RunSetup: trying to run org.sikuli.script.SikuliX.testSetup()
- [debug (07/01/15 21:50:34)] RunSetup: class found: class org.sikuli.script.SikuliX
- [debug (07/01/15 21:50:34)] RunSetup: getMethod: public static boolean org.sikuli.script.SikuliX.testSetup()
- [debug (07/01/15 21:50:36)] RunSetup: invoke: public static boolean org.sikuli.script.SikuliX.testSetup()
- [debug (07/01/15 21:50:36)] Screen: initScreens: basic initialization (1 Screen(s) found)
- [debug (07/01/15 21:50:36)] *** monitor configuration (primary: 0) ***
- [debug (07/01/15 21:50:36)] Screen 0: S(0)[0,0 1920x1080]
- [debug (07/01/15 21:50:36)] *** end monitor configuration ***
- [debug (07/01/15 21:50:36)] Screen.capture: java.awt.Rectangle[x=0,y=0,width=100,height=100]
- [debug (07/01/15 21:50:36)] RobotDesktop: captureScreen: on 0 using java.awt.Rectangle[x=0,y=0,width=100,height=100]
- [debug (07/01/15 21:50:36)] ResourceLoaderBasic: loadLib: VisionProxy
- [debug (07/01/15 21:50:36)] ResourceLoaderBasic: loadLib: Found: VisionProxy
- [debug (07/01/15 21:50:37)] ResourceLoaderBasic: loadLib: Now loaded: VisionProxy
- [debug (07/01/15 21:50:42)] RunSetup: Trying to run functional test: running Jython statements via SikuliScript
- [debug (07/01/15 21:50:42)] SikuliX: before adding to classpath: D:\Users\Raffles\Downloads\sikuli\sikuli-ide.jar
- [debug (07/01/15 21:50:42)] SikuliX: 0: file:/D:/Users/Raffles/Downloads/sikuli/sikuli-setup.jar
- [debug (07/01/15 21:50:42)] SikuliX: 1: file:/D:/Users/Raffles/Downloads/sikuli/sikuli-java.jar
- [debug (07/01/15 21:50:42)] SikuliX: after adding to classpath
- [debug (07/01/15 21:50:42)] SikuliX: 0: file:/D:/Users/Raffles/Downloads/sikuli/sikuli-setup.jar
- [debug (07/01/15 21:50:42)] SikuliX: 1: file:/D:/Users/Raffles/Downloads/sikuli/sikuli-java.jar
- [debug (07/01/15 21:50:42)] SikuliX: 2: file:/D:/Users/Raffles/Downloads/sikuli/sikuli-ide.jar
- [debug (07/01/15 21:50:42)] RunSetup: trying to run testSetup.sikuli using SikuliScript
- [debug (07/01/15 21:50:46)] SikuliX Jython Support Build: 1.0.1 12SEP2013160248
- [debug (07/01/15 21:50:47)] JythonScriptRunner: : executeScriptHeader: adding SikuliX Lib path to sys.path
- D:\Users\Raffles\Downloads\sikuli\sikuli-setup.jar\Lib
- [debug (07/01/15 21:50:49)] Jython: sikuli: __init__: entering
- [debug (07/01/15 21:50:49)] Jython: sikuli: Sikuli: entering
- [debug (07/01/15 21:50:50)] Jython: sikuli: Sikuli: constants
- [debug (07/01/15 21:50:50)] Jython: sikuli: Sikuli: import Region
- [debug (07/01/15 21:50:51)] Jython: sikuli: Sikuli: import Screen
- [debug (07/01/15 21:50:51)] Jython: sikuli: Sikuli: Env.addHotkey
- [debug (07/01/15 21:50:51)] Jython: sikuli: Sikuli: import Match
- [debug (07/01/15 21:50:51)] Jython: sikuli: Sikuli: import Pattern
- [debug (07/01/15 21:50:51)] Jython: sikuli: Sikuli: import Location
- [debug (07/01/15 21:50:51)] Jython: sikuli: Sikuli: import ScreenUnion
- [debug (07/01/15 21:50:51)] Jython: sikuli: Sikuli: import Finder
- [debug (07/01/15 21:50:51)] Jython: sikuli: Sikuli: import App
- [debug (07/01/15 21:50:52)] ResourceLoaderBasic: loadLib: Is already loaded: WinUtil
- [debug (07/01/15 21:50:52)] Jython: sikuli: Sikuli: import Key
- [debug (07/01/15 21:50:52)] Jython: sikuli: Sikuli: import from Basics
- [debug (07/01/15 21:50:52)] Jython: sikuli: Sikuli: import from compare
- [debug (07/01/15 21:50:52)] Jython: sikuli: Sikuli: init SikuliImporter
- [debug (07/01/15 21:50:52)] Jython: sikuli: Sikuli: import SikuliScript
- [debug (07/01/15 21:50:52)] Jython: init SCREEN as ()
- [debug (07/01/15 21:50:52)] Sikuli-Script startup: 6800
- [debug (07/01/15 21:51:04)] RunSetup: ... SikuliX Setup seems to have ended successfully ;-)

** Summary changed:

- Windows 7 Fresh Install select an image black screen
+ [1.0.1] Windows 7 Fresh Install select an image black screen

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

Title:
  [1.0.1] Windows 7 Fresh Install select an image black screen

Status in Sikuli:
  New

Bug description:
  Hi,

  New here but couldn't find this reported yet. On Windows 7 SP1 64-bit,
  I have just done a fresh install of Sikuli (the latest stable release
  at time of writing SikuliX-1.0.1). Tried out hello world tutorial but
  on the first step got a black screen when capturing image. The screen
  was all black but with the large white text "select an image". Once a
  region was selected, the captured image also came out solid black (my
  desktop is not black). I have tried this a few times including after
  restarting and get the same results each time.

  Note this is not bug 752065 "Screen goes black when capturing image
  when running on VM Fusion" - I am not using a virtual machine. However
  the symptoms are otherwise similar. Of note, I do have Virtual Box
  installed, although it was not running at the time.

  Given this release is quite old now, I am guessing it may possibly be
  an issue on my part, otherwise somebody else would have reported it?

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


References