[1.0.1] IDE: want support for some global image repo

Bug #1365543 reported by RaiMan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

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!

RaiMan (raimund-hocke)
summary: - Preferences: more Options - use global Repository doesn't work
+ [1.0.1] Preferences: more Options - use global Repository doesn't work
Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.2.0
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
status: In Progress → Won't Fix
importance: Medium → Wishlist
summary: - [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
Changed in sikuli:
status: Won't Fix → In Progress
importance: Wishlist → Medium
summary: - [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
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 2.0.0 → 2.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.