#43979: generate_packets.py: generate_stats doesn't work Open Date: 2022-02-25 01:15 Last Update: 2022-02-26 15:58 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/43979 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43979 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-02-26 15:58 Updated by: alienvalkyrie * Owner Update from (None) to alienvalkyrie * Resolution Update from None to Accepted Comment: The attached fix is relatively simple and generates compiling code that works as usual without issues. However, because of #43988, the resulting stats generation cannot easily be tested in its natural environment yet. --------------------------------------------------------------------- Ticket Status: Reporter: alienvalkyrie Owner: alienvalkyrie Type: Bugs Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.2.0 Component: Bootstrap Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: The generate_stats option, which, prior to #43938, can only be set by changing the code, and which has never been enabled, doesn't work (crashes with an AttributeError). It can't ever have worked, even in the original version of the script. Since the option has apparently never been used in its over eighteen years of existing, the question is whether it's worth fixing, or should be removed entirely. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/43979 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43979