Skip to content

Error while running the analyzer. #1

@ChinmayDesai2005

Description

@ChinmayDesai2005

Hi, I got this error after following all the steps in the instructions:

  File "/var/task/main.py", line 3, in <module>
    from routes import analytics,templates,auth
  File "/var/task/routes/templates.py", line 7, in <module>
    from .auth import manager
  File "/var/task/routes/auth.py", line 10, in <module>
    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 <module>
    from .routes import analytics,templates,auth
ImportError: attempted relative import with no known parent package

Please help with the issue.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions