You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
使用scrapy crawlall语句后,出现以下错误
Traceback (most recent call last): File "/usr/local/bin/scrapy", line 11, in sys.exit(execute()) File "/usr/local/lib/python3.6/dist-packages/scrapy/cmdline.py", line 125, in execute cmds = _get_commands_dict(settings, inproject) File "/usr/local/lib/python3.6/dist-packages/scrapy/cmdline.py", line 56, in _get_commands_dict cmds.update(_get_commands_from_module(cmds_module, inproject)) File "/usr/local/lib/python3.6/dist-packages/scrapy/cmdline.py", line 33, in _get_commands_from_module for cmd in _iter_command_classes(module): File "/usr/local/lib/python3.6/dist-packages/scrapy/cmdline.py", line 22, in _iter_command_classes for module in walk_modules(module_name): File "/usr/local/lib/python3.6/dist-packages/scrapy/utils/misc.py", line 73, in walk_modules submod = import_module(fullpath) File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 674, in exec_module File "", line 781, in get_code File "", line 741, in source_to_code File "", line 219, in _call_with_frames_removed File "/root/findtrip/findtrip/findtrip/commands/crawlall.py", line 34 spider_loader = self.crawler_process.spider_loader ^ TabError: inconsistent use of tabs and spaces in indentation
The text was updated successfully, but these errors were encountered:
使用scrapy crawlall语句后,出现以下错误
Traceback (most recent call last): File "/usr/local/bin/scrapy", line 11, in sys.exit(execute()) File "/usr/local/lib/python3.6/dist-packages/scrapy/cmdline.py", line 125, in execute cmds = _get_commands_dict(settings, inproject) File "/usr/local/lib/python3.6/dist-packages/scrapy/cmdline.py", line 56, in _get_commands_dict cmds.update(_get_commands_from_module(cmds_module, inproject)) File "/usr/local/lib/python3.6/dist-packages/scrapy/cmdline.py", line 33, in _get_commands_from_module for cmd in _iter_command_classes(module): File "/usr/local/lib/python3.6/dist-packages/scrapy/cmdline.py", line 22, in _iter_command_classes for module in walk_modules(module_name): File "/usr/local/lib/python3.6/dist-packages/scrapy/utils/misc.py", line 73, in walk_modules submod = import_module(fullpath) File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 674, in exec_module File "", line 781, in get_code File "", line 741, in source_to_code File "", line 219, in _call_with_frames_removed File "/root/findtrip/findtrip/findtrip/commands/crawlall.py", line 34 spider_loader = self.crawler_process.spider_loader ^ TabError: inconsistent use of tabs and spaces in indentation
The text was updated successfully, but these errors were encountered: