[Freeciv-Dev] Re: inexplicable generate_packets error
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, Apr 26, 2004 at 01:25:34PM -0400, Jason Dorje Short wrote:
> When I apply the attached patch and run generate_packets, it gives an error:
>
> ./generate_packets.py
> Traceback (most recent call last):
> File "./generate_packets.py", line 1628, in ?
> main()
> File "./generate_packets.py", line 1441, in main
> output_c.write(p.get_variants())
> File "./generate_packets.py", line 1162, in get_variants
> result=result+v.get_send()
> File "./generate_packets.py", line 705, in get_send
> body=self.get_delta_send_body()
> File "./generate_packets.py", line 759, in get_delta_send_body
> body=body+field.get_cmp_wrapper(i)
> File "./generate_packets.py", line 304, in get_cmp_wrapper
> cmp=self.get_cmp()
> File "./generate_packets.py", line 285, in get_cmp
> return '''
> KeyError: 'array_size_o'
>
> Raimar?
The type dataio type "string" is hardcoded.
I think the patch is the wrong direction. There just should not be two
string types.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
Windows: From the people who brought you edlin...
|
|