Designer doesn't always work or show kinds in iframe

Description

Can't always see Designer: get an error
Cannot call method 'getFile' of undefined @ ares.js line 366

Sometimes I do see the designer but the iframe with the kinds doesn't seem to be displaying any kinds.

Environment

Windows 7, Chrome 25+

Activity

Show:
Yves Del Medico
August 30, 2013, 4:37 PM

Ok, nice to see that the write issue comes from filesystem permissions.

Concerning the 'unexpected token' error, do you see it in the error popup "Unable to render kind ...".
If so, the stack trace in the "details" of the popup should help.

Will Hatfield
August 30, 2013, 4:53 PM

Yeah, not sure how to fix filesystem permissions to make it work when not @HOME@

Here's the trace, but it doesn't directly connect with any code line on my kind.

at Object.enyo.json.codify.from (http://127.0.0.1:9009/ide/deimos/source/designer/Json.js:64:28)
at Object.enyo.kind.renderKind (http://127.0.0.1:9009/ide/deimos/source/designer/iframe/iframe.js:371:106)
at Object.enyo.kind.receiveMessage (http://127.0.0.1:9009/ide/deimos/source/designer/iframe/iframe.js:122:10)
at Object.enyo.kind.dispatch (http://127.0.0.1:9009/res/services/home/file/OTGEnyo2/enyo/source/kernel/Component.js:447:14)
at Object.enyo.kind.inherited (http://127.0.0.1:9009/res/services/home/file/OTGEnyo2/enyo/source/kernel/Oop.js:234:13)
at Object.enyo.createMixin.dispatch (http://127.0.0.1:9009/res/services/home/file/OTGEnyo2/enyo/source/kernel/mixins/ControllerSupport.js:88:15)
at Object.dispatch (http://127.0.0.1:9009/res/services/home/file/OTGEnyo2/enyo/source/kernel/mixins/MixinSupport.js:33:17)
at Object.enyo.kind.dispatchEvent (http://127.0.0.1:9009/res/services/home/file/OTGEnyo2/enyo/source/kernel/Component.js:374:18)
at Object.enyo.kind.inherited (http://127.0.0.1:9009/res/services/home/file/OTGEnyo2/enyo/source/kernel/Oop.js:234:13)
at Object.enyo.createMixin.dispatchEvent (http://127.0.0.1:9009/res/services/home/file/OTGEnyo2/enyo/source/kernel/mixins/MixinSupport.js:387:16) log.js:42
Error
at Object.enyo.kind._log (http://127.0.0.1:9009/res/services/home/file/OTGEnyo2/enyo/source/kernel/Object.js:94:11)
at Object.enyo.kind.error (http://127.0.0.1:9009/res/services/home/file/OTGEnyo2/enyo/source/kernel/Object.js:88:8)
at Object.enyo.kind.renderKind (http://127.0.0.1:9009/ide/deimos/source/designer/iframe/iframe.js:405:9)
at Object.enyo.kind.receiveMessage (http://127.0.0.1:9009/ide/deimos/source/designer/iframe/iframe.js:122:10)
at Object.enyo.kind.dispatch (http://127.0.0.1:9009/res/services/home/file/OTGEnyo2/enyo/source/kernel/Component.js:447:14)
at Object.enyo.kind.inherited (http://127.0.0.1:9009/res/services/home/file/OTGEnyo2/enyo/source/kernel/Oop.js:234:13)
at Object.enyo.createMixin.dispatch (http://127.0.0.1:9009/res/services/home/file/OTGEnyo2/enyo/source/kernel/mixins/ControllerSupport.js:88:15)
at Object.dispatch (http://127.0.0.1:9009/res/services/home/file/OTGEnyo2/enyo/source/kernel/mixins/MixinSupport.js:33:17)
at Object.enyo.kind.dispatchEvent (http://127.0.0.1:9009/res/services/home/file/OTGEnyo2/enyo/source/kernel/Component.js:374:18)
at Object.enyo.kind.inherited (http://127.0.0.1:9009/res/services/home/file/OTGEnyo2/enyo/source/kernel/Oop.js:234:13) log.js:42

Yves Del Medico
August 30, 2013, 5:11 PM

You're right.

Would it be possible to share your code with me to see what's going on ?

Will Hatfield
August 30, 2013, 5:18 PM

Here's the file.

Yves Del Medico
September 23, 2013, 2:18 PM

The problem is caused by "attributes: {"z-index": 10}," in the kind named "scrim2".

I need to investigate deeper as this should be allowed.

Assignee

Yves Del Medico

Reporter

Will Hatfield

Labels

None

External issue ID

None

Tango Test Run Elements

None

Old Issue Key

None

Epic Link

Components

Affects versions

Priority

None
Configure