sipeed/picoclaw · error
deltachat select_account: %w
Error message
deltachat select_account: %w
What it means
Error "deltachat select_account: %w" thrown in sipeed/picoclaw.
Source
Thrown at pkg/channels/deltachat/deltachat.go:1018
}
} else if c.config.Password.String() != "" {
changed, err := c.accountConfigChanged(ctx, accountID)
if err != nil {
logger.WarnCF("deltachat", "Could not read account config; reconfiguring", map[string]any{
"email": c.config.Email,
"error": err.Error(),
})
changed = true
}
if changed {
if err := c.configureAccount(ctx, accountID); err != nil {
return err
}
}
}
if _, err := c.rpc.call(ctx, "select_account", accountID); err != nil {
return fmt.Errorf("deltachat select_account: %w", err)
}
if err := c.applyProfileConfig(ctx, accountID); err != nil {
return err
}
// Mark this account as a bot so the core delivers all messages to us.
if _, err := c.rpc.call(ctx, "batch_set_config", accountID, map[string]string{"bot": "1"}); err != nil {
return fmt.Errorf("deltachat set bot config: %w", err)
}
if _, err := c.rpc.call(ctx, "start_io", accountID); err != nil {
return fmt.Errorf("deltachat start_io: %w", err)
}
c.accountID = accountID
return nil
}
func (c *DeltaChatChannel) createChatmailBootstrapAccount(ctx context.Context, server string) error {
raw, err := c.rpc.call(ctx, "add_account")View on GitHub (pinned to 49183d7e8d)
When it happens
Trigger: Thrown at pkg/channels/deltachat/deltachat.go:1018 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of sipeed/picoclaw@49183d7e8d (2026-08-15).
Data as JSON: /api/errors/91689f5bc98af586.
Report an issue: GitHub.