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

Problems with SDK 4.1 examples



  • Bs2dtest - sometimes crashes&reboots the player, sometimes get
    'Dot' Operator attempted with invalid BrightScript Component or interface reference. (runtime error &hec) in ...dH/pkg:/source/graphics2d.brs(614)
    Seems to be the same from viewtopic.php?f=34&t=46221


  • Flickr - exits on start. Console says: "unexpected error getting five_photos."


  • MrssTemplate - does not load, console shows
    *** ERROR compiling /pkg:/source/generalUtils.brs: SUB or FUNCTION defined twice. (compile error &had) in .../pkg:/source/generalUtils.brs(96)
    On examination, isXmlElement is defined in two places, in generalUtils.brs and in Types.brs


  • SimpleGrid - source directory is missing, so does not install:
    ------->Script directory "/source" does not exist in zip archive.



Please provide fixes?
0 Kudos
4 REPLIES 4
EnTerr
Roku Guru

Re: Problems with SDK 4.1 examples

Anybody Roku*,
can you confirm or explain (e.g. where do i get working examples)?
0 Kudos
RokuJoel
Binge Watcher

Re: Problems with SDK 4.1 examples

I filed a bug report on the first issue, I'll look into the other two as well.

- Joel
0 Kudos
p2premote
Visitor

Re: Problems with SDK 4.1 examples

mrsstemplate in sdk 41 in broken:

first, mrsstemplate zip has a space in its name.
roku41/examples/source/mrsstemplate$ make
*** Creating mrsstemplate .zip ***
>> removing old application zip ../../zips/mrsstemplate .zip
rm: cannot remove `../../zips/mrsstemplate': No such file or directory
rm: cannot remove `.zip': No such file or directory
make: *** [mrsstemplate] Error 1

second, it try to access files that do not exist:

roku41/examples/source/mrsstemplate$ make
*** Creating mrsstemplate .zip ***
>> removing old application zip ../../zips/mrsstemplate .zip
>> creating destination directory ../../zips
>> setting directory permissions for ../../zips
>> copying imports
mkdir: cannot create directory `source/common': File exists
cp: cannot stat `../../../../../apps/common/General.brs': No such file or directory
cp: cannot stat `../../../../../apps/common/StringUtils.brs': No such file or directory
cp: cannot stat `../../../../../apps/common/Types.brs': No such file or directory
make: *** [mrsstemplate] Error 1
0 Kudos
RokuJoel
Binge Watcher

Re: Problems with SDK 4.1 examples

Thanks for the details, I have filed a bug report.

- Joel
0 Kudos