Problem Description
Can't read file sizes with Node Webkit
Attach a Capx
https://drive.google.com/file/d/0B6wXdu ... HFhSDN3cFk
Description of Capx
Let the user pick a file, then display the file sixe in the text field
Steps to Reproduce Bug
- Set a file path for Node Webkit
- Use NodeWebkit.FileSize to retrieve the size
Observed Result
[quote:cqzol748]Uncaught node.js Error
TypeError: Cannot read property 'apply' of undefined
at ExpNode.eval_object_behavior_exp (http://localhost:50000/expressions.js:337:28)
at Parameter.get_exp (http://localhost:50000/eveng.js:2049:19)
at Action.run_object (http://localhost:50000/eveng.js:1808:32)
at EventBlock.run_actions_and_subevents (http://localhost:50000/eveng.js:929:38)
at EventBlock.run (http://localhost:50000/eveng.js:886:9)
at Runtime.executeSingleTrigger (http://localhost:50000/preview.js:4118:10)
at Runtime.triggerOnSheetForTypeName (http://localhost:50000/preview.js:4037:16)
at Runtime.triggerOnSheet (http://localhost:50000/preview.js:3969:13)
at Runtime.trigger (http://localhost:50000/preview.js:3946:12)
at HTMLInputElement.<anonymous> (http://localhost:50000/NodeWebkit_plugin.js:86:18)
Expected Result
File size retrieved
Affected Browsers
- Chrome: unrelated
- FireFox: unrelated
- Internet Explorer: unrelated
- Node Webkit: YES
Operating System and Service Pack
win 8 64bit
Construct 2 Version ID
174
Node Webkit v0.10.0