There are possibly several ways to resolve this:

One option would be to put a compiled and working version of bson into the 
Erlang/lib/ directory.

Another one would be creating one server with risk and another one with 
ChicagoBoss.

--Kai

Sent from my iPhone

> On Aug 5, 2015, at 13:49, Mert Öztürk <[email protected]> wrote:
> 
> With OTP 18.0 bson compile without any error and when it comes to riak it 
> gives error so i tried to compile everything till riak with OTP 18 and the 
> rest with OTP 17.5 and finally everything is compiled but when i pull the 
> data from mongodb data come as undefined and it does not work.
> 
> 5 Ağustos 2015 Çarşamba 20:29:41 UTC+3 tarihinde Mert Öztürk yazdı:
>> 
>> I am using ChicagoBoss 0.8.15. Do i have to use 0.8.14?
>> 
>> Thanks
>> mert
>> 
>> 5 Ağustos 2015 Çarşamba 20:22:35 UTC+3 tarihinde Kai Janson yazdı:
>>> 
>>> You might want to downgrade the  bson package to a previous version ; if it 
>>> is taking it from HEAD you might have caught an unstable version.
>>> 
>>> Sent from my iPhone
>>> 
>>>> On Aug 5, 2015, at 13:09, Mert Öztürk <[email protected]> wrote:
>>>> 
>>>> Dear Kai,
>>>> 
>>>> I downgraded to OTP 17.5 
>>>> (http://packages.erlang-solutions.com/site/esl/esl-erlang/FLAVOUR_1_esl/esl-erlang_17.5-1~ubuntu~precise_amd64.deb)
>>>> I used wget to download it and sudo dpkg -i  to install it.
>>>> Then i made the thing you said (make clean) and tried and i have the same 
>>>> error again;
>>>> 
>>>> Compiling /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl failed:
>>>> /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl:55: illegal use 
>>>> of variable 'Name' in map
>>>> ERROR: compile failed while processing 
>>>> /root/ask_prod2/ChicagoBoss/deps/bson: rebar_abort
>>>> make: *** [all] Error 1
>>>> 
>>>> Then i cleaned all ebin directories and got the same error again.
>>>> 
>>>> Thanks
>>>> Mert
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 5 Ağustos 2015 Çarşamba 18:57:04 UTC+3 tarihinde Kai Janson yazdı:
>>>>> 
>>>>> Looks like you have partially compiled project code. Try a "make clean"
>>>>> 
>>>>> If that fails, remove the beam files from the ebin directories.
>>>>> 
>>>>> --Kai
>>>>> 
>>>>> Sent from my iPhone
>>>>> 
>>>>>> On Aug 5, 2015, at 11:24, Mert Öztürk <[email protected]> wrote:
>>>>>> 
>>>>>> Important to mention, i dont get the following error with OTP 18.0;
>>>>>> 
>>>>>> ==> bson (compile)
>>>>>> Compiling /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl 
>>>>>> failed:
>>>>>> /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl:55: illegal 
>>>>>> use of variable 'Name' in map
>>>>>> ERROR: compile failed while processing 
>>>>>> /root/ask_prod2/ChicagoBoss/deps/bson: rebar_abort
>>>>>> make: *** [all] Error 1
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 5 Ağustos 2015 Çarşamba 17:51:44 UTC+3 tarihinde Mert Öztürk yazdı:
>>>>>>> 
>>>>>>> Hello,
>>>>>>> 
>>>>>>> I upgraded erlang to OTP 18.0 and riak.pb couldnt be compiled so 
>>>>>>> couldnt complete make.
>>>>>>> Then i downgraded and tried with 17.0,17.4, 17.5 and 17.5.3 and now i 
>>>>>>> am having the error;
>>>>>>> 
>>>>>>> ==> bson (compile)
>>>>>>> Compiling /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl 
>>>>>>> failed:
>>>>>>> /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl:55: illegal 
>>>>>>> use of variable 'Name' in map
>>>>>>> ERROR: compile failed while processing 
>>>>>>> /root/ask_prod2/ChicagoBoss/deps/bson: rebar_abort
>>>>>>> make: *** [all] Error 1
>>>>>>> 
>>>>>>> I am having an urgent trouble with my application and your help will be 
>>>>>>> appreciated.
>>>>>>> 
>>>>>>> Thanks
>>>>>>> Mert
>>>>>> 
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "ChicagoBoss" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>>> an email to [email protected].
>>>>>> Visit this group at http://groups.google.com/group/chicagoboss.
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/chicagoboss/c0447639-55ad-4c69-baf1-1c9ac16f8a21%40googlegroups.com.
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>> 
>>>> -- 
>>>> You received this message because you are subscribed to the Google Groups 
>>>> "ChicagoBoss" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>>> email to [email protected].
>>>> Visit this group at http://groups.google.com/group/chicagoboss.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/chicagoboss/6095b6b7-1bb0-4809-baa1-485666d240e9%40googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "ChicagoBoss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> Visit this group at http://groups.google.com/group/chicagoboss.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/chicagoboss/36b3dc8f-9243-4223-a7ad-f85e1d82bf4f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/C28D0E9A-495B-4674-B217-55FAA91C9B8B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to