[erlang-questions] Beginner questions

Bob Matthews rgmatthews@REDACTED
Mon Dec 24 03:54:05 CET 2012


yes I followed the instructions....................

Erlang R15B03 (erts-5.9.3.1) [smp:2:2] [async-threads:0]

Eshell V5.9.3.1  (abort with ^G)
1> cd("e:/DXNN2_live").
e:/DXNN2_live
ok
2> make:all().
up_to_date
3> polis:create().
{aborted,{already_exists,experiment}}
4> polis:sync().
up_to_date
5> polis:start().
Parameters:{[],[]}
******** Polis: ##MATHEMA## is now online.
{ok,<0.252.0>}
6> fx:start().
true
******** FX Tables:[{'EURUSD60','EURUSD60'},
                     {'EURUSD30','EURUSD30'},
                     {'EURUSD15','EURUSD15'},
                     {metadata,metadata}] started
7> population_monitor:start().
{error,{{badrecord,state},
         [{population_monitor,init,1,
[{file,"population_monitor.erl"},{line,82}]},
{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},
          {proc_lib,init_p_do_apply,3,
                    [{file,"proc_lib.erl"},{line,227}]}]}}
8>

Bob

On 24/12/2012 3:19 p.m., OJ Reeves wrote:
> Bob,
>
> I just went through the instructions that were listed in the README.txt:
>
> STARTING POINT
> --------------
> >From inside Erlang.
> 1. %%%%Compilation%%%%
> 	make:all().
> 2. %%%%Initialize All Databases%%%%
> 	First create a folder called “benchmarks”, the system expects it to exist, and writes files to it when performing benchmarks.
> 	polis:create(). % This creates the database
> 3. %%%%Start The Polis Databases%%%%
> 	polis:start(). % This starts the polis process, the whole thing, the infrastructure (it runs the scapes...)
> 4. At this point you can summon NN based agents or populations of agents, construct Sensors and Actuators and provide them to the NNs... This section will be expanded in future additions.
>
>
> I followed those instructions and the application works perfectly for 
> me. Did you do the same? I'm on Windows 8 x64.
>
> OJ
>
>
> On Mon, Dec 24, 2012 at 11:32 AM, Bob Matthews 
> <rgmatthews@REDACTED <mailto:rgmatthews@REDACTED>> wrote:
>
>     The code that I am looking at is DXNN2 copyrighted to Gene Sher.
>
>     The error message I got which I am having difficulty interpreting
>     is as follows....................
>
>     4> population_monitor:start().
>     {error,{{badrecord,state},
>             [{population_monitor,init,1,
>     [{file,"population_monitor.erl"},{line,82}]},
>     {gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},
>              {proc_lib,init_p_do_apply,3,
>     [{file,"proc_lib.erl"},{line,227}]}]}}
>
>     I am using the latest versionR15B03
>
>     Thank you for you help
>
>     Bob
>     Dunedin New Zealand
>
>
>     On 24/12/2012 11:58 a.m., Matti Oinas wrote:
>>     Hi,
>>
>>     My first proposal is to change the editor to something more
>>     usable like emacs or if you prefer something different then
>>     notepad++, sublime text or eclipse + erlIDE. Everyone of these
>>     are able to show you the line numbers and offer syntax highlight
>>     features.
>>
>>     It would help a lot if you tell us which code you are looking at.
>>     Server callbacks probably mean gen_server callbacks so it doesn't
>>     matter if you are using windows or linux.
>>
>>     Matti
>>
>>     On 12/24/2012 12:08 AM, Bob Matthews wrote:
>>>     Hi
>>>
>>>     I have just started to learn Erlang............
>>>     I am using Windows 7 on a PC
>>>
>>>     *Question 1*) when I get an error message, what is the easiest
>>>     way for me to find the exact line number?
>>>     I use ms Word as an editor.
>>>
>>>     *Question 2*) the code I am looking at was run on Unix, on a
>>>     server.
>>>     Part of the code talks about server call-backs etc.
>>>     It is unclear how I translate that to a windows PC
>>>
>>>     Many thanks
>>>
>>>     Bob
>>>
>>>
>>>     _______________________________________________
>>>     erlang-questions mailing list
>>>     erlang-questions@REDACTED  <mailto:erlang-questions@REDACTED>
>>>     http://erlang.org/mailman/listinfo/erlang-questions
>>
>>     No virus found in this message.
>>     Checked by AVG - www.avg.com <http://www.avg.com>
>>     Version: 2013.0.2805 / Virus Database: 2634/5951 - Release Date:
>>     12/11/12
>>     Internal Virus Database is out of date.
>>
>
>
>     _______________________________________________
>     erlang-questions mailing list
>     erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
>     http://erlang.org/mailman/listinfo/erlang-questions
>
>
>
>
> -- 
>
> OJ Reeves
> +61 431 952 586
> http://buffered.io/
>
> No virus found in this message.
> Checked by AVG - www.avg.com <http://www.avg.com>
> Version: 2013.0.2805 / Virus Database: 2634/5951 - Release Date: 12/11/12
> Internal Virus Database is out of date.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121224/fac263db/attachment.htm>


More information about the erlang-questions mailing list