The startup wizard doesn't create keys, no way to recover. #999

Open
opened 2025-06-18 23:56:43 +12:00 by ousado · 2 comments
ousado commented 2025-06-18 23:56:43 +12:00 (Migrated from github.com)

Reproduce:

  • Select "Create a New Nostr Account" on the first wizard page
  • click continue
  • there's one more page to set up the relays
  • clicking continue button there brings you back to the first page, IOW, the continue buttons loop through the first 2 pages

It's possible to exit the wizard via "Exit Setup Wizard" button, but keys are not set up. Trying to set up keys in the settings / navigating to Account / Keys crashes the app. ````called Result::unwrap()on anErr` value: Error { kind: Nostr(NoPublicKey)``` etc.

I haven't found a way to recover from this from inside the app and it seems there's no way to recover from it via the commandline. There's also no documentation how to reset gossip in such a case. For people who don't know how to find and delete the database, that's it.

I've compiled gossip from master today.

Reproduce: - Select "Create a New Nostr Account" on the first wizard page - click continue - there's one more page to set up the relays - clicking continue button there brings you back to the first page, IOW, the continue buttons loop through the first 2 pages It's possible to exit the wizard via "Exit Setup Wizard" button, but keys are not set up. Trying to set up keys in the settings / navigating to Account / Keys crashes the app. ````called Result::unwrap()` on an `Err` value: Error { kind: Nostr(NoPublicKey)``` etc. I haven't found a way to recover from this from inside the app and it seems there's no way to recover from it via the commandline. There's also no documentation how to reset gossip in such a case. For people who don't know how to find and delete the database, that's it. I've compiled gossip from master today.
ousado commented 2025-06-19 00:58:17 +12:00 (Migrated from github.com)

I have similar issues when choosing "I Already Have A Nostr Account" and then "Import a Private Key" , the GUI shows a page with the input fields for a tiny fraction of a second, but then jumps back to the start of the Wizard. Seems to be a GUI issue.

I have similar issues when choosing "I Already Have A Nostr Account" and then "Import a Private Key" , the GUI shows a page with the input fields for a tiny fraction of a second, but then jumps back to the start of the Wizard. Seems to be a GUI issue.
mikedilger commented 2025-06-19 10:49:34 +12:00 (Migrated from github.com)

Try the unstable branch. I believe I fixed this a week ago but the fix may have side-effects so I didn't merge it yet. Please let me know how it goes.

Try the unstable branch. I believe I fixed this a week ago but the fix may have side-effects so I didn't merge it yet. Please let me know how it goes.
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
nostr/gossip#999
No description provided.