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: 

problem in deploying zip file

i used some of the example zip files provided in the sdk.i was able to install the application in development installer and it runs successfully and i m able to get my output but if i m to unzip the zipped application and rezip the application and load the application in developement installer ...it installs succesfully but i m not able to get the application s output on my screen and this problem also exist for the unzipped application provided in the sdk....cud u guys help me out ... i d be so greatful
0 Kudos
7 REPLIES 7
RokuChris
Roku Employee
Roku Employee

Re: problem in deploying zip file

Be sure your source directory is at the root of your zip file. It needs to be channel.zip/source, not channel.zip/channel/source.

If that's not the problem, see if there's any output on the debug console that might indicate what's going wrong.
0 Kudos

Re: problem in deploying zip file

i even tried dat.. its not working...ive got latest roku sdk 3.0, inside the examples folder..ive got a folder named source and another folder named zips(which contains compressed file with extension.zip) i was able to succesfully deploy in developer installer and was able to receive the output as far as the .zip files inside the zips folder are concerned...but if i m to zip the contents inside the source folder which usually is in unziped form and deploy dat in developer installer it installs but not able to get the output....i usually archive the folder by left clicking--> compress<channel>.i also tried archiving using the terminal zip -9 -r channel.zip channel...but still not able to get the output....am i doing the wrong way , is der anyother way to archive the application or is der any modification need to be done
0 Kudos
RokuMarkn
Visitor

Re: problem in deploying zip file

"dgenerationb4u" wrote:
i also tried archiving using the terminal zip -9 -r channel.zip channel...


If "channel" is the name of your channel directory, that command will produce a zip file with "channel" as the contents of the root. That is not what you want -- as Chris said, you want the channel directory to BE the root, not to be contained in the root. You should instead do something like

cd channel
zip -9 -r ../channel.zip .


However even better would be to use the Makefile, which packages the channel correctly so you don't have to worry about these details.

You can check your package by typing "unzip -l channel.zip". You should see files like "source/xxx.brs", not "channel/source/xxx.brs".

--Mark
0 Kudos

Re: problem in deploying zip file

thanks guys ...dat did it...i was so dumb dat i was compressing the channel itself...and not the contents...cud u guys explain how to do the make files
0 Kudos
RokuKevin
Visitor

Re: problem in deploying zip file

You will need a unix shell with the the "make", "zip", and "curl" commands available.

Go to any of the examples in the SDK... example:

% cd <sdk>/examples/source/simplevideoplayer
% make install

That will side-load the simplevideoplayer example app. If you copy the same directory structure for you application, you can use the same make commands on your application.

Linux and the Mac should contain the shell environment out of the box. On windows you may need to install cygwin:
http://www.cygwin.com/

--Kevin
0 Kudos
lhgrubbs
Channel Surfer

Re: problem in deploying zip file

There was a comment earlier in the posts about not being able to telnet to the roku 2 box. I'm packaging and side loading the channel with out a problem but "telnet rok.uip.add.res 8080" times out. I need to to the keygen for packaging the side loaded channel. There is a "rekey" option on the http://rok.uip.add.res Utilities screen. But I didn't create a key/password yet. Will this little Roku2 box do this?

LeRoy
0 Kudos
RokuMarkn
Visitor

Re: problem in deploying zip file

If you have enabled developer mode, then you should be able to telnet to port 8080. Maybe try rebooting the Roku and try again. Can you ping the Roku's ip address from the computer you're using to run telnet?

--Mark
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.