Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

App Acting Oddly Because of SQLite DB Errors From Plausiblelabs

My app was working fine on the device and simulator until it started acting really odd (can't navigate between tabs) and throwing errors (hundreds) in the API console like the one below. I don't use any SQL or database stuff in my app so I have no idea where this is coming from but it's ruining my app. Any help would be great.

Thanks,
Grant

2010-07-15 14:49:07.850 eConnect[265:207] [ERROR] A SQLite database error occurred on database '/Users/*****/Library/Application Support/iPhone Simulator/4.0/Applications/901D53C8-F186-4960-A7A2-0305361*****/Library/Application Support/analytics/analytics.db': Error Domain=com.plausiblelabs.pldatabase Code=3 "An error occured parsing the provided SQL statement." UserInfo=0x7d5**** {com.plausiblelabs.pldatabase.error.vendor.code=1, NSLocalizedDescription=An error occured parsing the provided SQL statement., com.plausiblelabs.pldatabase.error.query.string=INSERT INTO pending_events VALUES (?), com.plausiblelabs.pldatabase.error.vendor.string=no such table: pending_events} (SQLite #1: no such table: pending_events) (query: 'INSERT INTO pending_events VALUES (?)')

— asked July 15th 2010 by Grant Derderian
  • iphone
  • plausablelabs
0 Comments

3 Answers

  • There appears to be an issue with the analytics - iirc you can disable it temporarily in your tiapp.xml

    — answered July 16th 2010 by David Ashwood
    permalink
    0 Comments
  • Thanks for the response. I disabled analytics but I'm still getting the errors. Any other ideas?

    Thanks.

    — answered July 16th 2010 by Grant Derderian
    permalink
    0 Comments
  • Got it! I deleted the files in /Users/Me/Application Support/iPhone Simulator/4.0/Applications/ and the errors stopped. I lost me app's settings, but the problem was still fixed.

    — answered July 18th 2010 by Grant Derderian
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.