Forum Discussion

EnTerr's avatar
EnTerr
Roku Guru
14 years ago

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?

4 Replies

  • Anybody Roku*,
    can you confirm or explain (e.g. where do i get working examples)?
  • I filed a bug report on the first issue, I'll look into the other two as well.

    - Joel
  • 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
  • Thanks for the details, I have filed a bug report.

    - Joel