webOShelp.net

Get the latest on:webOS Developers' RSS FeedwebOS Facebook page webOS Twitter Feed

Home Forums
The webOShelp.net WebOS / Mojo Developers' Forum
April 24, 2014, 09:51:36 PM *
Welcome, Guest. Please login (using the form in the left column) or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: First Tutorial Problem  (Read 2360 times)
mpachis
webOS Newb
*
Offline Offline

Posts: 1


View Profile
« on: February 28, 2010, 09:30:16 AM »

I have setup a Mojo development environment on a Linux machine using Eclipse with the Mojo plugin. When I try to run the myapp tutorial I get an error "Not allowed to load local resource" for each of the assistant JavaScript. See log snippet below. Any ideas what might be causing this error?

2010-02-28T17:06:26.132110Z [3406] qemux86 user.notice LunaSysMgr: {LunaSysMgrJS}: com.mpachis.myapp: =========> Calling palmInitFramework200_72, file:///media/cryptofs/apps/usr/palm/applications/com.mpachis.myapp/index.html:0
2010-02-28T17:06:26.156897Z [3406] qemux86 user.crit LunaSysMgr: {LunaSysMgrJS}: com.mpachis.myapp: Not allowed to load local resource: file:///app/assistants/stage-assistant.js, :0
2010-02-28T17:06:26.157208Z [3406] qemux86 user.crit LunaSysMgr: {LunaSysMgrJS}: com.mpachis.myapp: Not allowed to load local resource: file:///app/assistants/first-assistant.js, :0
2010-02-28T17:06:26.157562Z [3406] qemux86 user.crit LunaSysMgr: {LunaSysMgrJS}: com.mpachis.myapp: Not allowed to load local resource: file:///app/assistants/second-assistant.js, :0
2010-02-28T17:06:26.222221Z [3406] qemux86 user.crit LunaSysMgr: {LunaSysMgrJS}: com.mpachis.myapp: Error: An exception occurred in the 'first' scene's setup() method., file:///media/cryptofs/apps/usr/palm/applications/com.mpachis.myapp/index.html:0
2010-02-28T17:06:26.222658Z [3406] qemux86 user.crit LunaSysMgr: {LunaSysMgrJS}: com.mpachis.myapp: Error: Error: Cannot call method 'bindAsEventListener' of undefined, line undefined, file undefined, file:///media/cryptofs/apps/usr/palm/applications/com.mpachis.myapp/index.html:0
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2009, Simple Machines LLC
SMF customization services by 2by2host.com
Valid XHTML 1.0! Valid CSS!