<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I dont have my computer with me but the error is at line 82 of the file population_monitor.erl.</div><div><br></div><div>Best wishes</div><div><br></div><div>Ivan<br><br>--<br>festina lente<div><br></div></div><div><br>On 24 Dec 2012, at 01:32, Bob Matthews <<a href="mailto:rgmatthews@orcon.net.nz">rgmatthews@orcon.net.nz</a>> wrote:<br><br></div><blockquote type="cite"><div>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div class="moz-cite-prefix">The code that I am looking at is DXNN2
copyrighted to Gene Sher.<br>
<br>
The error message I got which I am having difficulty interpreting
is as follows....................<br>
<br>
4> population_monitor:start().<br>
{error,{{badrecord,state},<br>
[{population_monitor,init,1,<br>
[{file,"population_monitor.erl"},{line,82}]},<br>
{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},<br>
{proc_lib,init_p_do_apply,3,<br>
[{file,"proc_lib.erl"},{line,227}]}]}}<br>
<br>
I am using the latest versionR15B03<br>
<br>
Thank you for you help<br>
<br>
Bob<br>
Dunedin New Zealand<br>
<br>
On 24/12/2012 11:58 a.m., Matti Oinas wrote:<br>
</div>
<blockquote cite="mid:50D78C7D.4060303@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div class="moz-cite-prefix">Hi,<br>
<br>
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.<br>
<br>
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.<br>
<br>
Matti<br>
<br>
On 12/24/2012 12:08 AM, Bob Matthews wrote:<br>
</div>
<blockquote cite="mid:50D780F1.2090401@orcon.net.nz" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi<br>
<br>
I have just started to learn Erlang............<br>
I am using Windows 7 on a PC<br>
<br>
<small><small><b><big><big>Question 1</big></big></b></small></small>)
when I get an error message, what is the easiest way for me to
find the exact line number?<br>
I use ms Word as an editor.<br>
<br>
<b>Question 2</b>) the code I am looking at was run on Unix, on
a server. <br>
Part of the code talks about server call-backs etc.<br>
It is unclear how I translate that to a windows PC<br>
<br>
Many thanks<br>
<br>
Bob<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
<p class="" avgcert""="" color="#000000" align="left">No virus
found in this message.<br>
Checked by AVG - <a moz-do-not-send="true" href="http://www.avg.com">www.avg.com</a><br>
Version: 2013.0.2805 / Virus Database: 2634/5951 - Release Date:
12/11/12<br>
Internal Virus Database is out of date.</p>
</blockquote>
<br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>erlang-questions mailing list</span><br><span><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a></span><br><span><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></span><br></div></blockquote></body></html>