From: trygvelu@bug.itea.ntnu.no
On Mon, 12 Jul 1999, Berg, Ivan wrote:
> I get the error message: Can't call method "configHash" on an undefined
> value at /home/cricket/cricket/lib/Common/Map.pm line 116
>
> I noticed that Map.pm is new in this version.
>
> I run collector individually on my stuff and most of them go fine except for
> /router-interfaces which gives the above error message.
I guess you use inst=map(interface-name) for router-interfaces (like most)
I got the same error when collector tries to process a subdir of
/router-interfaces that doesn't set any targets..
%cat /router/interfaces/my_router/interfaces
target --default--
router = my_router
(EOF)
(This router is broken, so it didn't get interfaces set on last update of
the config-tree (my config-tree is autoconfigured) )
I guess there should be some test in collector before mapInstance is
called, so we know that $target is defined. Currently it dies in the
middle of collecting, and that is not the behaviour I want.
Oh well, time to play with those map-functions again :)
-- TL--------------------------- ONElist Sponsor ----------------------------
ONElist: your connection to like-minds and kindred spirits.
------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:55 PST