← Back to team overview

sikuli-driver team mailing list archive

[Bug 1220575] Re: [1.0.1] Linux: Matching preview not working

 

Hey RaiMan,

I got this value from the debugger in eclipse. I put a breakpoint for
the exception and could see the provided values when the issue occurs.

1.83 was available in the method
org.sikuli.ide.PatternSimilaritySlider.getScoreColor(double score)

This value is calculated in
org.sikuli.ide.PatternSimilaritySlider.paintComponent(Graphics g). In
this method I have the following values for the variables:

i=22
w=38
margin=13
y1=20
y2=30

Does this help?

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

Title:
  [1.0.1] Linux: Matching preview not working

Status in Sikuli:
  In Progress

Bug description:
  This is a Linux only issue (java version "1.7.0_25")

  Open IDE editor, click a image saved before.  Click "Matching
  Preview",  it will not work. You can got error message from console:

  Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Color parameter outside of expected range: Alpha
  at java.awt.Color.testColorValueRange(Unknown Source)
  at java.awt.Color.<init>(Unknown Source)
  at org.sikuli.ide.PatternSimilaritySlider.getScoreColor(PatternSimilaritySlider.java:59)
  at org.sikuli.ide.PatternSimilaritySlider.paintComponent(PatternSimilaritySlider.java:37)
  at javax.swing.JComponent.paint(Unknown Source)
  ... more

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


References