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.

Logger is not defined

See original GitHub issue

Describe the bug

To reproduce

anime dl --provider kickass Goddess
anime: anime-downloader 4.3.0
+--------+--------------------------------------------------+--------+
|     10 | Candidate For Goddess OVA                        |        |
|      9 | Candidate For Goddess                            |        |
|      8 | Ah! My Goddess: The Movie (Dub)                  |        |
|      7 | Ah! My Goddess: Itsumo Futari De                 |        |
|      6 | Ah! My Goddess: Everyone Has Wings               |        |
|      5 | Ah! My Goddess The Movie                         |        |
|      4 | Ah! My Goddess OVA                               |        |
|      3 | Ah! My Goddess - Flights of Fancy Specials (Dub) |        |
|      2 | Ah! My Goddess - Flights of Fancy (Dub)          |        |
|      1 | Ah! My Goddess                                   |        |
|--------+--------------------------------------------------+--------|
|   SlNo | Title                                            | Meta   |
+--------+--------------------------------------------------+--------+
Enter the anime no:  [1]: 4
anime: Selected Ah! My Goddess OVA
anime: Extracting episode info from page
anime: Found anime: Ah! My Goddess OVA
anime: Downloading to /media/tzulberti/217d93ee-8bf5-4251-ab12-a42ffec137ae/otros/Downloads
ERROR: name 'loggger' is not defined

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
tzulberticommented, May 28, 2020

Probably due to this: 57f82b7 Update from git to solve this.

Thank you.

Please use anime -ll DEBUG dl in the future to make debugging easier. Wouldn’t recommend kickass as it’s quite inconsistent.

My bad. The issue template mention: --log-level but when I used it I got the following error:

anime dl --provider kickass --log-level DEBUG Goddess
Usage: anime dl [OPTIONS] ANIME_URL
Try 'anime dl --help' for help.

Error: no such option: --log-level

I have just realized that the --log-level should go before the dl subcommand.

Again, my bad

0reactions
Blatzarcommented, May 30, 2020

Facing the same issue: NameError: name ‘loggger’ is not defined

Probably due to this: 57f82b7 Update from git to solve this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NameError: global name 'logger' is not defined - Stack Overflow
In your class you are using logger but you have not defined it. Either set logger like: logger = logging.getLogger(__name__).
Read more >
How to solve Python NameError: name 'logging' is not defined?
To solve the Python “NameError: name 'logging' is not defined”, include the import statement for logging module before you are actually using the...
Read more >
NameError: name 'LOGGER' is not defined · Issue #329 - GitHub
I was able to solve issue by running pip install logger .
Read more >
NameError: global name 'logger' is not defined-django
I wrote a logging.json file from where the logging configuration is setup after which i created a class in which all my methods...
Read more >
Django : NameError: global name 'logger' is not defined
Django : NameError: global name ' logger' is not defined [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] Django ...
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