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

Error getting new token: unable to create token file #89

Closed
danstis opened this issue Feb 9, 2018 · 1 comment
Closed

Error getting new token: unable to create token file #89

danstis opened this issue Feb 9, 2018 · 1 comment
Assignees
Labels

Comments

@danstis
Copy link
Owner

danstis commented Feb 9, 2018

Bug Report:

Bug summary

When attempting to generate a token from a clean install the following error is shown:
Error getting new token: unable to create token file

Reproduction Steps

  1. Unzip Plex-Sync.zip into a directory.
  2. Start main.exe
  3. Attempt to generate a new token from Settigs -> Generate Token.
  4. Error is displayed in Web UI.

Desired Behaviour

Token file should be created.

@danstis danstis added the bug label Feb 9, 2018
@danstis danstis self-assigned this Feb 9, 2018
@danstis
Copy link
Owner Author

danstis commented Feb 10, 2018

This looks to have been caused by the relocation of the token file to the .cache folder. If the folder didn't exist it would throw this error.

danstis added a commit that referenced this issue Feb 10, 2018
* Handle creation of cache dir if it does not exist

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

No branches or pull requests

1 participant