Running cdk-cli on a fresh system hangs #1160

Closed
opened 2025-10-06 18:58:16 +00:00 by daywalker90 · 1 comment
daywalker90 commented 2025-10-06 18:58:16 +00:00 (Migrated from github.com)

It's because the ~/.cdk-cli dir is not created. That is why github.com/cashubtc/cdk@c30a078a12/crates/cdk-sqlite/src/common.rs (L50) is hanging. It can create the db file but not the parent directory that is missing on a fresh system.

I expect cdk-cli to create the directory if it's missing.

It's because the ~/.cdk-cli dir is not created. That is why https://github.com/cashubtc/cdk/blob/c30a078a12be3e9e2e6cb5906dc31c51851586ef/crates/cdk-sqlite/src/common.rs#L50 is hanging. It can create the db file but not the parent directory that is missing on a fresh system. I expect cdk-cli to create the directory if it's missing.
thesimplekid commented 2025-10-07 11:15:17 +00:00 (Migrated from github.com)

Thanks fixes in https://github.com/cashubtc/cdk/pull/1161. Something must have changed recently I've done this many times before without an issue.

Thanks fixes in https://github.com/cashubtc/cdk/pull/1161. Something must have changed recently I've done this many times before without an issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cashubtc/cdk#1160
No description provided.