Hey,meine convert.item convertiert nicht alle sachen,das heißt eingefuege sachen in der mysql-proto convertiert der nicht mit.Kriege auch immer eine fehlermeldung in Putty
root@root600536:/usr/home/game # python convert_item.py
convert_item.py:583: SyntaxWarning: name 'errors' is assigned to before global declaration
global errors
convert_item.py:592: SyntaxWarning: name 'errors' is assigned to before global declaration
global errors
Connecting to database proto...
Connected.
Converting item_proto...
Traceback (most recent call last):
File "convert_item.py", line 867, in <module>
print item_proto()
File "convert_item.py", line 857, in item_proto
item_proto_line = "%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s" % (row[0], "\"" + row[1] + "\"", "\"" + get_item_type(row[3], row[0]) + "\"" , "\"" + get_item_subtype(row[3], row[4], row[0]) + "\"", row[6] , get_antiflag(row[7], row[0]), get_flag(row[8], row[0]), get_wearflag(row[9], row[0]), get_immuneflag(row[10]), row[11], row[12], row[13], row[14], row[16], get_limittype(row[17]), row[18], get_limittype(row[19]), row[20], get_apply(row[21]), row[22], get_apply(row[23]), row[24], get_apply(row[25]), row[26], row[27], row[28], row[29], row[30], row[31], row[32], row[39], row[40], row[41])
TypeError: cannot concatenate 'str' and 'NoneType' objects