AnswerDotAI / AnswerDotAI/nbdev

quarto database is locked error

Open
#1,518 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
5.3k
Forks
513
Avg merge
2d 30m
Merged PRs (30d)
8

Description

# Provide a minimally reproducible example

`nbdev_new` or `nbdev_prepare` fails with a database error stemming from quarto.

Tried clearing quarto cache but error still persists.

## Some background on minimal reproducible examples [^1]

nbdev 2.4.2
quarto 1.7.29

clean attempt at nbdev_new in empty git repo

```
nbdev_prepare
Success.
ERROR: database is locked: Error code 5: The database file is locked

Stack trace:
at async Object.openKv (ext:deno_kv/01_db.ts:10:15)
at async ProjectCacheImpl.init (file:///opt/quarto/bin/quarto.js:51070:22)
at async createProjectCache (file:///opt/quarto/bin/quarto.js:51197:5)
at async projectContext (file:///opt/quarto/bin/quarto.js:82381:32)
at async render (file:///opt/quarto/bin/quarto.js:91820:19)
at async Command.actionHandler (file:///opt/quarto/bin/quarto.js:92001:32)
at async Command.execute (file:///opt/quarto/bin/quarto.js:8253:13)
at async Command.parseCommand (file:///opt/quarto/bin/quarto.js:8143:20)
at async quarto (file:///opt/quarto/bin/quarto.js:128475:9)
at async file:///opt/quarto/bin/quarto.js:128505:9

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.