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

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

Open
okurz opened this issue Dec 7, 2015 · 2 comments
Open

Comments

@okurz
Copy link

okurz commented Dec 7, 2015

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
@urandom2
Copy link

I saw this issue too, but this seems like an issue with the hangups code; as such I have created an issue there: tdryer/hangups#213

@urandom2
Copy link

the hangups team appears to see this as a requirement at the application level, not the library level

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants