-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recursive import failing: "ImportError: cannot import name main" #93
Comments
@pwna5aurus: Will look into this. BDW I have noticed from your comment that you are using windows box to run astra. We have not tested it in windows so we are not sure if that will work. I would recommend to use it linux or mac. Also, ImportError mentioned in your comment is limited to CLI version so you can use web interface of Astra to run the scan. |
Same problem on OS X with python 2.7.15 . I'll try the web interface as well |
I have tried with couple of versions 2.7.14 & 2.7.15 on OSX still no luck. |
@brianonn : Are you able to access through web interface? |
@coffee-cat-007 : Try through web interface. |
Heya,
Here's the traceback while trying to run the web interface
While there is zapscan.py inside the directory core, looks like the path is not read |
Commenting out line 38 in api.py works with web interface. |
I have to try this |
astra.py has to be launched from directory /app/API, like this: |
A mi me funciono de la siguiente manera:
y listo! |
The API/api.py is importing * from astra which recursively imports API/api.py, and the logic to skip the import on iterative imports:
isn't working. Here's the trace-back:
The text was updated successfully, but these errors were encountered: