Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^9: Zip Code Module?

by powerhouse (Friar)
on Dec 17, 2004 at 17:20 UTC ( #415703=note: print w/replies, xml ) Need Help??


in reply to Re^8: Zip Code Module?
in thread Zip Code Module?

Actually it is all on the same server. I did the install from /etc where I created a new directory "zip", so the installation started at /etc/zip

That is also where the .db files are. There are some empty ones located at /etc/zip/edgetest however, that of course did not work pointing the 'dir' to that location. So I changed it to just /etc/zip where the full .db files are. Still it fails at the same location($_record = $gp->lookup_postal_code('postal_code' => "$_zip") or die "Could not Lookup Postal Code!";) So I have no idea what could be wrong now.

Any other idea's?
thx,
Richard

Replies are listed 'Best First'.
Re^10: Zip Code Module?
by simonm (Vicar) on Dec 17, 2004 at 21:23 UTC
    Did you work through a successful "make test" before installing the modules? If not, I would suggest logging in to a remote shell and following the directions "in situ" rather than trying to "upload" the files afterwards.

    (And I'm assuming that you've confirmed that the zip code parameter is being set correctly, and that you've tested with several real zip codes to confirm that you're not hitting real gaps in the data... Right?)

      I did everything just as it said to do, including "make test".
      I had already installed the module, before I even came here, and it did not work, that is why I came here, seeking the monks wisdom. So, since I installed the module, first, then did everything I learned here, how would I do your suggestion? (remote shell I know how to do, but not "following the directions 'in situ'" What do you mean by that?).

      I did test with real zip codes, it still fails at that lookup. It passes the set new instance ok, but then fails at the lookup, using the new instance.

      Looking forward to clarification. Thank you much!

      thx,
      Richard
        Sorry, I wasn't sure what procedure you were using. (By "in situ" I meant "on the target host".)

        If "make test" was successful, you should still be able to run the test scripts.

        Can you get one of those to work? If so, then we know the problem is in your script; if they don't, then we know that something went wrong during installation.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://415703]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2021-04-18 02:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?