Permission error
When I have Chrome opened with Overleaf I always get the following error with api.login_from_browser() :
PermissionError: [Errno 13] Permission denied: 'C:\\Users\User_name\\AppData\\Local\\Google\\Chrome\\User Data\\Default\\Network\\Cookies'
Just for reference, in case I close Chrome I get:
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\User_name\\AppData\\Local\\Temp\\tmpctu8r776.sqlite'
How can I solve the problem with error 13?
I'm sorry, but I don't have windows to test it on. I used Mac/linux. You can perhaps avoid "login_from_browser" as this triggers permission issues (probably for good reasons since it tries to load cookies from your browser). On Mac, calling login_from_browser triggers dialog to unlock keyring, but I have no idea how windows handles it. First, can you make sure browsercookie is up to date? Perhaps you could find help in the browsercookie repo.
https://github.com/richardpenman/browsercookie