facebook / mariana-trench

A security focused static analysis tool for Android and Java applications.
https://mariana-tren.ch/
MIT License
1.1k stars 139 forks source link

AttributeError: 'LocalStack' object has no attribute '__ident_func__' #83

Closed grksumanth closed 2 years ago

grksumanth commented 2 years ago

Bug

Bug description Following the instructions on the home page to run but encountered issue.

Reproduction steps Follow the manual on GitHub homepage.

Expected behavior Give a clear and concise description of what you expected to happen. SAPP isn't starting a server instead throwing an error :( did cut a issue to SAPP as well if anyone knows how to fix this it would be helpful Logs

  File "/usr/local/bin/sapp", line 8, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/click/decorators.py", line 84, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/sapp/cli_lib.py", line 236, in server
    start_server(ctx.database, debug, static_resources, source_directory, editor_schema)
  File "/usr/local/lib/python3.9/site-packages/sapp/ui/server.py", line 75, in start_server
    scopefunc=_app_ctx_stack.__ident_func__,
AttributeError: 'LocalStack' object has no attribute '__ident_func__'

Additional context Add any other context about the problem here.

grksumanth commented 2 years ago

issue resolved in https://github.com/facebook/sapp/issues/68