question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError: module 'trakt.core' has no attribute 'pin_auth

See original GitHub issue

Hi! First off I wanna say Thanks for the script! Amazing job!

I’ve been running this script for a week and it has been working like a charm. But the for two days now I’ve been noticing that the libraries haven’t changed at all, so I wanted to run the script manually to make sure everything was alright. And just what I was afraid of, it is having issues.

When running e.g: python3 plexlibrary movies_trendingor any recipe for that matter I get this error:

Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "plexlibrary/__main__.py", line 3, in <module>
    main()
  File "plexlibrary/plexlibrary.py", line 60, in main
    r = Recipe(args.recipe)
  File "plexlibrary/recipe.py", line 56, in __init__
    config=self.config)
  File "plexlibrary/traktutils.py", line 24, in __init__
    trakt.core.pin_auth(username, client_id=client_id,
AttributeError: module 'trakt.core' has no attribute 'pin_auth'

I’ve tried deleting the script and folder, I tried re-creating the Trakt API App. I have rebooted server. I have re-configured the config.yml and I just can’t get the hang of it. I’m bascially out of ideas.

Any suggestions on what I can do more?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14

github_iconTop GitHub Comments

1reaction
morganzerocommented, Jul 29, 2021

I’m afraid I didn’t. I was having issues and realized that development here was paused so I switched to a completely different tool for collections instead. It’s currently rocking some smart collections on my server and working brill. Pm me if you want a link.

Best, Morgan On 29 Jul 2021, 23:19 +0200, timmehtimtims @.***>, wrote:

@morganzero I don’t suppose you got anywhere with the dockerized version for PPL? I’m having this same issue. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AttributeError: module 'fut' has no attribute 'Core'
I figured it out. The error was caused by circular dependency. My module "core.py" was importing the module "Central.py" and vice versa.
Read more >
Flexget/Flexget - Gitter
Like [feature][trakt] Added device authorization and deprecated PIN auth ... E AttributeError: type object 'TestValidator' has no attribute 'config'.
Read more >
AttributeError: 'module' object has no attribute 'version' - Kodi
I think don't have permissions in objects.json.
Read more >
https://raw.githubusercontent.com/wiki/SickGear/Si...
* Change Trakt from PIN auth to their new device auth method * Change search show result 'exists in db' text into a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found