Traceback (most recent call last):


 "/usr/local/anaconda3/bin/instagram-scraper", line 33, in <module>

sys.exit(load_entry_point('instagram-scraper==1.8.1', 'console_scripts', 'instagram-scraper')())


 "/usr/local/anaconda3/lib/python3.8/site-packages/instagram_scraper-1.8.1-py3.8.egg/instagram_scraper/app.py", line 1623, in main

scraper.scrape_hashtag()


 "/usr/local/anaconda3/lib/python3.8/site-packages/instagram_scraper-1.8.1-py3.8.egg/instagram_scraper/app.py", line 443, in scrape_hashtag

self.__scrape_query(self.query_hashtag_gen)


 "/usr/local/anaconda3/lib/python3.8/site-packages/instagram_scraper-1.8.1-py3.8.egg/instagram_scraper/app.py", line 474, in __scrape_query

for item in tqdm.tqdm(media_generator(value), desc='Searching {0} for posts'.format(value), unit=" media",


 "/usr/local/anaconda3/lib/python3.8/site-packages/tqdm/std.py", line 1167, in __iter__

for obj in iterable:


 "/usr/local/anaconda3/lib/python3.8/site-packages/instagram_scraper-1.8.1-py3.8.egg/instagram_scraper/app.py", line 533, in __query_gen

nodes, end_cursor = self.__query(url, variables, entity_name, query, end_cursor)


 "/usr/local/anaconda3/lib/python3.8/site-packages/instagram_scraper-1.8.1-py3.8.egg/instagram_scraper/app.py", line 555, in __query

payload = json.loads(resp)['data'][entity_name]


 "/usr/local/anaconda3/lib/python3.8/json/__init__.py", line 357, in loads

return _default_decoder.decode(s)


 "/usr/local/anaconda3/lib/python3.8/json/decoder.py", line 337, in decode

obj, end = self.raw_decode(s, idx=_w(s, 0).end())


 "/usr/local/anaconda3/lib/python3.8/json/decoder.py", line 355, in raw_decode

raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):


 "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 61, in application

response = frappe.handler.handle()


 "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 21, in handle

data = execute_cmd(cmd)


 "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 56, in execute_cmd

return frappe.call(method, **frappe.form_dict)


 "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1026, in call

return fn(*args, **newargs)


 "/home/frappe/frappe-bench/apps/erpnext/erpnext/accounts/doctype/account/account.py", line 231, in update_account_number

frappe.rename_doc("Account", name, new_name, ignore_permissions=1)


 "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 794, in rename_doc

return rename_doc(*args, **kwargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/rename_doc.py", line 47, in rename_doc

update_link_field_values(link_fields, old, new, doctype)


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/rename_doc.py", line 199, in update_link_field_values

single_doc = frappe.get_doc(field['parent'])


 "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 724, in get_doc

doc = frappe.model.document.get_doc(*args, **kwargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 69, in get_doc

return controller(*args, **kwargs)


 "/home/frappe/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/quickbooks_migrator/quickbooks_migrator.py", line 34, in __init__

super(QuickBooksMigrator, self).__init__(*args, **kwargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 104, in __init__

self.load_from_db()


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 130, in load_from_db

single_doc = frappe.new_doc(self.doctype).as_dict()


 "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 658, in new_doc

return get_new_doc(doctype, parent_doc, parentfield, as_dict=as_dict)


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/create_new.py", line 21, in get_new_doc

frappe.local.new_doc_templates[doctype] = make_new_doc(doctype)


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/create_new.py", line 39, in make_new_doc

"docstatus": 0


 "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 724, in get_doc

doc = frappe.model.document.get_doc(*args, **kwargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 69, in get_doc

return controller(*args, **kwargs)


 "/home/frappe/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/quickbooks_migrator/quickbooks_migrator.py", line 39, in __init__

scope=self.scope


 "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests_oauthlib/oauth2_session.py", line 69, in __init__

self.token = token or {}


 "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests_oauthlib/oauth2_session.py", line 119, in token

self._client.populate_token_attributes(value)
AttributeError: 'WebApplicationClient' object has no attribute 'populate_token_attributes'
