[erlang-questions] Newbie question - running qdate results in noproc, gen_server exception

Ivan Uemlianin <>
Mon Dec 22 22:47:50 CET 2014


You might need to do sth like

    application:start(qdate).

(Haven't got computer with me)

Best wishes

Ivan

--
festina lente


> On 22 Dec 2014, at 21:21, Carlos Paparoni <> wrote:
> 
> Hi everyone, I'm fairly (read: extremely) new to Erlang and still learning how to do stuff.
> 
> I'm currently trying to code some timezone functions in ChicagoBoss using the qdate library (https://github.com/choptastic/qdate); however, when trying to test the code either standalone or inside the controller, I'm getting this error:
> 
> qdate:set_timezone("GMT").
> ** exception exit: {noproc,{gen_server,call,
>                                        [qdate_srv,{set_timezone,<0.54.0>,"GMT"}]}}
>      in function  gen_server:call/2 (gen_server.erl, line 182)
>      in call from qdate_srv:set_timezone/2 (qdate_srv.erl, line 49)
> 
> Even though I previously did this:
> 
> qdate_srv:start_link().
> {ok,<0.51.0>}
> 
> Would anyone be so kind as to tell me what I'm doing wrong (and how to fix it), please?
> 
> Thanks in advance,
> 
> CARLOS PAPARONI  
> Web Developer
> 
> 
> 
> CONFIDENTIALITY NOTICE: This message may contain confidential, privileged and/or proprietary information and/or material for the sole confidential use of Systrix and related parties. The use, copy, dissemination or distribution of this message may only be made by and to authorized parties. If you received this message by mistake, please notify immediately to the sender and Systrix and delete the message. The recipients are advised that NONE of the information and/or material contained in this communication should be interpreted as a digital or electronic signature that can be used in any way to authenticate a contract or other legal document.
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141222/9b880b6d/attachment.html>


More information about the erlang-questions mailing list