Skip to content
Skip to main navigation
Skip to first column
Skip to second column
webOShelp.net
Get the latest on:
Home
News and Rumors
webOS News and Rumors
Palm News and Rumors
Pure Speculation!
Forums
Tutorials
Resources
Overview
API Reference
Mojo Services API
UI Widget List
CSS Style Reference
webOS Glossary
Frequently Asked Questions
Palm Pre Specifications
Other webOS resources
About Us
About This Site
Contact Us
Wanted: You!
Home
Forums
The webOShelp.net WebOS / Mojo Developers' Forum
May 20, 2013, 12:15:08 AM
Welcome,
Guest
. Please login (using the form in the left column) or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
The webOShelp.net WebOS / Mojo Developers' Forum
>
WebOS Mojo Development
>
Mojo Newbies
>
First Tutorial Problem
Pages: [
1
]
« previous
next »
Print
Author
Topic: First Tutorial Problem (Read 1732 times)
mpachis
webOS Newb
Offline
Posts: 1
First Tutorial Problem
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Site Announcements and Suggestions
-----------------------------
=> Announcements and Site Blog
=> webOShelp.net Site Suggestions
-----------------------------
WebOS News, Rumors and Speculation
-----------------------------
=> WebOS News and Rumors
=> WebOS Speculation and Wish List
=> WebOS Applications
-----------------------------
WebOS Mojo Development
-----------------------------
=> Mojo Newbies
=> Mojo General
=> Porting applications
=> Mojo Tutorials/Sample code/applications
===> Requests
=> Server-side development
=> Language-specific forums
===> French
===> Chinese
===> German
===> Russian
-----------------------------
WebOS Hacking
-----------------------------
=> Hacking WebOS
-----------------------------
WebOS Hardware Discussion
-----------------------------
=> Palm Pre
-----------------------------
General
-----------------------------
=> General Chat
Loading...
Username
Password
Remember Me
Forgot your password?
Forgot your username?
Create an account
Most Read Articles
webOS HTML5 Database Storage Tutorial
How do I perform a hard reset on the Pre?
The very first webOS tutorials ever!
webOS Fundamentals I - HTML, CSS, and JavaScript
First official webOS / Mojo SDK Tutorial from Palm Redux!
New webOS hacks - Palm Pre video recording, MSN Messenger and more
Root your Palm Pre: More webOS hacks emerge
Palm Pre's all-star lineup: Part 2
webOS Command-Line Terminal comes to the Palm Pre
webOS Fundamentals III - HTML, CSS and JavaScript
Other Resources
Palm/PalmOS resources
Other webOS resources