← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #672459]: Java stack overflow

 

Question #672459 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/672459

Jeff_Vallis gave more information on the question:
Lets restate the Problem
Script
Login to Game
Do Stuff Loop of maybe 20
     Do Something Number of Times varies before
                 the Website not the Sikuli Script Reponds with
                see your browser JavaScript console for more info:
                The error was: UncaughtRangeError: Maximu call stack size exceeded
The Games Support Team replied with - you have to many tabs open on the browser.
Which I haven't but can't admit that I am automating it with Sikuli

in Sikuli - when the message appears I call Call_Size_Exceeded which calls Print_Trace
def Print_Trace:
       traceback.print_stack()
result:-
::::::::::
traceback.print_stack()
::::::::::
  File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 2199, in <module>
    Do_I_Run_Auto() ; exit(0)
  File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 1584, in Do_I_Run_Auto
    Main_Menu()
  File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 2085, in Main_Menu
    Run_Main_Process()
  File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 2001, in Run_Main_Process
    Run_Main_Process_Selected(selected)
  File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 1877, in Run_Main_Process_Selected
    v_Which_Screen = "Drag Top Left" ; Set_Locations(v_Which_Screen,0)
  File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 739, in Set_Locations
    v_Result = Load_Location_Range(v_Which_Screen,"Read")
  File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 564, in Load_Location_Range
    v_Result = Load_Location_Single(v_Which_Screen,v_Screen_Item,v_Check_Waterfall,v_Do_What)
  File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 640, in Load_Location_Single
    v_Button_Result = Close_X(0.2)
  File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 161, in Close_X
    Call_Size_Exceeded()
  File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 2146, in Call_Size_Exceeded
    Print_Trace()
  File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 2172, in Print_Trace
    traceback.print_stack()
::::::::::
So the code in Sikuli is not over flowing but is causing the java game to over flow

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.