flipkart-incubator / Astra

Automated Security Testing For REST API's
Apache License 2.0
2.49k stars 394 forks source link

FileNotFoundError:\logs\\scan.log #106

Open garchaaman19 opened 4 years ago

garchaaman19 commented 4 years ago

When I try to run api.py I get the error

`

C:\Users\INTEL\Downloads\Astra-master\API>python api.py Traceback (most recent call last): File "api.py", line 38, in from astra import * File "..\astra.py", line 8, in import utils.logs as logs File "..\utils\logs.py", line 12, in fh = logging.FileHandler(path) File "C:\Users\INTEL\AppData\Local\Programs\Python\Python37\lib\logging__init.py", line 1087, in init StreamHandler.init__(self, self._open()) File "C:\Users\INTEL\AppData\Local\Programs\Python\Python37\lib\logging__init__.py", line 1116, in _open return open(self.baseFilename, self.mode, encoding=self.encoding) FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\INTEL\Downloads\Astra-master\API\logs\scan.log

`

O.S- Windows 10, Python -3.7

abhisheksimion commented 4 years ago

Please use python 2.7 it's the basic requirement.

garchaaman19 commented 4 years ago

okay I will try.

On Thu, May 7, 2020 at 1:02 AM Abhishek Raj Simon notifications@github.com wrote:

Please use python 2.7 it's the basic requirement.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/flipkart-incubator/Astra/issues/106#issuecomment-624845827, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFUQCRQI75X43YP5LIRDCZ3RQG3M3ANCNFSM4K4ZGHLQ .