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.

[Anilist] free variable 'default' referenced before assignment in enclosing scope

See original GitHub issue

Hello! When i set a collection with AniList Seasonal Anime (https://github.com/meisnate12/Plex-Meta-Manager/wiki/AniList-Builders#anilist-seasonal-anime) like this:

collections:
  Fall 2020:
    anilist_season:
      season: fall
      year: 2020
    sync_mode: sync

Logs:

| Scanning Fall 2020 Collection                                                                   |
| Collection Warning: anilist_season sort_by attribute not found using score as default              |
| free variable 'default' referenced before assignment in enclosing scope                            |

But it works very well with studios for example.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
meisnate12commented, Mar 17, 2021

awesome I’m leaving this open until the fix is in master

0reactions
Tawagot0commented, Mar 17, 2021

and boom can you update and try again i think i got it this time

Fixed, thanks! 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

free variable referenced before assignment in enclosing scope
You need to define global Keys for every function. A function thinks that Keys is a local variable. def main(): global Keys Keys...
Read more >
free variable 'outer' referenced before assignment in enclosing ...
msg414048 ‑ (view) Author: Norman Fung (norman.lm.fung) Date: 2022‑02‑25 23:20 msg414055 ‑ (view) Author: Jelle Zijlstra (JelleZijlstra) * Date: 2022‑02‑26 01:27 msg414070 ‑ (view) Author:...
Read more >
free variable 'host' referenced before assignment in enclosing ...
When I start deluge-web I get the following: NameError: free variable 'host' referenced before assignment in enclosing scope [ERROR ] 00:41:35 json_api:227 ...
Read more >
[Rewatch] Aria the Origination - Episode 13 (Season Finale ...
Emotional, she stops and reminisces on these times. Surprised no one mentioned the lighting that is lit up from those nostalgic memories which...
Read more >
subaru mystery box - Car News, Car Images and Videos in ...
As Subaru, join your friends to uncover the mystery around the imposter candidate to find answers before it's too late. | Re:ZERO: The...
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