-
Notifications
You must be signed in to change notification settings - Fork 190
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
OSError: [Errno 22] Invalid argument: #17
Comments
same issus |
我猜是:的问题,请把时间中间的:去掉就行。这是Windows系统命名规范导致的。 |
@lixiang0 具体更改那一个文件,那一行代码? |
datefmt='%d-%b-%y %H:%M:%S'中的:改为_ |
@lixiang0 更改datefmt='%d-%b-%y %H:%M:%S'中的:改为_ ,有同样的问题 |
D:\code\program\WEB_KG-master\baike\logs\Sun_Mar_22_21:30:37_2020.log中logs目录有吗? |
@lixiang0 WEB_KG_0\baike\logs\的logs目录下为空 |
如果路径完全正确,那应该就是文件名的问题,先把logger这块注释掉吧,不影响。 |
我在项目的baike目录下运行scrapy crawl baike,结果报错“OSError: [Errno 22] Invalid argument: 'D:\code\program\WEB_KG-master\baike\logs\Sun_Mar_22_21:30:37_2020.log' ”,请问该怎么解决呢?感激不尽!
The text was updated successfully, but these errors were encountered: