RaiseOnError() with RapaGUI on Latest Android Player

Discuss GUI programming with the RapaGUI plugin here
Post Reply
PEB
Posts: 548
Joined: Sun Feb 21, 2010 1:28 am

RaiseOnError() with RapaGUI on Latest Android Player

Post by PEB »

Here's the code that shows the error:

Code: Select all

@REQUIRE "RapaGUI"

Function p_ErrorHandler(ErrCode, ErrStr$, ErrCmd, ErrLine)
	SystemRequest("Debug Output", "Code: "..ErrCode.."\nString: "..ErrStr$.."\nCommand: "..ErrCmd.."\nLine: "..ErrLine, "OK")
EndFunction

RaiseOnError(p_ErrorHandler)

Repeat
	WaitEvent
Forever
This is the error message that shows up:
Attempt to yield across metamethod/C-call boundary!
There also seems to be another error message behind it, but it disappears so fast that I can't read it.

amyren
Posts: 206
Joined: Thu May 02, 2019 11:53 am

Re: RaiseOnError() with RapaGUI on Latest Android Player

Post by amyren »

The message behind is:

Debug Output
Code: 1635
String: This error is for internal use only.
Command: WaitEvent
Line: 10

User avatar
airsoftsoftwair
Posts: 4612
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: RaiseOnError() with RapaGUI on Latest Android Player

Post by airsoftsoftwair »

Yes, this looks like a bug. Will be fixed.

Post Reply