Skip to content
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

IOError #22

Open
Prin777 opened this issue Dec 2, 2018 · 1 comment
Open

IOError #22

Prin777 opened this issue Dec 2, 2018 · 1 comment

Comments

@Prin777
Copy link

Prin777 commented Dec 2, 2018

Traceback (most recent call last):
File "Inspy.py", line 28, in
start_logger(args.company)
File "C:\InSpy-master\lib\logger.py", line 6, in start_logger
handler = logging.FileHandler('./logs/{}{}.log'.format(company.replace(' ', ''), time_format.replace(' ', '_')))
File "C:\Python27\lib\logging_init_.py", line 920, in init
StreamHandler.init(self, self.open())
File "C:\Python27\lib\logging_init
.py", line 950, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 22] invalid mode ('a') or filename: 'C:\InSpy-master\logs\acme_2018-12-03_00:11:38.log'

@tianyilt
Copy link

the same as me in win10 python=2.7 after running InSpy acme --domain acme.com --email first.last --xml file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants