| <type 'exceptions.TypeError'> | Python 2.7.5: /usr/bin/python Sun Apr 19 13:07:42 2026 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /var/www/vhosts/frickbilder.ch/httpdocs/cgi-bin/admin/admin.cgi in |
| 15 |
| 16 import MODULE_LOGINCHECK |
| => 17 MODULE_LOGINCHECK.logincheck(identifikation,form) |
| 18 |
| 19 ############################################################################################################################## PYTHON |
| MODULE_LOGINCHECK = <module 'MODULE_LOGINCHECK' from '/var/www/vhost...ch/httpdocs/cgi-bin/admin/MODULE_LOGINCHECK.pyc'>, MODULE_LOGINCHECK.logincheck = <function logincheck>, identifikation = None, form = FieldStorage(None, None, []) |
| /var/www/vhosts/frickbilder.ch/httpdocs/cgi-bin/admin/MODULE_LOGINCHECK.py in logincheck(identifikation=None, form=FieldStorage(None, None, [])) |
| 21 result_set = cursor.fetchall () |
| 22 for row in result_set: |
| => 23 if int(identifikation) == row['nummer']: |
| 24 benutzer = row |
| 25 cursor.close () |
| builtin int = <type 'int'>, identifikation = None, row = {'cce_gueltig_bis': datetime.datetime(2025, 7, 8, 8, 41, 29), 'cce_ip_hash': '0abe5e70a3a947a77da4d1d47518cebb2fc2eb31c2a74982a04faa4100367c37', 'cce_loginallowed': 'Ja', 'cce_pw_hash': '75141a8df1e0b9fcaef08c754d701e321ec6eeb0389cc86aaaee1ce366c3e6e2', 'cce_salt': '\x16\xed\xd6\xb6d\xce\n\xa8@\x82\x96`\xf0B\xc5\xcaz>\\\xf7sD \x89\xe9z\x1bHS\xeeX\xd6', 'cce_username': 'frickth@bluewin.ch', 'nummer': 1L, 'timestamp': datetime.datetime(2025, 7, 8, 8, 41, 29)} |
<type 'exceptions.TypeError'>: int() argument must be a string or a number, not 'NoneType'
args =
("int() argument must be a string or a number, not 'NoneType'",)
message =
"int() argument must be a string or a number, not 'NoneType'"