Skip to content
Donner's Daily Dose of Drama
Donner's Daily Dose of Drama
  • The Good
    • Blogging
    • Consumer Protection
    • Environment
    • Ethics
    • Geek’s Home
    • Lisa Lanett
    • Medfield
    • Music
    • Parenting and Technology
    • Travel
    • wow
  • The Bad
    • Business
    • Ebay
    • Investment
    • Job search
    • Personal Finance
    • Politics
  • The Ugly
    • Information Technology
      • Business Intelligence
      • Content Management
      • Free Software
      • I18N and L10N
      • Java
      • Open Source
      • Mobile Devices
      • Open Source Business Intelligence
      • OSBI
      • SDA
      • Security
      • Smartphone
      • Software Best Practices
      • Software Engineering
      • SQL Server
      • Streaming Media
      • Web
    • Austria
    • Fiction
    • Hardware
    • iPod
    • Miscellaneous
    • Uncategorized
    • Video
    • Weekend Warrior
Donner's Daily Dose of Drama

SQL error: not an error

Christian Donner, June 15, 2010July 15, 2010

“SQL error: not an error” is an odd SQLite error message that can be confusing. It stumped me for a moment. The fix is quite simple:

C:\Android\android-sdk-windows\tools>adb -e shell
# sqlite3 /data/data/com.pod.tripsnmiles/tripsnmiles/tripsnmiles
sqlite3 /data/data/com.pod.tripsnmiles/tripsnmiles/tripsnmiles
SQLite version 3.5.9
Enter ".help" for instructions
sqlite> select * from trip;
select * from trip;
SQL error: not an error
sqlite>

But then it dawned on me:

sqlite> .tables
.tables
sqlite>

I entered the wrong path and the database was not even open. SQLite does not report an error when you pass it a non-existent database. I actually tries to create a new one.

# sqlite3 /data/data/com.pod.tripsnmiles/databases/tripsnmiles
sqlite3 /data/data/com.pod.tripsnmiles/databases/tripsnmiles
SQLite version 3.5.9
Enter ".help" for instructions
sqlite> .tables
.tables
android_metadata  setup             vehicle
gas               trip
sqlite>

Now this looks better.

Related Posts:

  • The Voip.ms SMS Integration for Home Assistant
  • OpenVPN
  • Enphase Envoy Local Access
  • Computer Build 2025
  • SUTAB Scam?

Mobile Devices Smartphone AndroidErrorsqlite

Post navigation

Previous post
Next post

Comments (2)

  1. Ryan says:
    July 14, 2010 at 7:47 am

    Thanks!

  2. JiWon says:
    July 26, 2010 at 2:07 am

    Thanx a lot !!!! 😀

Leave a Reply

Your email address will not be published. Required fields are marked *

Pages

  • About
  • Awards
    • TechnoLawyer
  • Contact Christian Donner
  • Project Portfolio
  • Publications
  • Speaking Engagements

Recent Comments

  • Christian Donner on Sealing a leaky cast-iron fireplace chimney damper
  • Eric on Sealing a leaky cast-iron fireplace chimney damper
  • Christian Donner on Contact Christian Donner
  • Max on Contact Christian Donner
  • Christian Donner on Contact Christian Donner

Tags

AHCI Amazon Android ASP.Net AT&T Droid Drupal email Error failure featured firmware Garmin Godaddy Google honda Internet Explorer 8 iPhone Lenovo Lisa Lanett Modules NAS Nexus One Paypal Performance Privacy QNAP raid RS-407 sauna Security spam SQL SR3600 Synology T-Mobile T430s transmission tylö Verizon Virus VMWare Windows 7 windows 8.1 Windows Mobile
  • About
  • Awards
    • TechnoLawyer
  • Contact Christian Donner
  • Project Portfolio
  • Publications
  • Speaking Engagements
©2025 Donner's Daily Dose of Drama | WordPress Theme by SuperbThemes