[rabbitmq-discuss] JSON dependency for codegen - suggestion

Holger Hoffstätte holger at wizards.de
Thu Nov 20 00:32:49 GMT 2008


Good news!

[..bla bla..]
>   File "codegen.py", line 295, in fillField
>     conv_fn = erlangDefaultValueTypeConvMap[type(field.defaultvalue)]
> KeyError: <type 'unicode'>
> make: *** [src/rabbit_framing.erl] Error 1

Caused by simplejson-1.9.whatever it installed, fixed by updating to the
latest 2.0.4 [1]. Server now builds fine again. I win. :)

So +1 for fixing the spec json file and requiring simplejson.

cheers
Holger

[1] http://bugs.gentoo.org/show_bug.cgi?id=246070




More information about the rabbitmq-discuss mailing list