priya_sp
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2016
01:24 AM
Atom editor for deployment
im getting this error when i try to deploy the brightscript code in atom editor..anyone can help?
should i install node.js??
getting this error
Exception when creating zip file
EPERM: operation not permitted, open 'D:\scene graph\SceneGraphXMLTutorial\source\main.brs'
should i install node.js??
getting this error
Exception when creating zip file
EPERM: operation not permitted, open 'D:\scene graph\SceneGraphXMLTutorial\source\main.brs'
7 REPLIES 7
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2016
09:24 AM
Re: Atom editor for deployment
"priya_sp" wrote:
im getting this error when i try to deploy the brightscript code in atom editor..anyone can help?
should i install node.js??
getting this error
Exception when creating zip file
EPERM: operation not permitted, open 'D:\scene graph\SceneGraphXMLTutorial\source\main.brs'
It looks like something is preventing the file D:\scene graph\SceneGraphXMLTutorial\source\main.brs from being opened.
Look at the Atom console to see if there are any other clues to what is going on: Ctrl-Shift-I (or View>Developer>Toggle Developer Tools...) then select the 'Console' tab.
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2016
10:21 AM
Re: Atom editor for deployment
Has the contraption been known/tested to work with "/spaces in the path/and file.name"?
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2016
11:34 AM
Re: Atom editor for deployment
"EnTerr" wrote:
Has the contraption been known/tested to work with "/spaces in the path/and file.name"?
Good point, but yes, spaces were tested in both directory and file names.
I think the problem is that the file was created by unzipping one of the Roku example channels. There are some funky permissions set on their example files.
Solution (on Windows):
In Explorer, right-click the 'scene graph' folder, selected 'Properties', uncheck the 'Read-only' box, click 'OK', click 'OK' again when asked "Do you want to apply this change to this folder only, or do you want to apply it to all subfolders and files as well?"
EDIT: Version 0.1.2 of roku-develop has improved error-reporting for the cases when a file cannot be updated due to a permissions problem.
hclapp_1
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2016
06:09 PM
Re: Atom editor for deployment
Seems like node not installed in his machine.....
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2016
06:24 PM
Re: Atom editor for deployment
"hclapp_1" wrote:
Seems like node not installed in his machine.....
It doesn't need to be. Atom contains everything it needs, including Node.js.
priya_sp
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2016
01:23 AM
Re: Atom editor for deployment
thanks for all support..it has been resolved..problem with file permission .:)
priya_sp
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2017
02:04 AM
Re: Atom editor for deployment
<component name = "PanelExample" extends = "Panel" initialFocus="exampleVideo">
<interface >
<field id = "description" type = "string" onChange = "showdescription" />
</interface>
<script type = "text/brightscript" >
<![CDATA[
sub init()
m.top.panelSize = "full"
m.top.focusable = true
m.top.hasNextPanel = true
m.top.isFullScreen = false
end sub
sub showdescription()
videocontent = createObject("RoSGNode", "ContentNode")
videocontent.title = "Example Video"
print videocontent.title
videocontent.streamformat = "mp4"
'videocontent.url = "http://roku.cpl.delvenetworks.com/media/59021fabe3b645968e382ac726cd6c7b/f8de8daf2ba34aeb90edc55b2d380c3f/b228eeaba0f248c48e01e158f99cd96e/rr_123_segment_1_072715.mp4"
videocontent.url = m.top.description
print m.top.description
m.video = m.top.findNode("exampleVideo")
m.video.content = videocontent
m.video.setFocus(true)
print m.video.hasFocus()
m.video.control = "play"
m.video.loop = true
print "state"
[size=85][font=Helvetica Neue, Helvetica, Arial, sans-serif] end sub[/font][/size]
</script>
<children >
<Rectangle
id = "infoRectangle"
translation = "[ 0, 10 ]"
height = "460"
width = "1020"
color = "0x101010C0">
<Video id = "exampleVideo" height = "560"
width = "1020"/>
</Rectangle>
</children>
</component>
this is my code..im not getting the progress bar.i checked with hasfocus function().im getting an true value..could you tel me where i have gone wrong?