[mapserver-users] can't get dLegend to function
Jim.Haug at state.sd.us
Jim.Haug at state.sd.us
Mon Oct 6 09:58:06 PDT 2008
I've tried using the dBox demo on two different systems (OS X 10.5.x and
Ubuntu 8.04) running mapserver 5.0.2. Neither the python nor the perl
system will work.
When I run it on the Ubuntu box, I get the following:
su at hawken:/usr/lib/cgi-bin$ perl make_dlegend_xml.pl
map=/var/www/dbox_demo/example/itasca.map server=localhost
Can't locate mapscript410.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl .) at make_dlegend_xml.pl
line 3.
BEGIN failed--compilation aborted at make_dlegend_xml.pl line 3.
su at hawken:/usr/lib/cgi-bin$
What is located in /usr/lib/perl5 is mapscript.pm, not mapscript410.pm.
Changing the name does no good, I still get errors.
The Python version does this:
su at hawken:/usr/lib/cgi-bin$ python make_dlegend_xml.py
--map=/var/www/dbox_demo/example/itasca.map --server=localhost
<dLegend>
<error>
<type 'exceptions.AttributeError'>:
minscale
</error>
</dLegend>
su at hawken:/usr/lib/cgi-bin$
I see that dLegend-based web sites are up and running in various places,
but I'm just not having any luck. I would appreciate any advice anyone
might care to give.
Thanks.
More information about the MapServer-users
mailing list