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: 
EnTerr
Roku Guru

ERROR: FOR EACH value is Invalid: roku_ads_lib:/Roku_Ads.brs

Trying to peruse RAL/RAF, unsightly wart pops in console, "BRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: roku_ads_lib:/Roku_Ads.brs(2729)":

Roku_Ads Framework version 1.5
Roku_Ads_checkAllowedFeature: Parsing whitelist for ROKU_ADS_NIELSEN_ID
Roku_Ads library version: 1.5
RAF 1.5; rendering preroll pod of 1 ads
BRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: roku_ads_lib:/Roku_Ads.brs(2729)

Googling^ shows it's been there for over six months, viewtopic.php?f=34&t=87439#p493704 - it has just migrated from line #1618 to #2729 of Roku_Ads.brs.

Roku*, could you log an item to fix the issue? It's as simple as an IF check for invalid (i'll fix it myself but you are hiding the source ;))

(^) Amusingly, the search was a google-whack as of today, i.e. produced only 1 result https://www.google.com/search?q=Runtime ... ku_Ads.brs
0 Kudos
8 REPLIES 8
rjdjohnston
Binge Watcher

Re: ERROR: FOR EACH value is Invalid: roku_ads_lib:/Roku_Ads

+1 Come on guys, let's fix this.
My channels: Amiri King, Donnie Baker, Worldview Weekend - Twitter @rjdjohnston
0 Kudos
BCVatOVG
Visitor

Re: ERROR: FOR EACH value is Invalid: roku_ads_lib:/Roku_Ads

Still exists in 7.1....Really?
0 Kudos
EnTerr
Roku Guru

Re: ERROR: FOR EACH value is Invalid: roku_ads_lib:/Roku_Ads

Seems it got fixed this week at last. Note the bump in RAF version from 1.5 to 1.6:

------ Running dev 'Agario' runuserinterface ------
Roku_Ads Framework version 1.6
Roku_Ads_checkAllowedFeature: Parsing whitelist for ROKU_ADS_NIELSEN_ID
RAF 1.6; rendering preroll pod of 1 ads
0 Kudos
Adhiraj279
Visitor

Re: ERROR: FOR EACH value is Invalid: roku_ads_lib:/Roku_Ads.brs

http://api.delvenetworks.com/rest/organ ... /media.rss

No it is not fixed. Iam facing this problem.
BRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: pkg:/source/main.brs(34)[/size][/color]
As Iam using one of ROKU's xml file to test a sample scene graph application, provided the link for the xml file.
0 Kudos
Adhiraj279
Visitor

Re: ERROR: FOR EACH value is Invalid: roku_ads_lib:/Roku_Ads.brs

please someone help me out. Iam stuck in this.
0 Kudos
EnTerr
Roku Guru

Re: ERROR: FOR EACH value is Invalid: roku_ads_lib:/Roku_Ads.brs

"Adhiraj279" wrote:
No it is not fixed. Iam facing this problem.
BRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: pkg:/source/main.brs(34)[/size][/color]

Yes, it was fixed - you are facing entirely different problem!
See, the error is NOT inside `roku_ads_lib:/Roku_Ads.brs`. Start a new topic/thread and include there sample of your code - specifically what's on line 34 of main.brs? (Even better if you can figure the issue on your own)
0 Kudos
Adhiraj279
Visitor

Re: ERROR: FOR EACH value is Invalid: roku_ads_lib:/Roku_Ads.brs

 It is resolved now. Thank you.
0 Kudos
Komag
Roku Guru

Re: ERROR: FOR EACH value is Invalid: roku_ads_lib:/Roku_Ads.brs

That's it? No explanation of how you fixed it?
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.