json.decoder.JSONDecodeError

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

vue.esm.js:9077 Download the Vue Devtools extension for a better development experience:


vue.esm.js:9088 You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
DevTools failed to load source map: Could not load content for webpack://Quill/node_modules/quill-delta/dist/Delta.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load source map: Could not load content for webpack://Quill/node_modules/quill-delta/dist/AttributeMap.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load source map: Could not load content for webpack://Quill/node_modules/quill-delta/dist/Op.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load source map: Could not load content for webpack://Quill/node_modules/quill-delta/dist/Iterator.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load source map: Could not load content for webpack://Quill/node_modules/quill-delta/dist/Delta.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load source map: Could not load content for webpack://Quill/node_modules/quill-delta/dist/AttributeMap.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load source map: Could not load content for webpack://Quill/node_modules/quill-delta/dist/Op.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load source map: Could not load content for webpack://Quill/node_modules/quill-delta/dist/Iterator.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load source map: Could not parse content for http://0.0.0.0:8000/app/my-file/view/build_events.bundle.DSF74BV7.js.map: Unexpected token < in JSON at position 0
jquery.js:9997 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery.js:9997
ajax @ jquery.js:9690
frappe.request.call @ request.js:248
frappe.call @ request.js:98
(anonymous) @ file_view.js:36
dispatch @ jquery.js:5430
elemData.handle @ jquery.js:5234
jquery.js:10109 POST http://0.0.0.0:8000/api/method/document_manager.utils.scan_folders 500 (INTERNAL SERVER ERROR)
send @ jquery.js:10109
ajax @ jquery.js:9690
frappe.request.call @ request.js:248
frappe.call @ request.js:98
(anonymous) @ file_view.js:36
dispatch @ jquery.js:5430
elemData.handle @ jquery.js:5234
request.js:425 Traceback (most recent call last):
File “apps/frappe/frappe/app.py”, line 66, in application
response = frappe.api.handle()
File “apps/frappe/frappe/api.py”, line 54, in handle
return frappe.handler.handle()
File “apps/frappe/frappe/handler.py”, line 31, in handle
data = execute_cmd(cmd)
File “apps/frappe/frappe/handler.py”, line 68, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “apps/frappe/frappe/init.py”, line 1232, in call
return fn(*args, **newargs)
File “apps/document_manager/document_manager/utils.py”, line 81, in scan_folders
create_myfile(item,1)
File “apps/document_manager/document_manager/utils.py”, line 108, in create_myfile
file.insert(ignore_if_duplicate=True)
File “apps/frappe/frappe/model/document.py”, line 229, in insert
self._validate_links()
File “apps/frappe/frappe/model/document.py”, line 833, in _validate_links
invalid_links, cancelled_links = self.get_invalid_links()
File “apps/frappe/frappe/model/base_document.py”, line 565, in get_invalid_links
‘name’, cache=True))
File “apps/frappe/frappe/database/database.py”, line 384, in get_value
order_by, cache=cache, for_update=for_update, run=run, pluck=pluck, distinct=distinct)
File “apps/frappe/frappe/database/database.py”, line 430, in get_values
distinct=distinct,
File “apps/frappe/frappe/database/database.py”, line 654, in _get_value_for_many_names
distinct=distinct,
File “apps/frappe/frappe/database/database.py”, line 552, in get_all
return frappe.get_all(*args, **kwargs)
File “apps/frappe/frappe/init.py”, line 1492, in get_all
return get_list(doctype, *args, **kwargs)
File “apps/frappe/frappe/init.py”, line 1465, in get_list
return frappe.model.db_query.DatabaseQuery(doctype).execute(*args, **kwargs)
File “apps/frappe/frappe/model/db_query.py”, line 108, in execute
result = self.build_and_run()
File “apps/frappe/frappe/model/db_query.py”, line 123, in build_and_run
args = self.prepare_args()
File “apps/frappe/frappe/model/db_query.py”, line 149, in prepare_args
self.parse_args()
File “apps/frappe/frappe/model/db_query.py”, line 241, in parse_args
filters = json.loads(filters)
File “/usr/lib/python3.6/json/init.py”, line 354, in loads
return _default_decoder.decode(s)
File “/usr/lib/python3.6/json/decoder.py”, line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python3.6/json/decoder.py”, line 357, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)