Hi, I am trying to get Antoine Roundy's Gedcom Crawler script to work on my PC. It goes to the LDS genealogy site and returns genealogy information in Gedcom format that can be consumed by a genealogy program like Family Tree Maker.

I am on XP SP3 and have installed ActivePerl 5.10. I am running the script from the command line. I can use the perl exe to run simple scripts from command line so that appears to be in order ("Hello world"). I put the Gedcom Crawler scripts in C:\Perl\bin so I can just type "perl gedcom-crawler.pl ######" as my command (where ###### is the LDS family id number).

Antoine has provided advice on two variables I needed to change:

$myHostName=''; $myHostIP='###.###.###.###';

I have tried my outside IP, what I get when I go to one of those sites that tells you what your IP is, and I tried my LAN IP: 192.168.1.123 or whatever from ipconfig. (Antoine says if you type in your IP, you can leave myHostName blank.)

I think I must be entering the wrong thing because I am getting "bind: Unknown error at gedcom-crawler.pl line 71." for anything I put in there. I don't know if this is it though.

Line 71 of gedcom-crawler.pl reads:

bind(S,$this)||die "bind: $!";"

So it sounds kind of like I might be putting the wrong thing in there. I am on a LAN of two computers behind a router, too. I didn't paste the whole script because it looks like the license forbids it, however it can be downloaded from http://family.geckotribe.com/gedcom-crawler. There are four files.

Any help you might provide in getting this going would be absolutely wonderful. I have been manually entering a lot of data, ugh, and Antoine's script looks like it might alleviate some of that. Please let me know if I can provide any further info toward a solution.

Thank you.


In reply to Bind error in script using IO:Socket by Mazinga

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.