multi_progress icon indicating copy to clipboard operation
multi_progress copied to clipboard

Error running the program.

Open manoj-ms opened this issue 7 years ago • 1 comments

i get this error while executing the example program on the Linux box ( python 2.7) Traceback (most recent call last): File "prog4.py", line 53, in test((1,5)) File "prog4.py", line 40, in test pbar.start() File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 633, in start self.update(self.min_value, force=True) File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 582, in update self.fd.flush() AttributeError: 'Writer' object has no attribute 'flush'

manoj-ms avatar May 21 '18 12:05 manoj-ms

Add a function in the Writer class as follows and it should work:

def flush(self):
    pass

AlpNek avatar Jun 25 '19 09:06 AlpNek