logseq / logseq/logseq

unable to create tasks

Open
#12,528 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
45k
Forks
2.8k
Avg merge
1d 22h
Merged PRs (30d)
105

Description

### Search first

- [x] I searched and no similar issues were found

### What Happened?

When typing "cmd-enter" on a exisiting block, nothing happens.

### Reproduce the Bug

1. Create a new block.
2. Hit "control-enter".

Then nothing happens.

Error console does provide some clues, I guess.

``
"Error: Set block property failed: block or property doesn't exist
at new $cljs$core$ExceptionInfo$$ (file:///Applications/Logseq.app/Contents/Resources/app/js/db-worker.js?electron=true&capacitor=&publishing=false:17014:25)
at $cljs$core$ex_info$cljs$0core$0IFn$0_invoke$0arity$03$$ (file:///Applications/Logseq.app/Contents/Resources/app/js/db-worker.js?electron=true&capacitor=&publishing=false:17043:10)
at $cljs$core$ex_info$cljs$0core$0IFn$0_invoke$0arity$02$$ (file:///Applications/Logseq.app/Contents/Resources/app/js/db-worker.js?electron=true&capacitor=&publishing=false:17040:10)
at file:///Applications/Logseq.app/Contents/Resources/app/js/db-worker.js?electron=true&capacitor=&publishing=false:70420:13
at $logseq$db$batch_transact_with_temp_conn_BANG_$cljs$0core$0IFn$0_invoke$0arity$0variadic$$ (file:///Applications/Logseq.app/Contents/Resources/app/js/db-worker.js?electron=true&capacitor=&publishing=false:50547:182)
at $logseq$db$batch_transact_with_temp_conn_BANG_$$ (file:///Applications/Logseq.app/Contents/Resources/app/js/db-worker.js?electron=true&capacitor=&publishing=false:50531:10)
at $logseq$outliner$property$set_block_property_BANG_$$ (file:///Applications/Logseq.app/Contents/Resources/app/js/db-worker.js?electron=true&capacitor=&publishing=false:70403:10)
at $cljs$core$apply_to_simple$cljs$0core$0IFn$0_invoke$0arity$06$$ (file:///Applications/Logseq.app/Contents/Resources/app/js/db-worker.js?electron=true&capacitor=&publishing=false:7629:224)
at $cljs$core$apply_to_simple$cljs$0core$0IFn$0_invoke$0arity$05$$ (file:///Applications/Logseq.app/Contents/Resources/app/js/db-worker.js?electron=true&capacitor=&publishing=false:7625:256)
at $cljs$core$apply_to_simple$cljs$0core$0IFn$0_invoke$0arity$04$$ (file:///Applications/Logseq.app/Contents/Resources/app/js/db-worker.js?electron=true&capacitor=&publishing=false:7622:242)"
``

### Expected Behavior

Creation of task.

### Screenshots

Image

### Desktop or Mobile Platform Information

- MacOS 26.2
- Logseq app 2.0.1-alpha+nightly.20260416 (9804728-dirty)

### Additional Context

I am long time user of logseq. Years. This issue may be related to the fact that this database was imported from Markdown to SQLite about 4 or 5 months ago.

### Are you willing to submit a PR? If you know how to fix the bug.

- [ ] I'm willing to submit a PR (Thank you!)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the db-worker.js stack trace, especially set_block_property_BANG_ and batch_transact_with_temp_conn_BANG_, and trace the task-creation shortcut from there. Reproduce the failure using the reported control-enter or cmd-enter steps and inspect the error console. Done means creating a task from an existing block succeeds without the reported property error.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.