{"action":"created","issue":{"url":"https://api.github.com/repos/wesnoth/wesnoth/issues/1999","repository_url":"https://api.github.com/repos/wesnoth/wesnoth","labels_url":"https://api.github.com/repos/wesnoth/wesnoth/issues/1999/labels{/name}","comments_url":"https://api.github.com/repos/wesnoth/wesnoth/issues/1999/comments","events_url":"https://api.github.com/repos/wesnoth/wesnoth/issues/1999/events","html_url":"https://github.com/wesnoth/wesnoth/issues/1999","id":257633231,"number":1999,"title":"Error \"min(list): list is empty\" in ingame chat while playing LoW","user":{"login":"Arcanister","id":31947120,"avatar_url":"https://avatars0.githubusercontent.com/u/31947120?v=4","gravatar_id":"","url":"https://api.github.com/users/Arcanister","html_url":"https://github.com/Arcanister","followers_url":"https://api.github.com/users/Arcanister/followers","following_url":"https://api.github.com/users/Arcanister/following{/other_user}","gists_url":"https://api.github.com/users/Arcanister/gists{/gist_id}","starred_url":"https://api.github.com/users/Arcanister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arcanister/subscriptions","organizations_url":"https://api.github.com/users/Arcanister/orgs","repos_url":"https://api.github.com/users/Arcanister/repos","events_url":"https://api.github.com/users/Arcanister/events{/privacy}","received_events_url":"https://api.github.com/users/Arcanister/received_events","type":"User","site_admin":false},"labels":[{"id":597319005,"url":"https://api.github.com/repos/wesnoth/wesnoth/labels/AI","name":"AI","color":"d455f9","default":false},{"id":35865188,"url":"https://api.github.com/repos/wesnoth/wesnoth/labels/bug","name":"bug","color":"fc2929","default":true},{"id":597319147,"url":"https://api.github.com/repos/wesnoth/wesnoth/labels/Campaign","name":"Campaign","color":"d455f9","default":false},{"id":597319614,"url":"https://api.github.com/repos/wesnoth/wesnoth/labels/MP","name":"MP","color":"d455f9","default":false},{"id":707219844,"url":"https://api.github.com/repos/wesnoth/wesnoth/labels/regression","name":"regression","color":"fc2929","default":false},{"id":622855864,"url":"https://api.github.com/repos/wesnoth/wesnoth/labels/WFL","name":"WFL","color":"d455f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-09-14T08:17:58Z","updated_at":"2017-10-01T09:02:24Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Wesnoth 1.13.8+dev, GNU/Linux\r\n\r\nIn-game chat is flooded with messages in 4th turn of side 5:\r\n\r\n<wfl> Error while parsing formula:\r\n<wfl> min(list): list is empty\r\n\r\nSteps to reproduce:\r\n1. Load [LoW-The_Uprooting-Auto-Save4.gz.zip](https://github.com/wesnoth/wesnoth/files/1302248/LoW-The_Uprooting-Auto-Save4.gz.zip), renaming to remove zip extension first\r\n2. Finish your turn and wait. When side 5 turn starts, several messages appear within in-game chat, but not in stdout/stderr.\r\n\r\nReproducible both in SP and MP mode.\r\n\r\nThe messages cannot be found in chat log accessible by Alt-C. \r\nLooking through Wesnoth code indicates that message is probably coming from [src/formula/function.cpp:206](https://github.com/wesnoth/wesnoth/blob/master/src/formula/function.cpp#L206)"},"comment":{"url":"https://api.github.com/repos/wesnoth/wesnoth/issues/comments/333363206","html_url":"https://github.com/wesnoth/wesnoth/issues/1999#issuecomment-333363206","issue_url":"https://api.github.com/repos/wesnoth/wesnoth/issues/1999","id":333363206,"user":{"login":"Arcanister","id":31947120,"avatar_url":"https://avatars0.githubusercontent.com/u/31947120?v=4","gravatar_id":"","url":"https://api.github.com/users/Arcanister","html_url":"https://github.com/Arcanister","followers_url":"https://api.github.com/users/Arcanister/followers","following_url":"https://api.github.com/users/Arcanister/following{/other_user}","gists_url":"https://api.github.com/users/Arcanister/gists{/gist_id}","starred_url":"https://api.github.com/users/Arcanister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arcanister/subscriptions","organizations_url":"https://api.github.com/users/Arcanister/orgs","repos_url":"https://api.github.com/users/Arcanister/repos","events_url":"https://api.github.com/users/Arcanister/events{/privacy}","received_events_url":"https://api.github.com/users/Arcanister/received_events","type":"User","site_admin":false},"created_at":"2017-10-01T09:02:24Z","updated_at":"2017-10-01T09:02:24Z","author_association":"CONTRIBUTOR","body":"Nothing is printed on the console with options you suggested, however, when I enable all \"ai\"-related domain I get results which suggest that it could be related with poisoning, since side 5 is only one units with poison and:\r\n```\r\ndebug ai/stage/rca: Evaluating candidate action: candidate action with name [poisoning]\r\ninfo ai/engine/fai: Error while parsing formula: \r\ninfo ai/engine/fai: min(list): list is empty\r\n```"}}
{"actor":{"display_login":"Arcanister"}}