Code would be very helpful especially a gist, also versions of everything especially pouch, if we can't solve it quickly we can open an issue
--
You received this message because you are subscribed to the Google Groups "PouchDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pouchdb+u...@googlegroups.com.
To post to this group, send email to pou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pouchdb/b014f552-16e5-4085-9e9d-eeb073920ed5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Code would be very helpful especially a gist, also versions of everything especially pouch, if we can't solve it quickly we can open an issue
On Sep 15, 2014 6:41 PM, "Matt Woodward" <ma...@mattwoodward.com> wrote:
I'm new to PouchDB as of today but have been using CouchDB for a few years now. I decided to give PouchDB a try after working with IndexedDB for a few days on a mobile (PhoneGap/Cordova) project since in theory PouchDB should simplify things vs. using IndexedDB directly.--
In general terms what I'm trying to do at this point while getting my feet wet is:
* destroy the database
* create a new empty database
* make ajax call to REST web service
* populate PouchDB with data from REST web service
Obviously I won't do that every time in the final version of the app but it seemed like a good way to get started.
I kinda sorta had things limping along for a while but now I'm consistently getting this error in Chrome:
Uncaught NotFoundError: Failed to execute 'objectStore' on 'IDBTransaction': The specified object store was not found. pouchdb.min.js:7
a pouchdb.min.js:7
D.onupgradeneeded pouchdb.min.js:8
Firefox isn't throwing errors just doing that piece of things, but if I try to do allDocs() on the database, Firefox throws this error:
InvalidStateError: A mutation operation was attempted on a database that did not allow mutations.
And on allDocs() Chrome throws this error:
{"status":500,"name":"error","message":"AbortError"}
I can provide code to help troubleshoot but since I'm so new to PouchDB I thought I'd ask the general question in case I'm just missing something basic like having to manage onupgradeneeded somehow, more explicitly manage transactions, or something along those lines.
Thanks for any assistance anyone can provide. I'm looking forward to working with PouchDB.
You received this message because you are subscribed to the Google Groups "PouchDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pouchdb+unsubscribe@googlegroups.com.