MapTools.org

[maplab-users] tutorial does not work

Raymond E. Flanery, Jr. flaneryrejr@ornl.gov
Mon, 29 Sep 2003 13:58:56 -0400
This is a multi-part message in MIME format.

------=_NextPart_000_0024_01C38691.D2EEA160
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

If I had any hair it would be pulled out by now! This should not be so
difficult.

=20

WinXP Pro

Apache 2.0.47 (Have also tried Apache 1.38)

Php4.3.2 (running as cgi in Apache)

Mapserver 4.0-beta2-win32-php4.3.2 (was using
mapserver-4.1-dev-win32-php4.3.2 with same results)

Maplab-2.1-RC1 (have also tried 2.0.1-release)

=20

Everything sets up fine, php test scripts show that things are installed
(including mapscript 4.0 dll).

I have loggin turned on in maplab and the logs are written out fine.

C:/tmp/ms_apps/ contains a whole bunch of 84byte png files (e.g.
1064855968_6_0_20_10.png) and 6kb associated .map files.

=20

However, no matter what I modify, everytime I try to preview the map =
from
MapEdit I get a blank page (the source for the page being displayed is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD>

<META http-equiv=3DContent-Type content=3D"text/html;
charset=3Diso-8859-1"></HEAD>

<BODY></BODY></HTML>

=20

If I look in preview_mapedit.log, the last lines in the file are:

[Mon.Sep.29.2003.13:43:20] fontset is
F:\maplab-2.1-RC1\htdocs\tutorial\etc\fonts.txt

[Mon.Sep.29.2003.13:43:20] symbolset is
F:\maplab-2.1-RC1\htdocs\tutorial\etc\symbols.sym

[Mon.Sep.29.2003.13:43:20] AppContext : getContextValue( rosa_file )
starting

[Mon.Sep.29.2003.13:43:20]   AppContext : getContextValue( rosa_file )
starting

[Mon.Sep.29.2003.13:43:20]     AppContext : rosa_file value is =
rosa/rosa.jar

[Mon.Sep.29.2003.13:43:20]   AppContext : getContextValue( rosa_file  ) =
done

[Mon.Sep.29.2003.13:43:20] AppContext : getContextValue( rosa_file  ) =
done

[Mon.Sep.29.2003.13:43:20] AppContext : getContextValue( zoom_factor )
starting

[Mon.Sep.29.2003.13:43:20]   AppContext : zoom_factor value is 2

[Mon.Sep.29.2003.13:43:20] AppContext : getContextValue( zoom_factor  ) =
done

[Mon.Sep.29.2003.13:43:20] AppContext : getContextValue( min_zoom_rect )
starting

[Mon.Sep.29.2003.13:43:20]   AppContext : min_zoom_rect value is 5

[Mon.Sep.29.2003.13:43:20] AppContext : getContextValue( min_zoom_rect  =
)
done

[Mon.Sep.29.2003.13:43:20] MapSession_R : setTempDir() starting

[Mon.Sep.29.2003.13:43:20] MapSession_R : setTempDir() done

[Mon.Sep.29.2003.13:43:20] MapSession_R : restoreState() starting

[Mon.Sep.29.2003.13:43:20]   MapSession_R : readMapFile() starting

[Mon.Sep.29.2003.13:43:20]     MapSession_R : readMapFile - Open map
file[c:/tmp/ms_tmp//3f786e4bcffd6.map] was successful

[Mon.Sep.29.2003.13:43:20]   MapSession_R : readMapFile() done

[Mon.Sep.29.2003.13:43:20] MapSession_R : restoreState() done

[Mon.Sep.29.2003.13:43:20] MapSession_R : restoreState() starting

[Mon.Sep.29.2003.13:43:20]   MapSession_R : readMapFile() starting

[Mon.Sep.29.2003.13:43:20]     MapSession_R : readMapFile - Open map
file[c:/tmp/ms_tmp//3f786e4bcffd6.map] was successful

[Mon.Sep.29.2003.13:43:20]   MapSession_R : readMapFile() done

[Mon.Sep.29.2003.13:43:20] MapSession_R : restoreState() done

[Mon.Sep.29.2003.13:43:20] MapSession_R : processLegendTemplate() =
starting

[Mon.Sep.29.2003.13:43:20] MapSession_R : processLegendTemplate() done

[Mon.Sep.29.2003.13:43:20] MapSession_R : saveState() starting

[Mon.Sep.29.2003.13:43:20]   MapSession_R : saveState new ID =3D
BBOX=3D-2594561.3533333,-712631,3467361.3533333,3840000|SRS=3D|LAYERS=3D0=
,1,2,3,4,
5,8

[Mon.Sep.29.2003.13:43:20] MapSession_R : saveState() done

=20

What is going wrong? I have run out of ideas for settings to change.

=20

Ray Flanery


------=_NextPart_000_0024_01C38691.D2EEA160
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>If I had any hair it would be pulled out by now! This =
should
not be so difficult.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>WinXP Pro</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Apache 2.0.47 (Have also tried Apache =
1.38)</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Php4.3.2 (running as cgi in Apache)</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Mapserver 4.0-beta2-win32-php4.3.2 (was using
mapserver-4.1-dev-win32-php4.3.2 with same results)</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Maplab-2.1-RC1 (have also tried =
2.0.1-release)</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Everything sets up fine, php test scripts show that =
things
are installed (including mapscript 4.0 dll).</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have loggin turned on in maplab and the logs are =
written
out fine.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>C:/tmp/ms_apps/ contains a whole bunch of 84byte png =
files
(e.g. 1064855968_6_0_20_10.png) and 6kb associated .map =
files.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>However, no matter what I modify, everytime I try to =
preview
the map from MapEdit I get a blank page (the source for the page being
displayed is:</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0
Transitional//EN&quot;&gt;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&lt;HTML&gt;&lt;HEAD&gt;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&lt;</span></font><font size=3D2 face=3DArial><span
 style=3D'font-size:10.0pt;font-family:Arial'>META</span></font><font =
size=3D2
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>
http-equiv=3DContent-Type content=3D&quot;text/html; =
charset=3Diso-8859-1&quot;&gt;&lt;/HEAD&gt;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt;</span></font></=
p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>If I look in preview_mapedit.log, the last lines in =
the file
are:</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] fontset is
F:\maplab-2.1-RC1\htdocs\tutorial\etc\fonts.txt</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] symbolset is =
F:\maplab-2.1-RC1\htdocs\tutorial\etc\symbols.sym</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] AppContext : =
getContextValue( rosa_file
) starting</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20]&nbsp;&nbsp; AppContext : =
getContextValue(
rosa_file ) starting</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20]&nbsp;&nbsp;&nbsp;&nbsp; =
AppContext
: rosa_file value is rosa/rosa.jar</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20]&nbsp;&nbsp; AppContext : =
getContextValue(
rosa_file&nbsp; ) done</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] AppContext : =
getContextValue( rosa_file&nbsp;
) done</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] AppContext : =
getContextValue( zoom_factor
) starting</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20]&nbsp;&nbsp; AppContext : =
zoom_factor
value is 2</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] AppContext : =
getContextValue( zoom_factor&nbsp;
) done</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] AppContext : =
getContextValue( min_zoom_rect
) starting</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20]&nbsp;&nbsp; AppContext : =
min_zoom_rect
value is 5</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] AppContext : =
getContextValue( min_zoom_rect&nbsp;
) done</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] MapSession_R : =
setTempDir()
starting</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] MapSession_R : =
setTempDir() done</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] MapSession_R : =
restoreState()
starting</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20]&nbsp;&nbsp; MapSession_R : =
readMapFile()
starting</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20]&nbsp;&nbsp;&nbsp;&nbsp; =
MapSession_R
: readMapFile - Open map file[c:/tmp/ms_tmp//3f786e4bcffd6.map] was =
successful</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20]&nbsp;&nbsp; MapSession_R : =
readMapFile()
done</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] MapSession_R : =
restoreState()
done</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] MapSession_R : =
restoreState()
starting</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20]&nbsp;&nbsp; MapSession_R : =
readMapFile()
starting</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20]&nbsp;&nbsp;&nbsp;&nbsp; =
MapSession_R
: readMapFile - Open map file[c:/tmp/ms_tmp//3f786e4bcffd6.map] was =
successful</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20]&nbsp;&nbsp; MapSession_R : =
readMapFile()
done</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] MapSession_R : =
restoreState()
done</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] MapSession_R : =
processLegendTemplate()
starting</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] MapSession_R : =
processLegendTemplate()
done</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] MapSession_R : saveState()
starting</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20]&nbsp;&nbsp; MapSession_R : =
saveState
new ID =3D
BBOX=3D-2594561.3533333,-712631,3467361.3533333,3840000|SRS=3D|LAYERS=3D0=
,1,2,3,4,5,8</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Mon.Sep.29.2003.13:43:20] MapSession_R : saveState() =
done</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>What is going wrong? I have run out of ideas for =
settings to
change.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Ray Flanery</span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0024_01C38691.D2EEA160--



This archive was generated by Pipermail.