You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:\PyCharm 2022.2.1\plugins\python\helpers\pydev\pydevd.py", line 1496, in exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "D:\PyCharm 2022.2.1\plugins\python\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "D:/code/pythonOfVue/generalTxt.py", line 120, in
get_cookie()
File "D:/code/pythonOfVue/generalTxt.py", line 106, in get_cookie
jc = browser_cookie3.chrome(domain_name=url)
File "C:\Users\zhaot.virtualenvs\tradeCenterNx-kx4xaHRg\lib\site-packages\browser_cookie3_init.py", line 973, in chrome
return Chrome(cookie_file, domain_name, key_file).load()
File "C:\Users\zhaot.virtualenvs\tradeCenterNx-kx4xaHRg\lib\site-packages\browser_cookie3_init_.py", line 387, in load
con = sqlite3_connect_readonly(self.cookie_file)
File "C:\Users\zhaot.virtualenvs\tradeCenterNx-kx4xaHRg\lib\site-packages\browser_cookie3_init.py", line 145, in _sqlite3_connect_readonly
con = sqlite3.connect(uri + options, uri=True)
sqlite3.OperationalError: unable to open database file
The text was updated successfully, but these errors were encountered:
zhaotong1121
changed the title
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\{user}\\AppData\\Roaming\\..\\Local\\Google\\Chrome\\User Data\\Profile 4\\Network\\Cookies'
In version 0.18.0, I am unable to read the cookie folder associated with the currently logged-in Chrome account. It throws a permission error.
Jun 9, 2023
@zhaotong1121 maybe this should be closed as a duplicate of #180? (even though this issue was created first.)
If you can't manually make a copy of %LOCALAPPDATA%\Google\Chrome\User Data\Default\Network\Cookies file because chrome is open, it's the same root cause.
Here is the exception stack trace information.
Traceback (most recent call last):
File "D:\PyCharm 2022.2.1\plugins\python\helpers\pydev\pydevd.py", line 1496, in exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "D:\PyCharm 2022.2.1\plugins\python\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "D:/code/pythonOfVue/generalTxt.py", line 120, in
get_cookie()
File "D:/code/pythonOfVue/generalTxt.py", line 106, in get_cookie
jc = browser_cookie3.chrome(domain_name=url)
File "C:\Users\zhaot.virtualenvs\tradeCenterNx-kx4xaHRg\lib\site-packages\browser_cookie3_init.py", line 973, in chrome
return Chrome(cookie_file, domain_name, key_file).load()
File "C:\Users\zhaot.virtualenvs\tradeCenterNx-kx4xaHRg\lib\site-packages\browser_cookie3_init_.py", line 387, in load
con = sqlite3_connect_readonly(self.cookie_file)
File "C:\Users\zhaot.virtualenvs\tradeCenterNx-kx4xaHRg\lib\site-packages\browser_cookie3_init.py", line 145, in _sqlite3_connect_readonly
con = sqlite3.connect(uri + options, uri=True)
sqlite3.OperationalError: unable to open database file
The text was updated successfully, but these errors were encountered: