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

运行统计"/stats/list" no data collected on windows #2

Open
pinkonio opened this issue Jul 25, 2021 · 1 comment
Open

运行统计"/stats/list" no data collected on windows #2

pinkonio opened this issue Jul 25, 2021 · 1 comment

Comments

@pinkonio
Copy link

ScrapydUtil.parse_log_file raised err:

venv\lib\site-packages\scrapy_util\utils.py", line 15, in parse_log_file
    _, project, spider, filename = log_file.split('/')
ValueError: not enough values to unpack (expected 4, got 1)

when you run on windows then change line 15 : "log_file.split('/')" to log_file.split(os.sep) , and "import os" on the top.

@mouday
Copy link
Owner

mouday commented Sep 6, 2022

thank you

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