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 "C:\Users\IonE\Desktop\main.py", line 3, in <module>
import g4f
File "D:\Program Files\Python399\lib\site-packages\g4f\__init__.py", line 1, in <module>
from . import models
File "D:\Program Files\Python399\lib\site-packages\g4f\models.py", line 3, in <module>
from .Provider import Bard, BaseProvider, GetGpt, H2o, Liaobots, Vercel, Equing
File "D:\Program Files\Python399\lib\site-packages\g4f\Provider\__init__.py", line 6, in <module>
from .Bard import Bard
File "D:\Program Files\Python399\lib\site-packages\g4f\Provider\Bard.py", line 11, in <module>
class Bard(AsyncProvider):
File "D:\Program Files\Python399\lib\site-packages\g4f\Provider\Bard.py", line 22, in Bard
cookies: dict = get_cookies(".google.com"),
File "D:\Program Files\Python399\lib\site-packages\g4f\Provider\base_provider.py", line 45, in get_cookies
for cookie in browser_cookie3.load(cookie_domain):
File "D:\Program Files\Python399\lib\site-packages\browser_cookie3\__init__.py", line 1233, in load
for cookie in cookie_fn(domain_name=domain_name):
File "D:\Program Files\Python399\lib\site-packages\browser_cookie3\__init__.py", line 1160, in chrome
return Chrome(cookie_file, domain_name, key_file).load()
File "D:\Program Files\Python399\lib\site-packages\browser_cookie3\__init__.py", line 489, in load
with _DatabaseConnetion(self.cookie_file) as con:
File "D:\Program Files\Python399\lib\site-packages\browser_cookie3\__init__.py", line 349, in __enter__
return self.get_connection()
File "D:\Program Files\Python399\lib\site-packages\browser_cookie3\__init__.py", line 383, in get_connection
con = method()
File "D:\Program Files\Python399\lib\site-packages\browser_cookie3\__init__.py", line 374, in __get_connection_legacy
shutil.copyfile(self.__database_file, self.__temp_cookie_file)
File "D:\Program Files\Python399\lib\shutil.py", line 264, in copyfile
with open(src, 'rb') as fsrc:
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\IonE\\AppData\\Roaming\\..\\Local\\Google\\Chrome\\User Data\\Default\\Network\\Cookies'
Environement
python 3.9.9
ukraine
The text was updated successfully, but these errors were encountered:
Bug description
I'm running basic G4F code from README:
Error:
Environement
The text was updated successfully, but these errors were encountered: