Private channel doesn't run after install

I’ve genkey’d, generated and downloaded the pkg, and created a private channel.
I removed the development version from my DVP (didn’t want any conflicts there).
Went to my account on roku.com, and added the private channel to my box.
Went into the Channel Store/My Channels.
There it is. :grinning_face_with_smiling_eyes:
Selected Go to channel. A couple of screen flashes then back to the Roku main menu. :?

The app works fine in developer mode.
Suggestions?

Thanks
D.

This doesn’t have anything with you trying to detect developer’s mode vs. published mode, does it? Maybe you’re reading something from the registry that’s returning an invalid?

-JT

It shouldn’t be, no.
I took an entirely different approach for the dev/prod determination.

Maybe I’ll add a log to server capability and update it.

Really wish this thing had exception handling :disappointed_face:

If you have any configuration stored in the registry, it could be an error that’s not surfaced unless those values aren’t there. Maybe change the RegistrySection temporarily in your dev version to see if it blows up if it can’t find the values.

Hmmm.

I was my understanding that a private channel didn’t have any access to the dev app’s registry.
Is that not the case?

“vaxace” wrote:
Hmmm.

I was my understanding that a private channel didn’t have any access to the dev app’s registry.
Is that not the case?
No.. I mean change your dev version to look in the wrong location in the registry to see if it blows up, too. Just in case that’s the issue.

“vaxace” wrote:

Really wish this thing had exception handling :disappointed_face:

You can always roll your own, Perl style. That is, use eval to run chunks of code and check for errors afterwards. It’s not quite the same, you won’t be able to throw specific errors, but you will be able to catch code problems and report their general location. Unfortunately, there aren’t two sets of quotes or a heredoc facility, so dealing with strings would be a pain.

P.S.
Don’t laugh. I know it’s kind of ridiculous. :slightly_smiling_face:

P.P.S.
Perl’s version of this is a real exception mechanism in that you can hand it a code block, and you can die with arbitrary data, allowing the equivalent of actual exception throws.

Go to Channel from the Channel Store doesn’t work properly for private channels added by code. Do you see the channel on the home screen? Does it launch from there?

Yep.
Doesn’t launch from there either.

Update:

Ok. Never did figure out what was going on.
Since then I have completely re-written the app with frequent tests as a private channel.

Works great now.

Thanks for the input.

D.