-
Notifications
You must be signed in to change notification settings - Fork 116
AttributeError: 'Values' object has no attribute 'overwrite_output' #32
Comments
Seems not an issue from Tieba_Spider. Can you provide your scrapy version? And under which folder were you executing the command "scrapy run"? |
图片无法打开,确认上传成功? |
麻烦提供下scrapy版本号,以及你报错时从输入命令到最后一行输出的所有内容(复制到这里来) |
现在上传成功了,能否帮我看看啊,谢谢啦 config.json文件我也已经更改了,我装的是mysql workbench 8.0 Scrapy == 2.4.1 (base) C:\AAAAAA\Project\Spider\Tieba_Spider>scrapy run thinkpad |
你好,我也遇到了这个问题,能否请大神解决一下呢? Process finished with exit code 0 |
看起来像和楼上一样的问题。你确定文件是用的最新版吗? |
是的,昨天刚更新安装的,难道是代码与新版的Scarpy包不适配吗 |
看来版本更新又改接口了,有毒。我有空的时候弄一下。 |
请降级scrapy到2.4.1再试试。更新接口的话,旧版本的用户就没法用了 |
好像还是不行,我试了试降到2.4.1 和2.4.0 问题还是一样的,我还是问问学长们吧,感谢大佬 Process finished with exit code 0 |
commands/run.py文件中缺少process_options函数,加上之后即可, |
✗ scrapy run
Traceback (most recent call last):
File "/usr/local/bin/scrapy", line 8, in
sys.exit(execute())
File "/Users/noname/Library/Python/3.8/lib/python/site-packages/scrapy/cmdline.py", line 142, in execute
_run_print_help(parser, cmd.process_options, args, opts)
File "/Users/noname/Library/Python/3.8/lib/python/site-packages/scrapy/cmdline.py", line 100, in _run_print_help
func(*a, **kw)
File "/Users/noname/Library/Python/3.8/lib/python/site-packages/scrapy/commands/init.py", line 130, in process_options
if opts.output or opts.overwrite_output:
AttributeError: 'Values' object has no attribute 'overwrite_output'
The text was updated successfully, but these errors were encountered: