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
Hi, thanks for this wonderful plugins and the work you put in.
I experience this issue :
File "PhotoFaceTagger.py", line 71, in main
bar.update(step=picIndex)
File "/home/nathann/PycharmProjects/PhotoFaceTagger/venv/lib/python3.8/site-packages/loadbar/LoadBar.py", line 100, in update
s = ' '.join(l)
TypeError: sequence item 3: expected str instance, NoneType found
i managed to "Fix" it by changing
s = ' '.join(l)
with this dirty hack
try:
s = ' '.join(l)
except:
s = ' '.join(str(l))
Now the program run and the bar is crudely displayed (see bellow). Would you happen to have an Idea of why the issue happen and how to fix it.
[ ' 4 2 / 4 6 6 9 3 ' , ' ( 0 % ) ' , ' [ . ] ' , N o n e ]
(for reference here is my snippet of code that crashed it)
picIndex = 1
bar = LoadBar(max=corpusSize) # display a not too verbose % of the work done
for pic in listOfPictures: # this list contain 46 k pictures
bar.update(step=picIndex) #
picIndex = picIndex + 1
bar.end()
The text was updated successfully, but these errors were encountered:
Hi, thanks for this wonderful plugins and the work you put in.
I experience this issue :
i managed to "Fix" it by changing
with this dirty hack
Now the program run and the bar is crudely displayed (see bellow). Would you happen to have an Idea of why the issue happen and how to fix it.
[ ' 4 2 / 4 6 6 9 3 ' , ' ( 0 % ) ' , ' [ . ] ' , N o n e ]
(for reference here is my snippet of code that crashed it)
The text was updated successfully, but these errors were encountered: