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

+1 Come on guys, let’s fix this.

Still exists in 7.1…Really?

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

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.

please someone help me out. Iam stuck in this.

“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)

It is resolved now. Thank you.

That’s it? No explanation of how you fixed it?