Andreas Røsdal
Andreas Røsdal
Thanks for reporting. Pull requests welcome. Since you are using https://www.freecivweb.org, please report this issue here also: https://github.com/Lexxie9952/fcw.org-server/issues (, since this is the specific FCW instance you are using)
http://forum.freeciv.org/f/viewtopic.php?f=24&t=91353
Can we please improve the error logging here? @cazfi
> freeciv-web-log-6026.log:1: [T001 - 2022/07/04 08:40:04] in get_packet_from_connection_json() [../freeciv/common/networking/packets_json.c::135]: ERROR: Unable to parse packet: null So it looks like the packet is null.
So why is the packet null? Is the JavaScript client sending empty packets? Should this be fixed in the Freeciv C server, or Freeciv-proxy?
Python is an excellent programming language, and is used in other parts of Freeciv-web, such as freeciv-proxy, publite2 and in the scripts directory. The current pbem module works. Still it...
Thanks for reporting, pull requests welcome.
https://github.com/freeciv/freeciv-web/blob/develop/freeciv-web/src/main/webapp/javascript/pbem.js#L514 https://github.com/freeciv/freeciv-web/blob/develop/pbem/pbem.py#L125 Please submit a propser GitHub pull request.
Or revert to using .xz compression format in Freeciv-web. The differences between the various compession formats is usually minimal these days.