Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] Re: inexplicable generate_packets error
Home

[Freeciv-Dev] Re: inexplicable generate_packets error

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Jason Dorje Short <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: inexplicable generate_packets error
From: Raimar Falke <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Mon, 26 Apr 2004 20:20:26 +0200

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...


[Prev in Thread] Current Thread [Next in Thread]