Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^8: Zip Code Module?

by simonm (Vicar)
on Dec 17, 2004 at 17:06 UTC ( #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?
      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!


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2021-04-11 10:48 GMT
Find Nodes?
    Voting Booth?

    No recent polls found