Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Busch
Reel Rookie

Application will not stay operational, simply loads and then exits.

Here is my error code.  I have properly matched MainScene.xml and main.brs, not sure what is happening., here is error codes:  

01-12 20:13:23.942 [beacon.signal] |AppLaunchInitiate ---------> TimeBase(0 ms)
01-12 20:13:23.946 [beacon.signal] |AppSplashInitiate ---------> TimeBase(5 ms)
01-12 20:13:24.668 [beacon.signal] |AppSplashComplete ---------> Duration(721 ms)
01-12 20:13:24.790 [beacon.signal] |AppLaunchInitiate ---------> TimeBase(0 ms)
01-12 20:13:24.800 [scrpt.cmpl] Compiling 'WebSocket TV Messaging', id 'dev'

------ Compiling dev 'WebSocket TV Messaging' ------
01-12 20:13:24.809 [scrpt.ctx.cmpl.time] Compiled 'WebSocket TV Messaging', id 'dev' in 2 milliseconds (BCVer:0)
01-12 20:13:24.809 [beacon.signal] |AppCompileComplete --------> Duration(19 ms)

------ Running dev 'WebSocket TV Messaging' main ------
01-12 20:13:25.063 [scrpt.ctx.run.enter] UI: Entering 'WebSocket TV Messaging', id 'dev'
Creating roSGScreen.
Attempting to create MainScene.
BRIGHTSCRIPT: ERROR: roSGScreen.CreateScene: No such node MainScene: pkg:/source/main.brs(8)scene creation failed. Check MainScene.xml.
01-12 20:13:25.119 [bs.ndk.proc.exit] plugin=dev pid=13184 status=exit retval=2 user requested=0 process name='SdkLauncher' exit code=EXIT_USER_NAV

0 Kudos
3 REPLIES 3
TwitchBronBron
Streaming Star

Re: Application will not stay operational, simply loads and then exits.

Can you share the contents of Main scene.brs and xml?

Also, how are you packaging and side loading the app? (Manually zipping and uploading, using vscode, using eclipse, something else?)

It might be worth looking at a few sample projects. Here's a good fairly simple app. Could be good to compare the main scene stuff in there to your project to see what's different. 

https://github.com/rokucommunity/sample-projects/tree/master/standard-with-task

 

0 Kudos
Busch
Reel Rookie

Re: Application will not stay operational, simply loads and then exits.

I am just manually zipping from the standard file explorer provided with my computer.  The sample project is really just what the doctor ordered, I think that will help alot, thank you.  If not I will attach the files requested, if the problem is solved I dont want to waist your valuable time.

0 Kudos
Baradanikto
Roku Guru

Re: Application will not stay operational, simply loads and then exits.

@Busch You may want to take a look at the FREE software I provide in my signature below.  It will generate a Grid style channel for you with no coding required.

FREE Windows desktop software for converting Direct Publisher channels to SceneGraph (SDK), for creating BIF (Trick Play) files, Roku (MRSS, JSON) feed files, and FireTV feed files @ GitHub/rrirower.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.