Related to project no 14

how to resolve above problem

in line 4 set replace with this
if len(history_data)<int(frame_size):

It again displays sane error at line number 40 can you please provide me your code

screenshot the whole code and post here

hi @ Sadineniteja198

what to do of above error


Please read what the error says.

if len(history_data) < frame_size :
TypeError: unorderable types: int() < str()

This means that you are trying to compare an integer with a string.

In the seconds case, you have the following error

required_data_count = conf.FRAME_SIZE - len(history_data)
TypeError: unsupported operand type(s) for -: 'str' and 'int'

This means that python has thrown an error, because the operand - (subtraction), cannot be run on input variables of the type str (string) and int (integer)

This means that you have set the Frame size in the config file as a string instead of an integer.

Please check your config file.

You may have set the FRAME_SIZE config as a string as follows


Whereas it should actually be a number as follows

1 Like

Thanks for the help@vinayak.joshi .the project worked

1 Like