pyspider icon indicating copy to clipboard operation
pyspider copied to clipboard

pyspider运行正常但是重启时都报如下的错误,启动不起来了

Open wenchangming211 opened this issue 5 years ago • 0 comments

Traceback (most recent call last): File "/usr/local/bin/pyspider", line 11, in load_entry_point('pyspider==0.3.10', 'console_scripts', 'pyspider')() File "/usr/local/lib/python2.7/site-packages/pyspider/run.py", line 754, in main cli() File "/usr/local/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py", line 610, in call return self.main(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py", line 589, in main with self.make_context(prog_name, args, **extra) as ctx: File "/usr/local/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py", line 506, in make_context self.parse_args(ctx, args) File "/usr/local/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py", line 898, in parse_args return Command.parse_args(self, ctx, args) File "/usr/local/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py", line 767, in parse_args value, args = param.handle_parse_result(ctx, opts, args) File "/usr/local/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py", line 1252, in handle_parse_result self.callback, ctx, self, value) File "/usr/local/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py", line 53, in invoke_param_callback return callback(ctx, param, value) File "/usr/local/lib/python2.7/site-packages/pyspider/run.py", line 35, in read_config config = underline_dict(json.load(value)) File "/usr/local/lib/python2.7/json/init.py", line 290, in load **kw) File "/usr/local/lib/python2.7/json/init.py", line 338, in loads return _default_decoder.decode(s) File "/usr/local/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/lib/python2.7/json/decoder.py", line 382, in raw_decode obj, end = self.scan_once(s, idx) ValueError: Expecting , delimiter: line 5 column 5 (char 227)

wenchangming211 avatar Oct 23 '19 07:10 wenchangming211