Trying to run Sikuli 1.1.1 and robot framework3.0 in Mac osx 10.12 sierra. facing issue Exception: org.python.core.PyException thrown from the UncaughtExceptionHandler in thread "MainThread"

Bug #1713405 reported by Abhishekgupta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Won't Fix
Undecided
Unassigned

Bug Description

Hi,

I am trying to run sikuli 1.1.1 and robot framework 3.0 in mac os x 10.12 Sierra 64 bit
Here is the commmand i am using in .sh file

export CLASSPATH=/Users/Guest/Desktop/Automation/Sikuli-and-Robot-Framework/Sikuli-and-Robot-Framework-Integration-Windows-8.1/step_3/robotframework-3.0.jar:/Users/Guest/Desktop/Automation/Sikuli-and-Robot-Framework/Sikuli-and-Robot-Framework-Integration-Windows-8.1/step_3/sikulixapi.jar

java -Dpython.path=/Users/Guest/Desktop/Automation/Sikuli-and-Robot-Framework/Sikuli-and-Robot-Framework-Integration-Windows-8.1/step_3/sikulixapi.jar/Lib org.robotframework.RobotFramework --pythonpath="/Users/Guest/Desktop/Automation/Sikuli-and-Robot-Framework/Sikuli-and-Robot-Framework-Integration-Windows-8.1/step_3/src/*" --outputdir="/Users/Guest/Desktop/Automation/Sikuli-and-Robot-Framework/Sikuli-and-Robot-Framework-Integration-Windows-8.1/step_3" --tagstatlink=mytag:http://www.google.com --loglevel=DEBUG -Dsikuli.Debug=-2 $1

The error is coming when i am using sikuli function like click, doubleClick etc. in sikuli source code.

please help

Revision history for this message
Abhishekgupta (ag00) wrote :

Hi,
I tried using pdb step by step debugging but
didn't got any result
here is my sikuli code

import pdb
import sys

from sikuli import *
import org.sikuli.script.Region as region;
import org.sikuli.script.Sikulix as sikulix;

from robot.api import logger
#print(sys.path)

print("boom")

logger.console(sys.path)
#logger.info("We are starting now")
def top():
    pdb.Pdb(stdout=sys.__stdout__).set_trace()
    logger.console(sikulix)
    click(Pattern("1503471506611.png").similar(0.67))

#top()

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Won't Fix
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.