NodeWebkit.FileSize crash

Bugs will be moved here once resolved.

Post » Tue Aug 05, 2014 11:57 am

Image

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
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
B
22
S
6
G
8
Posts: 328
Reputation: 6,651

Post » Tue Aug 05, 2014 4:24 pm

Thanks, should be fixed in next build.
Scirra Founder
B
398
S
236
G
88
Posts: 24,433
Reputation: 194,635

Post » Wed Aug 06, 2014 2:06 pm

Nice :]
Thanks for the fast update!
B
22
S
6
G
8
Posts: 328
Reputation: 6,651


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 15 guests