I set up a content associative array and pass it to the springboardscreen object doing:
screen.SetContent(show)
on this line I get an error (warning? doesn’t pull up the debugger…) “BRIGHTSCRIPT: ERROR: roSpringboardScreen.SetContent: Failed to box a bsTVAL.: pkg:/source/appChannel.brs(166)”
The screen comes up with no image, title, etc. I googled the error message but get no results of any use. Doesn’t seem like anyone else is getting this error so I have no idea what’s going on with my code.
“peterjtracey” wrote:
I set up a content associative array and pass it to the springboardscreen object doing:
screen.SetContent(show)
on this line I get an error (warning? doesn’t pull up the debugger…) “BRIGHTSCRIPT: ERROR: roSpringboardScreen.SetContent: Failed to box a bsTVAL.: pkg:/source/appChannel.brs(166)”
I suggest you inspect all of the value types in the ‘show’ associative array values carefully.
It seems like there is something that is not an expected value type (string, integer, etc.) … perhaps a component object value got included unintentionally?
Ha, this is odd. Why would it fail boxing any of these values?!
Try “print formatJSON(show)” just before doing setContent() while with the problematic values. Anything fun?