ajeetdsouza/zoxide · error · ImportError

could not read from atuin

Error message

could not read from atuin

What it means

Error "could not read from atuin" thrown in ajeetdsouza/zoxide.

Source

Thrown at src/import/atuin.rs:104

                    if self.buf.is_empty() {
                        continue;
                    }

                    let result = self.parse_line(&self.buf);
                    match &result {
                        Ok(dir) => {
                            let path = dir.path.as_ref();
                            if self.prev_cwd.as_deref() == Some(path) {
                                continue; // dedup consecutive same-path entries
                            }
                            self.prev_cwd = Some(path.to_string());
                            return Some(result);
                        }
                        Err(_) => return Some(result),
                    }
                }
                Err(e) => {
                    return Some(Err(self.err(anyhow!(e).context("could not read from atuin"))));
                }
            }
        }
    }
}

impl Drop for Iter {
    fn drop(&mut self) {
        _ = self.child.kill();
        _ = self.child.wait();
    }
}

View on GitHub (pinned to ee594e6906)

When it happens

Trigger: Thrown at src/import/atuin.rs:104 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of ajeetdsouza/zoxide@ee594e6906 (2026-08-16). Data as JSON: /api/errors/ff4bd014ad3eab1b. Report an issue: GitHub.