Traceback (most recent call last):


 "C:\Program 
s\Python37\lib\site-packages\IPython\core\interactiveshell.py", line 3265, in run_code

exec(code_obj, self.user_global_ns, self.user_ns)


 "<ipython-input-319-5c64504eb0d2>", line 1, in <module>

Faker(providers=['faker.providers.user_agent', 'faker.providers.date_time', 'faker.providers.internet']).user_agent()


 "C:\Program 
s\Python37\lib\site-packages\faker\providers\user_agent\__init__.py", line 34, in user_agent

return getattr(self, name)()


 "C:\Program 
s\Python37\lib\site-packages\faker\providers\user_agent\__init__.py", line 114, in safari/firefox/opera

locale = self.generator.locale().replace('_', '-')
AttributeError: 'Generator' object has no attribute 'locale'

Traceback (most recent call last):


 "<stdin>", line 2, in <module>


 "/Users/eddie/dev/quippy/.venv/lib/python3.6/site-packages/lark/lark.py", line 156, in __init__

tokens, self.rules, self.ignore_tokens = self.grammar.compile(lexer=bool(lexer), start=self.options.start)


 "/Users/eddie/dev/quippy/.venv/lib/python3.6/site-packages/lark/load_grammar.py", line 485, in compile

for name, (token_tree, priority) in token_defs]


 "/Users/eddie/dev/quippy/.venv/lib/python3.6/site-packages/lark/load_grammar.py", line 485, in <listcomp>

for name, (token_tree, priority) in token_defs]


 "/Users/eddie/dev/quippy/.venv/lib/python3.6/site-packages/lark/tree.py", line 139, in transform

tree = t.transform(tree)


 "/Users/eddie/dev/quippy/.venv/lib/python3.6/site-packages/lark/tree.py", line 113, in transform

items.append(self.transform(c) if isinstance(c, Tree) else c)


 "/Users/eddie/dev/quippy/.venv/lib/python3.6/site-packages/lark/tree.py", line 121, in transform

return f(items)


 "/Users/eddie/dev/quippy/.venv/lib/python3.6/site-packages/lark/load_grammar.py", line 387, in expansions

if len({i.flags for i in exps}) > 1:


 "/Users/eddie/dev/quippy/.venv/lib/python3.6/site-packages/lark/load_grammar.py", line 387, in <setcomp>

if len({i.flags for i in exps}) > 1:
AttributeError: 'Tree' object has no attribute 'flags'
