looker-open-source / henry

A command line tool for Looker instance cleanup
MIT License
79 stars 27 forks source link

Getting AttributeError: 'tqdm' object has no attribute 'pos'` #11

Closed jenny-cai closed 4 years ago

jenny-cai commented 4 years ago

Getting this error when running command henry pulse

`Traceback (most recent call last): File "/anaconda3/bin/henry", line 10, in sys.exit(main())

File "/anaconda3/lib/python3.7/site-packages/henry/cli.py", line 306, in main result = pulse.run_all()

File "/anaconda3/lib/python3.7/site-packages/henry/commands/pulse.py", line 28, in run_all result = self.check_connections()

File "/anaconda3/lib/python3.7/site-packages/henry/commands/pulse.py", line 97, in check_connections ncols=100, miniters=0) as t:

File "/anaconda3/lib/python3.7/site-packages/tqdm/_tqdm.py", line 724, in init self.set_postfix(postfix) TypeError: set_postfix() argument after must be a mapping, not list Exception ignored in: <function tqdm.del at 0x105d87378> Traceback (most recent call last):

File "/anaconda3/lib/python3.7/site-packages/tqdm/_tqdm.py", line 764, in del self.close()

File "/anaconda3/lib/python3.7/site-packages/tqdm/_tqdm.py", line 1001, in close pos = self.pos AttributeError: 'tqdm' object has no attribute 'pos'`

Can anyone help me figure out why and how to resolve this issue?

josephaxisa commented 4 years ago

@jenny-cai this should no longer be a problem in the new version I just pushed, as tqdm is no longer a dependency.