pyoverleaf icon indicating copy to clipboard operation
pyoverleaf copied to clipboard

Permission error

Open Richard-vut opened this issue 1 year ago • 1 comments

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?

Richard-vut avatar Nov 18 '24 18:11 Richard-vut

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

jkulhanek avatar Jun 17 '25 10:06 jkulhanek