<p><a href="https://github.com/nicolas33" class="user-mention">@nicolas33</a>: I don't think this is properly fixed. The traceback I pasted above comes from an "OperationalError" exception, but the change you did in <a href="https://github.com/OfflineIMAP/offlineimap/commit/655c2b1fb9052b192bf7be32f8af716ed8c1396d" class="commit-link"><tt>655c2b1</tt></a> is modifying an existing error message in an "except NameError" block. So it is a different code path.</p>

<p>I think it would be best (from user perspective) to give a different message when the "OperationalError" occurs. That's when the database filename is important. If the python sqlite module doesn't work, the database filename doesn't matter much, I guess.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OfflineIMAP/offlineimap/issues/163#issuecomment-74434407">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AKFSEFHoQjNiAr7u1JCgOhq77LA_21faks5nsPUtgaJpZM4DaD0U.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/OfflineIMAP/offlineimap/issues/163#issuecomment-74434407"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>