georgejecook / maestro-roku

MIT License
23 stars 14 forks source link

Runinng sample code but doesn't work #16

Closed Allan-Nava closed 3 years ago

Allan-Nava commented 3 years ago

I'm trying to use your framework but the sample code doesn't work

Screenshot 2021-05-27 at 15 16 29

carlospaulino commented 3 years ago

Correct, the sample app seems to be broken. I was able to build and install it successfully, but it fails to launch. This is the output from the BrightScript console:

------ Running dev 'maestro sample' main ------
Launching with args
<Component: roAssociativeArray> =
{
    instant_on_run_mode: "foreground"
    lastExitOrTerminationReason: "EXIT_BRIGHTSCRIPT_CRASH"
    source: "homescreen"
    splashTime: "264"
}
[RALE][INFO] - Roku Advanced Layout Editor v.2.1.7
INFO file:///Users/dev/sample/src/components/main/MainScene.bs:15 Maestro sample application.
INFO file:///Users/dev/sample/src/components/main/MainScene.bs:9 init
INFO file:///Users/dev/sample/src/components/main/MainScene.bs:27 begin
INFO file:///Users/dev/sample/src/components/main/MainScene.bs:63 initializing the IOD container
INFO file:///Users/dev/sample/src/components/main/MainScene.bs:32 starting the bootstrap task to orchestrate our app init/loading tasks
INFO file:///Users/dev/sample/src/components/main/MainScene.bs:51 boot strap is complete - showing main screen
METHOD file:///Users/dev/sample/src/components/roku_modules/maestro/view/navigation/TabController.brs:6 init

BrightScript Micro Debugger.
Enter any BrightScript statement, debug commands, or HELP.

Suspending threads...
Thread selected:  1*   ...onents/main/AppController.brs(9)     m.initializeView(m.tabController)

Current Function:
004:  function Init()
005:
006:    m_createNodeVars()
007:
008:      mv_initializeFocusManager(m.global)
009:*     m.initializeView(m.tabController)
010:      m.initializeView(m.tabMenu)
011:  end function
Source Digest(s):
pkg: dev 0.1.0 85ad1aa91d3ba322dbf04fe0a45feb46 maestro sample

Member function not found in BrightScript Component or interface. (runtime error &hf4) in pkg:/components/main/AppController.brs(9)
Backtrace:
#0  Function init() As Dynamic
   file/line: pkg:/components/main/AppController.brs(9)
Local Variables:
global           Interface:ifGlobal
m                roAssociativeArray refcnt=2 count:12
Threads:
ID    Location                                Source Code
 0[u] ??
 1*   ...onents/main/AppController.brs(9)     m.initializeView(m.tabController)
 2[u] ??
  *selected   [u]unattached(not debuggable)

Brightscript Debugger>
Allan-Nava commented 3 years ago

Any news?

georgejecook commented 3 years ago

thanks for raising this, I'll look at it this weekend.

Allan-Nava commented 3 years ago

thanks for raising this, I'll look at it this weekend.

Let me know

georgejecook commented 3 years ago

this is now resolved

Allan-Nava commented 3 years ago

Is it possible to use it? cause right now I use this example: https://github.com/rokudev/hero-grid-channel

georgejecook commented 3 years ago

You can try @Allan-Nava.

Please note: I'm not supporting anyone using maestro, outside of my clients or teams, in any way, for the near future. If you know roku well, or you're very experienced in other technologies, and are happy to take on that challenge and risk, then give it a go.

If not, then I suggest you use something else; I won't be there to guide you - and the docs, the code and the tests are all you have.

Allan-Nava commented 3 years ago

You can try @Allan-Nava.

Please note: I'm not supporting anyone using maestro, outside of my clients or teams, in any way, for the near future. If you know roku well, or you're very experienced in other technologies, and are happy to take on that challenge and risk, then give it a go.

If not, then I suggest you use something else; I won't be there to guide you - and the docs, the code and the tests are all you have.

Ok, maybe if the project is stable I can try to refactor all the stuff and try to use it