title: sqlite write error on attempt to read
body: <p>I received this error when trying to SELECT from a sqlite database that I had opened with a read-only connection:</p>
  
  <pre><code>attempt to write a readonly database
  </code></pre>
  
  <p>What would cause a <strong>write</strong> error on a read attempt?</p>