AlphaMaster 7 Posted March 18, 2016 Ola pessoal estou com um erro quando vou converter txt com o comando sh item_proto.txt.sh me da o seguinte erro >> TypeError: cannot concatenate 'str' and 'NoneType' objects alguém sabe como resolvo ? Share this post Link to post Share on other sites
0 NewWars 875 Posted March 18, 2016 Um valor nulo no item proto, presumo que seja como o exemplo abaixo.Exemplo: TABTABPoupa-se trabalho aos dois e tenta este conversor:DL: https://mega.nz/#!Q5BmWZYa!yFx7LqN2L6dYBBOedV5xyu7WCCgRzu2J4yPXe_h7bzcVT: https://www.virustotal.com/pt/file/520a66e214772d07ffcd3137c323cd094aec33dc366b9e2661faab79725214d3/analysis/1458269019/Cumprimentos. 1 AlphaMaster reacted to this Share this post Link to post Share on other sites
0 AlphaMaster 7 Posted March 18, 2016 Oks muito obg vou testar ele Share this post Link to post Share on other sites
0 emanexx1 0 Posted March 18, 2016 nao da mano ja tentamos usar porem e do sql do navicat queriamos converte dentro do game em txt root@:/usr/game # cd /usr/game && sh itemtxt.sh 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 agora parece esse error Share this post Link to post Share on other sites
Ola pessoal estou com um erro quando vou converter txt com o comando sh item_proto.txt.sh
me da o seguinte erro >>
alguém sabe como resolvo ?
Share this post
Link to post
Share on other sites