Lalala --> -->
TypeError | Python 3.8.10: /usr/bin/python3 Sun May 25 20:28:38 2025 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home/eturk09/public_html/cgi-bin/formdataplotter.cgi in <module> |
17 print("Lalala ") |
18 x = randn(10000) |
=> 19 hist(x,int(num)) |
20 myfullpath=os.path.join(my_path,my_file) |
21 print(myfullpath) |
hist = <function hist>, x = array([ 0.42512509, -2.53348168, 0.55277633, ..., -1.33962507, -0.08652884, 0.52510739]), builtin int = <class 'int'>, num = None |
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
args =
("int() argument must be a string, a bytes-like object or a number, not 'NoneType'",)
with_traceback =
<built-in method with_traceback of TypeError object>