perl mapscript crash "Can't locate auto/mapscript/classObj/swig_size_s.al"

Lowell Filak lfilak at MEDINACO.ORG
Fri Jun 10 09:44:34 EDT 2005


The following message was sent by Joseph Bussell <joe at OTSYS.COM> on Wed,
8 Jun 2005 13:57:09 -0700.

> I have a mapfile that when viewed at certain zoom levels, generates a 
> failure.  The Apache log indicates that a specific object cannot be 
> found.  I explicitly turned off all the layers, intending to add them 
> one at a time until I observed a failure, but the failure still existed 
> for scales 2000001 and higher.  I do not understand why some Perl module 
> is differentially available based on my scale.  Back in the days when 
> TrafficDodger was an active application this was working.  I updated the 
> mapscript to the latest stable rev and had to make a few changes (like 
> my extents were improperly ordered).  Lower scales work nicely.  I have 
> other maps that show the whole planet, these render nicely.  Does anyone 
> have any ideas?
> 
> I am using perl mapscript from version mapserver-4.4.2, 
>     ( set up with ./configure --with-proj --with-gdal --with-gd 
> --with-perl --with-php=../mapserverDeps/php-5.0.2/ )
> Linux 2.6.10-1.771_FC2 #1 built Mon Mar 28 00:50:14 EST 2005 i686 athlon 
> i386 GNU/Linux
> Server version: Apache/1.3.31 (Unix)
> 
> I offer the error string:
> 
> Can't locate auto/mapscript/classObj/swig_size_s.al in @INC (@INC 
> contains: /usr/traffic2/perl 
> /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 
> /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 
> /usr/lib/perl5/site_perl 
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 
> /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 
> /usr/lib/perl5/vendor_perl /usr/local/apache/ 
> /usr/local/apache/lib/perl) at 
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/mapscript.pm line 
> 35\n
> Cordially,
> 
> Joe Bussell
> On Time Systems

Joe,

Can you include a snip of the code?
I've seen this type of error occur a lot when the code has a typo, where
I inadvertently call a member or method that doesn't exist.

Lowell



More information about the mapserver-users mailing list