Error while running the analyzer.
- Dominant language
- Python
- Stars
- 43
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I got this error after following all the steps in the instructions:
```Traceback (most recent call last):
File "/var/task/main.py", line 3, in
from routes import analytics,templates,auth
File "/var/task/routes/templates.py", line 7, in
from .auth import manager
File "/var/task/routes/auth.py", line 10, in
manager = LoginManager(SECRET,tokenUrl="/auth/login",use_cookie=True)
TypeError: __init__() got an unexpected keyword argument 'tokenUrl'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/python/detalib/debugger.py", line 142, in wrap
result = func(event, context)
File "/var/task/_entry.py", line 12, in handler
import main # noqa
File "/var/task/main.py", line 5, in
from .routes import analytics,templates,auth
ImportError: attempted relative import with no known parent package
```
Please help with the issue.
Thanks.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the analyzer run from the project's instructions and inspect routes/auth.py, routes/templates.py, and main.py at the traceback locations. Compare the LoginManager initialization and the package import context with the documented runtime. Done means the analyzer starts without either the unexpected keyword argument or relative-import traceback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fastapi, python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100