Bench start error BIS

Hi all,

I’m getting this error with bench start. Any idea?
I have kill the processes (maybe not all), powerdown the server then restart it, but nothing changed.

xxxx@Ifitwala:~$ bench start
17:24:11 web.1 | started with pid 2178
17:24:11 worker.1 | started with pid 2179
17:24:11 workerbeat.1 | started with pid 2181
17:24:12 web.1 | Traceback (most recent call last):
17:24:12 web.1 | File “./env/bin/frappe”, line 9, in
17:24:12 web.1 | load_entry_point(‘frappe==4.9.1’, ‘console_scripts’, ‘frappe’)()
17:24:12 web.1 | File “/home/franky1/frappe-bench/apps/frappe/frappe/cli.py”, line 50, in main
17:24:12 web.1 | frappe.init(site, sites_path=sites_path)
17:24:12 web.1 | File “/home/franky1/frappe-bench/apps/frappe/frappe/init.py”, line 96, in init
17:24:12 web.1 | local.conf = _dict(get_site_config())
17:24:12 web.1 | File “/home/franky1/frappe-bench/apps/frappe/frappe/init.py”, line 136, in get_site_config
17:24:12 web.1 | config.update(get_file_json(site_config))
17:24:12 web.1 | File “/home/franky1/frappe-bench/apps/frappe/frappe/init.py”, line 504, in get_file_json
17:24:12 web.1 | return json.load(f)
17:24:12 web.1 | File “/usr/lib/python2.7/json/init.py”, line 290, in load
17:24:12 web.1 | **kw)
17:24:12 web.1 | File “/usr/lib/python2.7/json/init.py”, line 338, in loads
17:24:12 web.1 | return _default_decoder.decode(s)
17:24:12 web.1 | File “/usr/lib/python2.7/json/decoder.py”, line 369, in decode
17:24:12 web.1 | raise ValueError(errmsg(“Extra data”, s, end, len(s)))
17:24:12 web.1 | ValueError: Extra data: line 6 column 1 - line 7 column 1 (char 61 - 81)
17:24:12 web.1 | process terminated
17:24:12 system | sending SIGTERM to all processes
17:24:12 system | sending SIGTERM to pid 2179
17:24:12 system | sending SIGTERM to pid 2181
17:24:12 worker.1 | process terminated
17:24:12 workerbeat.1 | process terminated
17:24:12 workerbeat.1 | [2014-12-24 17:24:12,431: INFO/MainProcess] beat: Starting…
17:24:12 workerbeat.1 | [2014-12-24 17:24:12,468: INFO/MainProcess] Scheduler: Sending due task scheduler (frappe.tasks.enqueue_scheduler_events)
xxx@Ifitwala:~$

Any ideas?

Thanks in advance.

François

Your site_config.json has incorrect syntax. Please check if you are missing a comma or quote.

1 Like

Thanks a lot. That was correct. I put
“developer_mode”:1

outside the curly bracket instead of inside.
But what made you see that?

Thanks again and have a merry xmas.

Was in the trace! Merry Xmas to you too :slight_smile: