Found the problem. pokemon_pb file does not get compiled with debug_info
which is needed for it to work.
rebar.config file is missing this line:
{erl_opts, [debug_info]}.Sergej On Mon, Jan 2, 2012 at 10:50 AM, Rapsey <[email protected]> wrote: > hello, > > I've been trying to use the erlang_protobuffs library but the scan_file > function always crashes. > > > protobuffs_compile:scan_file("../test/erlang_protobuffs_SUITE_data/simple.proto"). > > =INFO REPORT==== 31-Dec-2011::19:03:38 === > Writing header file to "simple_pb.hrl" > ** exception error: no match of right hand side value > {ok,{pokemon_pb,[{abstract_code,no_abstract_code}]}} > in function protobuffs_compile:output/4 > > > Am I doing something wrong or is there an error in the library? > > > thank you, > Sergej >
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
