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

Please enter the following #5

Closed
davidvidmar opened this issue Mar 19, 2018 · 6 comments
Closed

Please enter the following #5

davidvidmar opened this issue Mar 19, 2018 · 6 comments

Comments

@davidvidmar
Copy link

I just started playing with MM and wanted to include MMM-trakt into my config. Install was super easy and I can see the module loading, but I alway get "Please neter the following..." with undefined as a code.

I tried generating a new app, triple check that my API keys are correct, but no luck. Any ideas what should I check?

Regards, D

@Kiina
Copy link
Owner

Kiina commented Mar 19, 2018

Try to remove the token.json in the MMM-trakt folder and try again, you should get a new token then. If not report again so I can look deeper into it. I will add some better checks for this problem in a future release.

@davidvidmar
Copy link
Author

davidvidmar commented Mar 20, 2018 via email

@Kiina
Copy link
Owner

Kiina commented Mar 25, 2018

Sorry for the late answer. Well either your mirror has no Internet connection or for some reason has trouble talking to the trakt api. I have added a small logging feature, can you pull the latest version and send me the complete console output from the mirror (you can omit stuff like your api keys and let it run for a short while so we have all the logs). Make sure you have no token.json in the MMM-trakt folder. The logs should tell whats wrong (I hope)

@davidvidmar
Copy link
Author

Thanks for getting back to me. I pulled last version, rechecked if I have a token.json (I don't) and hopped to see what is wrong in log, but there are no logs.

I started looking around the code, adding bunch of console.logs and from what I can see, the importoldtoken().catch happens (no token.json, so figures), but then I see TypeError in logs when trakt.get_codes() is called.

I can see that config picks up corrent codes from config.

Any idea what to check next?

@Kiina
Copy link
Owner

Kiina commented Mar 25, 2018

Ah the problem seems to be with the electron downgrade in MagicMirror v2.2.0. You can switch to the development channel or install a newer electron version with npm install electron@1.6.17 or npm install electron@1.7.10. Looks like this issue will be resolved in a few days with 2.3.0 anyway:

MagicMirrorOrg/MagicMirror@8d0e453

@Kiina
Copy link
Owner

Kiina commented Jul 29, 2018

Well works with MM 2.4 and up now, so I guess it shouldn't be an issue anymore

@Kiina Kiina closed this as completed Jul 29, 2018
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