Traceback (most recent call last):


 "/Users/arinto/anaconda3/envs/anaconda-env/lib/python3.6/site-packages/google/cloud/storage/client.py", line 387, in download_blob_to_file

blob_or_uri.download_to_file(file_obj, client=self, start=start, end=end)
AttributeError: 'str' object has no attribute 'download_to_file'

Traceback (most recent call last):


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

response = frappe.handler.handle()


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

execute_cmd(cmd)


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

ret = frappe.call(method, **frappe.form_dict)


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

return fn(*args, **newargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/permission_manager/permission_manager.py", line 32, in get_permissions

out = [p for p in out if p.parent == doctype]
AttributeError: 'str' object has no attribute 'parent'
