X-1.0rc3 (931): Windows7: Chinese: Crashes on capture and images not found --- problem: unicode in filenames
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
In Progress
|
High
|
RaiMan |
Bug Description
*** related bug: bug 512476
*** workaround
--- make sure all filenames do not contain unicode characters
--- move Sikuli's tempdir to outside of your user environment: change Java system property java.io.tmpdir to do that. Try to run java with -Djava.
--- store your script in a location whose absolute path does not contain unicode characters
-------
Sikuli is so great! When the first time I heard about it it was only available on Mac, "what a pity!", I said. I just now noticed it supports Windows now! So I tried it. Unfortunately, it doesn't seem like my windows 7 Ultimate (Chinese) 64bit.
I followed the getting started tutorial and tried capturing a portion of my screenshot (the Start button), once I selected a rectangular area, the program exited abnormally, without any error message. The result is the same no matter I clicked the capture screen toolbar button, or clicked the "Click" function name on the left list.
So I also tried using another program to capture the Windows Start menu button and saved it to my disk, then manually added the following script:
Click(<
And the log window shows the following:
[info] Sikuli vision engine loaded.
[info] Windows utilities loaded.
[info] VDictProxy loaded.
[error] 被停止 (translation: stopped)
[error] 第1行发生错误 (translation: error in line 1)
[error] 错误信息 (translation: error message): Traceback (most recent call last):
File "C:\Users\
click("start button.png")
Line 1, in file C:\Users\
at org.sikuli.
at org.sikuli.
at org.python.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
org.sikuli.
Line 1, in file C:\Users\
summary: |
- Crashed on Windows 7 64bit Ultimate + X-1.0rc3: Windows7: Chinese: Crashes on capture and images not found |
summary: |
- X-1.0rc3: Windows7: Chinese: Crashes on capture and images not found + X-1.0rc3 (931): Windows7: Chinese: Crashes on capture and images not + found |
description: | updated |
Changed in sikuli: | |
status: | New → In Progress |
assignee: | nobody → RaiMan (raimund-hocke) |
tags: | added: filenames |
Changed in sikuli: | |
importance: | Undecided → Medium |
importance: | Medium → Low |
Changed in sikuli: | |
importance: | Low → High |
milestone: | none → x1.1 |
- uninstall your sikuli using Windows software uninstall feature
- reinstall the latest version (rc3) using the installer
- start Sikuli using Sikuli-IDE.bat or Sikuli-IDE-w.bat
If you face any problems, get the latest build from http:// sikuli. org/hudson
(it is a zip. unzip and replace the contents of folder Sikuli X with content of Sikuli-IDE from zip)