Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^8: Zip Code Module?

by simonm (Vicar)
on Dec 17, 2004 at 17:06 UTC ( [id://415699]=note: print w/replies, xml ) Need Help??


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

It sounds like you're trying to build the files on one machine and then install them on another.

I would guess that either the files you've uploaded are not in the place that the software is looking, or alternately, that some difference in operating system or library version between the two machines is preventing the database from being read.

Replies are listed 'Best First'.
Re^9: Zip Code Module?
by powerhouse (Friar) on Dec 17, 2004 at 17:20 UTC
    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
      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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-25 07:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found