Skip to content

authorization token is not saved when hangups has never been called #14

@okurz

Description

@okurz

observation

When just calling pickups on a system where neither pickups or hangups have been called, pickups correctly asks for the authorization token but fails to save it:

WARNING:hangups.auth:Failed to save refresh_token:
[Errno 2] No such file or directory:
'/home/okurz/.cache/hangups/cookies.json'

problem

Subsequent calls request for new authorization tokens as the old one. pickups/hangups reports a helpful warning but should create the directory $HOME/.cache/hangups itself.

workaround

mkdir $HOME/.cache/hangups before calling pickups

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions