You should consider joining our Discord to ask for support.

We created a support channel using the new Discord Forum feature!

You can also visit our new website, it has a help section in English and French

0 like 0 dislike
244 views
in Crash by (610 points)
closed by

Bonjour,

Lors de la capture d'un Pokémon, j'ai un crash par rapport aux .csv, voici le screen + log :
Le screen

================================Erreur de script================================

Message :

Unquoted fields do not allow new line <"\r"> in line 943.

Type : CSV::MalformedCSVError

Script : /lib/ruby/3.0.0/csv/parser.rb (ruby)

Ligne : 921

Date : 24/07/2022 23:58:37

Game Version : 256

Logiciel : Pokémon SDK 26.1

===================================Backtraces===================================

[42] : /lib/ruby/3.0.0/csv/parser.rb (ruby) | ligne 921 parse_quotable_robust

[41] : /lib/ruby/3.0.0/csv/parser.rb (ruby) | ligne 864 parse_quotable_loose

[40] : /lib/ruby/3.0.0/csv/parser.rb (ruby) | ligne 127 each_line

[39] : /lib/ruby/3.0.0/csv/parser.rb (ruby) | ligne 103 each_line

[38] : /lib/ruby/3.0.0/csv/parser.rb (ruby) | ligne 103 each_line

[37] : /lib/ruby/3.0.0/csv/parser.rb (ruby) | ligne 825 parse_quotable_loose

[36] : /lib/ruby/3.0.0/csv/parser.rb (ruby) | ligne 336 parse

[35] : /lib/ruby/3.0.0/csv.rb (ruby) | ligne 2345 each

[34] : /lib/ruby/3.0.0/csv.rb (ruby) | ligne 2345 each

[33] : /lib/ruby/3.0.0/csv.rb (ruby) | ligne 2380 to_a

[32] : /lib/ruby/3.0.0/csv.rb (ruby) | ligne 2380 read

[31] : /lib/ruby/3.0.0/csv.rb (ruby) | ligne 1657 read

[30] : /lib/ruby/3.0.0/csv.rb (ruby) | ligne 1438 open

[29] : /lib/ruby/3.0.0/csv.rb (ruby) | ligne 1657 read

[28] : 00600 Autres/00017 Fix CSV textes vides.rb (user) | ligne 10 try2get_csv_dialog

[27] : 00800 Studio/00400 Text.rb (PSDK) | ligne 75 get_dialog_message

[26] : 00800 Studio/00400 Text.rb (PSDK) | ligne 47 get

[25] : 00700 Ajout_PSDK/01300 PSDK_Def.rb (PSDK) | ligne 37 text_get

[24] : 00800 Studio/00001 Data/00041 Creature.rb (PSDK) | ligne 31 description

[23] : 01450 Systems/00101 Dex/00003 GamePlay/00100 Dex.rb (PSDK) | ligne 128 change_state

[22] : 01450 Systems/00101 Dex/00003 GamePlay/00101 Dex_Graphics.rb (PSDK) | ligne 18 create_graphics

[21] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 251 main_begin

[20] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 152 main

[19] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 190 call_scene

[18] : 01450 Systems/00000 General/00100 GamePlay.rb (PSDK) | ligne 104 open_dex_to_show_pokemon

[17] : 01600 Alpha 25 Battle Engine/00001 Battle_Scene/00101 Scene Choice.rb (PSDK) | ligne 199 update_pokedex_related_infos

[16] : 01600 Alpha 25 Battle Engine/00001 Battle_Scene/00101 Scene Choice.rb (PSDK) | ligne 175 give_pokemon_procedure

[15] : 01600 Alpha 25 Battle Engine/00001 Battle_Scene/00101 Scene Choice.rb (PSDK) | ligne 273 caught

[14] : 01600 Alpha 25 Battle Engine/00001 Battle_Scene/00101 Scene Choice.rb (PSDK) | ligne 154 special_item_choice_action

[13] : 01600 Alpha 25 Battle Engine/00001 Battle_Scene/00101 Scene Choice.rb (PSDK) | ligne 133 item_choice

[12] : 01600 Alpha 25 Battle Engine/00001 Battle_Scene/00100 Scene.rb (PSDK) | ligne 83 next_update_process

[11] : 01600 Alpha 25 Battle Engine/00001 Battle_Scene/00100 Scene.rb (PSDK) | ligne 73 update

[10] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 260 main_process

[9] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 153 main

[8] : tools/GameLoader/Z_main.rb (PSDK) | ligne 17 <top (required)>

[7] : tools/GameLoader/3_load_extensions.rb (PSDK) | ligne 54 rgss_main

[6] : tools/GameLoader/50_load_game_uncompiled.rb (PSDK) | ligne 45 <top (required)>

[5] : ScriptLoad.rb (PSDK) | ligne 189 require

[4] : ScriptLoad.rb (PSDK) | ligne 189 load_tool

[3] : tools/GameLoader/Z_load_uncompiled.rb (PSDK) | ligne 14 <top (required)>

[2] : ScriptLoad.rb (PSDK) | ligne 189 require

[1] : ScriptLoad.rb (PSDK) | ligne 189 load_tool

[0] : Game.rb (RMXP) | ligne 11 <main>

===================================Fin du log===================================

closed with the note: Corrigé

1 Answer

0 like 0 dislike
by (14.8k points)

Yop !
Alors quand je disais tout à l'heure que lire le message de l'erreur est important, si tu traduis ça donne :

Les entrées qui ne sont pas entre guillemets n'autorisent de retour à la ligne <"\r"> à la ligne 943

Donc tu as soit modifié un CSV à la mano et tu n'as pas pensé aux guillemets si tu as des caractères spéciaux, soit ton CSV est corrompu à cause d'un excel ou compagnie.

Et visiblement tu as un script custom, vérifie qu'il ne fasse pas n'importe quoi : 00600 Autres/00017 Fix CSV textes vides.rb (user) | ligne 10 try2get_csv_dialog

by (610 points)
Corrigé, j'ai du importer mes fichiers dans Google sheet puis les ressortir afin qu'ils soient bien corrigé
...