sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #28212
[Bug 1365543] Re: [1.0.1] Preferences: more Options - use global Repository doesn't work
** Summary changed:
- [1.0.1] Preferences: more Options - use global Repository doesn't work
+ [1.0.1] Preferences: more Options - does not make sense and will not be implemented
** Summary changed:
- [1.0.1] Preferences: more Options - does not make sense and will not be implemented
+ [1.0.1] IDE: want support for some global image repo
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1365543
Title:
[1.0.1] IDE: want support for some global image repo
Status in Sikuli:
In Progress
Bug description:
Using Sikuli 1.0.1.
Actually I have 2 questions but they related with each other :)
1) I want to save all scripts images in one directory. So, I'm trying to use the setting "use global Repository ".
There are following steps :
- set flag "use global Repository "
- set the path to directory "C:\SikuliX\image"
- save changes
- press "apply" button
- press "ok" button
- close Sikuli IDE
- start Sikuli IDE
- create a new script and take screenshot
- save script
The image was saved in the directory JYTHON_HOME\[script name].sikuli\image_name.png. So, I suppose it should be saved in another directory "C:\SikuliX\image".
Could you please explain me what i'm doing wrong.
2) I'm also tried to use SIKULI_IMAGE_PATH to find images which are
not in [script name].sikuli directory. When I run a script it works
fine but when i try to open pattern settings an error occurs and i
can't edit it in SIkuli IDE :
Exception in thread "MainThread" java.lang.IllegalArgumentException: image == null!
at javax.imageio.ImageTypeSpecifier.createFromRenderedImage(Unknown Source)
at javax.imageio.ImageIO.getWriter(Unknown Source)
at javax.imageio.ImageIO.write(Unknown Source)
at org.sikuli.basics.FileManager.saveTmpImage(FileManager.java:343)
at org.sikuli.basics.FileManager.saveTmpImage(FileManager.java:335)
at org.sikuli.ide.EditorPatternButton.createThumbnail(EditorPatternButton.java:224)
at org.sikuli.ide.EditorPatternButton.createThumbnail(EditorPatternButton.java:219)
at org.sikuli.ide.EditorPatternButton.setFilename(EditorPatternButton.java:213)
at org.sikuli.ide.EditorPatternButton.getFilename(EditorPatternButton.java:207)
at org.sikuli.ide.PatternPaneNaming.init(PatternPaneNaming.java:47)
at org.sikuli.ide.PatternPaneNaming.<init>(PatternPaneNaming.java:39)
at org.sikuli.ide.PatternWindow.init(PatternWindow.java:60)
at org.sikuli.ide.PatternWindow.<init>(PatternWindow.java:40)
at org.sikuli.
[error] Can't read file: Can't read input file!
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1365543/+subscriptions
References