[1.0.1] IDE: crash at capture with image naming option text and tessdata not installed --- fixed in 1.1.0

Bug #1243039 reported by Poonam Seetha on 2013-10-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
Critical
RaiMan

Bug Description

****** workaround:
- In IDE preferences switch on the first option (timestamp)
------------------------------------------------------------

I am working on Sikuli 1.0.1 on windows 7 32-bit
Earlier I was able to take the image but now it is not allowing me to click the image also I have restarted the sikuli instant.
please revert back my work has got stuck.

description: updated
RaiMan (raimund-hocke) wrote :

please run the IDE as
runIDE.cmd -d 3 -c

and paste the output here

Poonam Seetha (poonam-seetha19) wrote :

Nothing happened with your provided solution, only the sikuli IDE gets open and then I tried to click the picture it is not getting clicked
one more thing after opening new instance only once it allows me select the item whose image i want to click and then even on pressing the short cut key 'CTRL+shift+2' there is not effect.

Please solve my problem early.

RaiMan (raimund-hocke) wrote :

--- Nothing happened with your provided solution
no solution, but a request to help to clarify the situation

--- and paste the output here
you should have a lengthy output on command line with [debug] at the beginning ogf the most lines.
This is what I want to see here.

RaiMan (raimund-hocke) wrote :

ok, this is the relevant part at the end:

[debug] CapturePrompt: Select an image
[debug] ScreenUnion: getIdFromPoint: (1181, 0) as (1181, 0) in (0, 0, 1280, 1024
) on 0
[debug] CapturePrompt: started at (1181,0) as L(1181,0) on 0
[debug] CapturePrompt: finished at (1267,15) as L(1267,15) on 0
[debug] ResourceLoaderBasic: loadLib: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Found: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Now loaded: VisionProxy
[error] TextRecognizer: init: tessdata folder not found at C:/WST_Automation/lib
s/
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at org.sikuli.ide.PatternPaneNaming.getFilenameFromImage(PatternPaneNami
ng.java:132)
        at org.sikuli.ide.ButtonCapture.update(ButtonCapture.java:144)
        at org.sikuli.script.OverlayCapturePrompt.notifyObserver(OverlayCaptureP
rompt.java:165)
        at org.sikuli.script.OverlayCapturePrompt$1.mouseReleased(OverlayCapture
Prompt.java:114)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Window.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$400(Unknown Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
[debug] SikuliXFinal: cleanUp: 0

RaiMan (raimund-hocke) wrote :

the problem:

- in the IDE preferences you have switched on the picture naming option:
text in the image

but you did not install the tessdata option, so no OCR is possible.

workaround:
- switch on the first option (timestamp)

summary: - I am unable to take the image in the code
+ [1.0.1] IDE: crash at capture with image naming option text and tessdata
+ not installed
description: updated
summary: [1.0.1] IDE: crash at capture with image naming option text and tessdata
- not installed
+ not installed --- workaround
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
RaiMan (raimund-hocke) on 2015-09-17
summary: [1.0.1] IDE: crash at capture with image naming option text and tessdata
- not installed --- workaround
+ not installed --- fixed in 1.1.0
Changed in sikuli:
importance: High → Critical
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers