8000 BUG: configuration file is corrupted if multiple instances of cointop are run at once. · Issue #305 · cointop-sh/cointop · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
BUG: configuration file is corrupted if multiple instances of cointop are run at once. #305
Open
@monomadic

Description

@monomadic

I use cointop for showing price data and my portfolio totals in waybar in sway. Within a few updates, the coinfiguration file is corrupted - I'm fairly sure there's no l 4E7D ocking on the file during write because it produces an invalid TOML file. This has a side effect of completely deleting my portfolio.

I would highly recommend splitting up this configuration file into practical use - there is absolutely NO reason whatever one would want to write a configuration file every single time you open an application. If you are doing this it suggests you should be storing something in .local/ or .cache/ instead.

Also consider storing portfolio data in a separate file (it belongs in .local actually) as this is not configuration - think of what you'd use, say, nixos or stow or a dotfiles manager for - you want to store your settings, not personal information.

Regardless, writes are highly destructive and should always be treated with care.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0