<p>I am using offlineimap version 6.5.5 on Mac OS X Yosemite and I get the following when I try to sync.</p>

<p>ERROR: ERROR in syncfolder for Noorul folder INBOX: Traceback (most recent call last):<br>
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/accounts.py", line 399, in syncfolder<br>
    statusrepos.getsep()))<br>
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/repository/LocalStatus.py", line 106, in getfolder<br>
    self.import_other_backend(folder)<br>
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/repository/LocalStatus.py", line 69, in import_other_backend<br>
    folderbk = dic<a href="folder.name,%20repobk">'class'</a><br>
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/folder/LocalStatusSQLite.py", line 59, in <strong>init</strong><br>
    self.connection = sqlite.connect(self.filename, check_same_thread = False)<br>
OperationalError: unable to open database file</p>

<p>I did some investigation and I observe the following.</p>

<ol class="task-list">
<li>The same offlineimaprc configuration works on offlineimap 6.3.5 on debian along with dovecot</li>
<li>It looks like recent version of offlineimap is not creating status db for folders that already exist in destination.</li>
<li>I thought this issue was just with my INBOX folder as dovecot creates this by default. By it looks like if I delete status db for of already synced folder, I get the same error for that too.</li>
</ol>

<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/167">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AKFSELpyg2mMmisNDrdcAj6J2M-efhkdks5nrY4_gaJpZM4Df9ae.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/167"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>