Skip to content

AttributeError: 'tqdm' object has no attribute 'last_print_t' #261

@chenasraf

Description

@chenasraf

Didn't use to happen before, not sure why it started happening. I've got

Traceback (most recent call last):
  File "main.py", line 206, in <module>
    OrgbaseQ(**settings).start()
  File "/Users/casraf/Dev/whitespace-tools/item_q/item_q/item_q.py", line 26, in start
  File "main.py", line 125, in flush
    tqdm.write('Found %d matching people by names' % pg_count)
  File "/usr/local/lib/python2.7/site-packages/tqdm/_tqdm.py", line 343, in write
    inst.refresh()
  File "/usr/local/lib/python2.7/site-packages/tqdm/_tqdm.py", line 944, in refresh
    self.fp.write(self.__repr__())
  File "/usr/local/lib/python2.7/site-packages/tqdm/_tqdm.py", line 649, in __repr__
    time() - self.last_print_t,
AttributeError: 'tqdm' object has no attribute 'last_print_t'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions