You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run the example wiki using rhino/narwhal by executing:
persvr example
it works fine. however, when i modify the page.js file to attempt to use either the SQL store or the Mongo store, i get errors.
SQL gives me this error:
TypeError: [JavaPackage org.persvr.store.SQLStore] is not a function, it is object
Mongo gives me this error:
Error: undefined failed to load file://...\example/lib/sys.js
All I have done is modify the page.js file by uncommenting the appropriate section to change the pageStore that is used...
I also get this error when I run the page through the browser:
"Error: You must assign a getDataModel method to the pintura config object in order to expose data"
The text was updated successfully, but these errors were encountered:
This is an issue with the packages/perstore/jars/pintura.jar not getting loaded. This is supposed to take place automatically, but apparently it is not for you. I'll see if I can reproduce this.
Thanks Kris, I'll try it out today...I appreciate the quick response.
I got the getDataModel error when using the example through Rhino and attempting the SQL store.
Thanks again...
------Original Message------
From: kriszyp
To: [email protected]
Subject: Re: [GitHub] Problem running example in Rhino with SQL or Mongo [kriszyp/pintura GH-14]
Sent: Mar 11, 2011 7:39 PM
If I run the example wiki using rhino/narwhal by executing:
persvr example
it works fine. however, when i modify the page.js file to attempt to use either the SQL store or the Mongo store, i get errors.
SQL gives me this error:
TypeError: [JavaPackage org.persvr.store.SQLStore] is not a function, it is object
Mongo gives me this error:
Error: undefined failed to load file://...\example/lib/sys.js
All I have done is modify the page.js file by uncommenting the appropriate section to change the pageStore that is used...
I also get this error when I run the page through the browser:
"Error: You must assign a getDataModel method to the pintura config object in order to expose data"
The text was updated successfully, but these errors were encountered: