AlphaMaster 7 Posted May 20, 2016 Ola pessoal estou com um erro ,quero converter sql para txt mais pela maquina eu coloquei tudo certo o mob_proto converteu para txt mais o item proto não converte me da um erro >>> Conectando a Database Conectado Convertendo item_proto... Traceback (most recent call last): File "item_txt.py", line 792, in <module> 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 alguém pode me ajudar ?? Share this post Link to post Share on other sites
0 Mário. 154 Posted May 20, 2016 Navicat -> Player -> item_proto -> Filters -> seleciona como as imagens que estarão representados abaixo. Share this post Link to post Share on other sites
0 AlphaMaster 7 Posted May 20, 2016 Navicat -> Player -> item_proto -> Filters -> seleciona como as imagens que estarão representados abaixo. esse não deu ;/ Share this post Link to post Share on other sites
Ola pessoal estou com um erro ,quero converter sql para txt mais pela maquina eu coloquei tudo certo o mob_proto converteu para txt mais o item proto não converte me da um erro >>>
alguém pode me ajudar ??
Share this post
Link to post
Share on other sites