<type 'exceptions.TypeError'> | Python 2.7.14: C:\Python27\python.exe Tue Jun 17 01:27:12 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.
D:\Ftp\log.py in |
12 |
13 dir_root = "d:/Ftp/" |
=> 14 log_dir = dir_root + form.getvalue("id") |
15 if not os.path.exists(log_dir): |
16 os.makedirs(log_dir) |
log_dir undefined, dir_root = 'd:/Ftp/', form = FieldStorage(None, None, []), form.getvalue = <bound method FieldStorage.getvalue of FieldStorage(None, None, [])> |
<type 'exceptions.TypeError'>: cannot concatenate 'str' and 'NoneType' objects
args =
("cannot concatenate 'str' and 'NoneType' objects",)
message =
"cannot concatenate 'str' and 'NoneType' objects"