Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: SendingBackend::None cannot be serialized #523

Closed
Joilence opened this issue Dec 11, 2024 · 4 comments
Closed

Bug: SendingBackend::None cannot be serialized #523

Joilence opened this issue Dec 11, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Joilence
Copy link

I was planning to only receive email but not send email, so select None for Backend for sending messages, and encountered this error:

> Backend for sending messages: None
> Where to save the configuration? ~/Library/Application Support/himalaya/config.toml
Writing configuration at ~/Library/Application Support/himalaya/config.toml…
Error:
   0: cannot create TOML config from wizard
   1: cannot serialize TOML config
   2: the enum variant SendingBackend::None cannot be serialized

Sys info:

❯ himalaya --version
himalaya v1.0.0 +wizard +imap +sendmail +pgp-commands +maildir +smtp
build: macos  aarch64
git: unknown, rev unknown
@edwardzcn-decade
Copy link

Ah... I've reproduced the glitch on my computer. Something wrong with serialization toml configuration autogenerated by the initial wizard if you choose None for Backend for sending messages.

I think you can just try the default SMTP settings if you just want to start with himalaya.

@soywod
Copy link
Member

soywod commented Dec 12, 2024

Indeed, the issue comes from this specific line. It should be fairly easy to fix.

@soywod soywod added the bug Something isn't working label Dec 12, 2024
@soywod soywod added this to Pimalaya Dec 12, 2024
@soywod soywod moved this to Todo in Pimalaya Dec 12, 2024
@soywod soywod self-assigned this Jan 9, 2025
@soywod soywod moved this from Todo to In Progress in Pimalaya Jan 10, 2025
soywod added a commit to pimalaya/tui that referenced this issue Jan 10, 2025
@soywod
Copy link
Member

soywod commented Jan 10, 2025

Fixed on master, should be part of the next patch release.

@soywod soywod closed this as completed Jan 10, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in Pimalaya Jan 10, 2025
@soywod
Copy link
Member

soywod commented Jan 11, 2025

New release v1.1.0 out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants