global name 'app' is not defined
- Dominant language
- Python
- Stars
- 827
- Forks
- 189
- PR merge metrics
- No merged PRs in 30d
Description
Error message:
Traceback (most recent call last):
File "", line 1, in
File "build\bdist.win-amd64\egg\line\client.py", line 88, in __init__
File "C:\Python27\lib\site-packages\line-0.8.2-py2.7.egg\line\api.py", line 13
3, in login
NameError: global name 'app' is not defined
I'm pretty new to python, so if anyone could help, I'd really appreciate it
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the traceback and inspect line/client.py around __init__ and line/api.py around login, the locations named in the report. Done means login no longer raises the reported NameError; use the existing behavior and available tests to verify the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100