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: 
wxYz
Visitor

Re: beginner's troubles

@squirreltown: I've been able to upload example files from the SDK successfully, just not anything related to the helloworld file...whether my own, or someone else's attempt, which was successful on their machine, but for some reason isn't on mine. (see my last post regarding my friend's file, which was successful for him, and which I was able to upload to my machine without display on the first attempt, but has failed on every attempt thereafter)

btw, squirreltown, I noticed in one your earlier post you mention to make sure to include the images directory. No mention of an images directory is made in the dev guide for the helloworld example. However, in my searches on this forum, I came across advice to another beginner who was having similar struggles that advised them to include an images directory for the helloworld example (despite its exclusion from the dev guide). Might this be the source of my problem, or is it some other small, inane problem/incompatibility that is making me want to pull out my hair? For instance, might file association (with the brs file) cause this problem? Or, perhaps something with the file's properties/attributes?

I'm trying to keep from overthinking the cause of the problem, but all of the simple solutions keep getting ruled out...
0 Kudos
RokuMarkn
Visitor

Re: beginner's troubles

There's no requirement to have an images directory, but there is a requirement to have icons in your package. These are usually stored in a directory called images, but it doesn't have to be.

I suggest you get a command line, run "unzip -l myfile.zip" and post the output.

--Mark
0 Kudos
malloys
Visitor

Re: beginner's troubles

Not trying to hijack the thread but I can't resist responding...

"NewManLiving" wrote:
"EnTerr" wrote:
Using Eclipse for BRS development is like using a bazooka to kill a mosquito. Approximately as much overkill; not worth installing for that. However if you are already accustomed to Eclipse and use it day to day, under the Golden Hammer rule it makes sense to use the plugin.


I have tried both ways, and once the application became large it was more beneficial for me to use Eclipse with the plugin. The project explorer is a quick way to access any file quickly, even my images , xml, json. The outliner allows fast access to functions in different modules and shows me where any naming conflicts may arise. To be able to zip, sideload and debug in a couple of mouse clicks is also a benefit. Also copying code from other projects, running test code in a test project - etc.
Even the editor is helpful most of the time. I'm using Version: Helios Service Release 2 Build id: 20110218-0911 with windows 8.


Thanks, I do try 🙂
Aside from the benefits mentioned above (and on topic - avoiding common zip and deployment issues)...
For those that don't yet use the eclipse plugin - note that there are also other useful features, such as: checking for and flagging common coding errors, localization assistance, code folding, reference searching, declaration search/open, hover-help and auto-completion/assist for the components,interfaces,events and language elements, auto-launching/connecting of the debug console on deployment, debug console command history, etc.

"NewManLiving" wrote:

No problem except from time to time I have to re-enter the ip address in the deployment wizard (don't know if this is intentional or just a bug).


That's probably not a bug, but I'd need to know more details to be 100% sure (add to the semi-permanent eclipse plugin thread if the explanation below doesn't jibe what you're seeing).
The IP address combo (in both the deployment wizard and the debug console) gets it's list from a SSDP listener background thread.
Addresses that haven't been heard from since their SSDP timeout expired are periodically purged from the list.
Any IP address that you manually enter has a timeout of 20 minutes - If that Roku box does an SSDP broadcast before the initial 20 minute timeout is up, the thread updates the timeout as specified by the SSDP broadcast (and the cleanup process is delayed on subsequent eclipse sessions to give the boxes enough time to do their SSDP broadcasts again).

So, in your case, it may be that something in your environment is preventing (perhaps just occasionally) the SSDP broadcast from getting thru within the timeout window.

"NewManLiving" wrote:

It can only get better with each release of the plugin (I hope)

Spoiler alert... the next plugin release will almost certainly have support for live docs tags (similar to javadocs, phpdocs, etc., but specific to BrightScript) integrated into the hover-help system, and an enhanced context-sensitive hover-help/auto-completion on message-port generated events.

I'm up for fixing or adding anything, but since my Roku overlords have become pretty conservative in approving work on bugfixes and enhancements, users of the Eclipse plugin need to be explicit and vocal (posting on this forum should help) about bugs they'd want to see fixed or enhancements they'd like to see added.

cheers
0 Kudos
squirreltown
Roku Guru

Re: beginner's troubles

@wxYz

Ok great, then you have in front of you the proper way of doing it. I'll just mention one more time because it happened to me and I'm far from alone in this -

"Install Failure: No manifest. Invalid package"

In my case it meant I was zipping a folder, and since zipping makes a folder around that, it was nested and the roku couldn't see the manifest. You
have to select all your items and zip those together - not the folder they are in on your computer.
Kinetics Screensavers
0 Kudos
EnTerr
Roku Guru

Re: beginner's troubles

"NewManLiving" wrote:
it was more beneficial for me to use Eclipse with the plugin. [...] No problem except from time to time I have to re-enter the ip address in the deployment wizard (don't know if this is intentional or just a bug). It can only get better with each release of the plugin (I hope)

NewManLiving - what's the make and model# of the wifi router you are using?
In the plugin thread i had epic argument with Malloys whether automatic discovery works with all routers (he says all routers can be coaxed to do that; while me, SiliconDust and Google take a more dim view)
0 Kudos
NewManLiving
Visitor

Re: beginner's troubles

ASUS RT AC 68 U 1900
Had some initial problems with connecting
Apple products with the new protocols
But I think apple addressed that in their last
7 update
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
EnTerr
Roku Guru

Re: beginner's troubles

"NewManLiving" wrote:
ASUS RT AC 68 U 1900
Had some initial problems with connecting Apple products with the new protocols
But I think apple addressed that in their last 7 update

Hm, at least Chromecast compatibility list has Asus RT-AC68U as compatible out of the box - and if so, the vanishing IP must be a bug in the eclipsing plugin.

PS. OTOH, people had complained about problems with Apple's Bonjour?ZeroConf and that uses multicast, so you can have a look at some of the settings
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.