MapTools.org

[Chameleon] RE: onload()

Aaron Racicot aaronr@ccalmr.ogi.edu
Mon, 29 Mar 2004 21:48:25 -0800
This is a multi-part message in MIME format.

------=_NextPart_000_0001_01C415D7.90C41CE0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Paul,
            I am actually heading out of town tomorrow morning, but
today I made some good progress.  I was having ALL SORTS of problems
with my new mapserver installation, including chameleon, maplab,
mapscript, and just about everything else you could imagine.  Every
product I tried had a different problem, but all smelled of the same
type of issue.  Well, after hunting and hunting I found a message on a
php message board that talked about incompatibility of libPDF and
libPNG.  I don't have the web addresses here at home, but next week I
can send them to you (if you are even having the same issue).  In this
installation I had decided to play with PDF's so I added the mapserver
switch at configure for PDF's.  Well, it turns out that there are
certain configurations of libPDF (mine was an RPM I installed) that
don't play nice with libPNG, and actually can cause runtime errors with
PNG's.  So after stripping the problem down to simple PNG manipulation
via PHP I found certain PNG functions were hosed.  So, a quick
re-configure with no PDF support produced a working mapscript
installation.  All of the sudden maplab worked, and I was able to port
some of my old mapserver work from my 3.6 installation and get
postgres/postgis up and running.  What I did not have time to look at
was chameleon again today, but I am feeling pretty confident that the
issues I was having are going to be tied to this same problem.  So, this
little rant might not help you if you are not suffering from the same
problem, but check your mapserver configure and see if you have PDF
enabled.
 
Hope you make some progress, and I would love to check back in when I
get back into town next week.  Good luck!
 
Aaron
 
-----Original Message-----
From: Paul Dymecki [mailto:paul.dymecki@sympatico.ca] 
Sent: Monday, March 29, 2004 8:08 PM
To: aaronr@ccalmr.ogi.edu
Cc: chameleon@lists.maptools.org
Subject: onload()
 
Hi Aaron,
   Not sure if you are still having the same problems with the onload
funtion but i am also having trouble with it.  I debugged the chameleon
demo down to the panmap widget which is actually called from the onload
function..  If you do a view source on the demo html page you will find
the related javascript function.  Still this is no anwer just more
questions..
Paul

------=_NextPart_000_0001_01C415D7.90C41CE0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

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


<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C415D7.8FEB2200">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	mso-style-noshow:yes;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:navy;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]--><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=3Dwhite lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:.5in'>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Paul,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><span =
style=3D'mso-tab-count:1'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; </span>I
am actually heading out of town tomorrow morning, but today I made some =
good
progress.<span style=3D'mso-spacerun:yes'>&nbsp; </span>I was having ALL =
SORTS of
problems with my new mapserver installation, including chameleon, =
maplab,
mapscript, and just about everything else you could imagine. <span
style=3D'mso-spacerun:yes'>&nbsp;</span>Every product I tried had a =
different
problem, but all smelled of the same type of issue.<span
style=3D'mso-spacerun:yes'>&nbsp; </span>Well, after hunting and hunting =
I found
a message on a php message board that talked about incompatibility of =
libPDF
and libPNG. <span style=3D'mso-spacerun:yes'>&nbsp;</span>I don&#8217;t =
have the web
addresses here at home, but next week I can send them to you (if you are =
even
having the same issue).<span style=3D'mso-spacerun:yes'>&nbsp; </span>In =
this
installation I had decided to play with PDF&#8217;s so I added the =
mapserver
switch at configure for PDF&#8217;s.<span =
style=3D'mso-spacerun:yes'>&nbsp;
</span>Well, it turns out that there are certain configurations of =
libPDF (mine
was an RPM I installed) that don&#8217;t play nice with libPNG, and =
actually
can cause runtime errors with PNG&#8217;s.<span =
style=3D'mso-spacerun:yes'>&nbsp;
</span>So after stripping the problem down to simple PNG manipulation =
via PHP I
found certain PNG functions were hosed.<span =
style=3D'mso-spacerun:yes'>&nbsp;
</span>So, a quick re-configure with no PDF support produced a working
mapscript installation. <span =
style=3D'mso-spacerun:yes'>&nbsp;</span>All of the
sudden maplab worked, and I was able to port some of my old mapserver =
work from
my 3.6 installation and get postgres/postgis up and running. <span
style=3D'mso-spacerun:yes'>&nbsp;</span>What I did not have time to look =
at was
chameleon again today, but I am feeling pretty confident that the issues =
I was
having are going to be tied to this same problem.<span
style=3D'mso-spacerun:yes'>&nbsp; </span>So, this little rant might not =
help you
if you are not suffering from the same problem, but check your mapserver
configure and see if you have PDF enabled.<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Hope you make some progress, and I =
would
love to check back in when I get back into town next week.<span
style=3D'mso-spacerun:yes'>&nbsp; </span>Good =
luck!<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Aaron<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> Paul Dymecki
[mailto:paul.dymecki@sympatico.ca] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Monday, March 29, =
2004 8:08
PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
aaronr@ccalmr.ogi.edu<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> =
chameleon@lists.maptools.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> =
onload()</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Hi =
Aaron,</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp; Not sure if =
you are
still having the same problems with the onload funtion but i am also =
having
trouble with it.&nbsp; I&nbsp;debugged the&nbsp;chameleon demo down to =
the
panmap widget which is actually called from the onload function..&nbsp; =
If you
do a view source on the demo html page you will find the related =
javascript
function.&nbsp; Still this is no anwer just more =
questions..</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Paul</span></font><o:p></o:p=
></p>

</div>

</div>

</body>

</html>

------=_NextPart_000_0001_01C415D7.90C41CE0--



This archive was generated by Pipermail.