<div dir="ltr"><div>No.&nbsp; It is just the standard spericalmercator.html file in the examples directory.</div>
<div>&nbsp;</div>
<div>What version of python should I be using?&nbsp; I am using <a href="http://2.4.3.">2.4.3.</a>&nbsp; Could that be the issue?<br><br></div>
<div class="gmail_quote">On Thu, Aug 28, 2008 at 2:06 PM, Eric Lemoine <span dir="ltr">&lt;<a href="mailto:eric.c2c@gmail.com">eric.c2c@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Do you have a FireBug &lt;script&gt; tag in your html file? Eric<br>
<div>
<div></div>
<div class="Wj3C7c"><br>2008/8/28, Linda Rawson &lt;<a href="mailto:linda.rawson@gmail.com">linda.rawson@gmail.com</a>&gt;:<br>&gt; Something is wrong with the following lines:<br>&gt;<br>&gt; for(var i=0;i&lt;scripts.length;++i){<br>
&gt; if(scripts[i].src.indexOf(&quot;firebug.js&quot;)!=-1){<br>&gt; OpenLayers.Util.extend(OpenLayers.Console,console);<br>&gt; break;<br>&gt; }}}})();<br>&gt;<br>&gt; If I remove them everything runs fine.<br>&gt;<br>&gt; Linda<br>
&gt;<br>&gt; On Thu, Aug 28, 2008 at 11:29 AM, Eric Lemoine &lt;<a href="mailto:eric.c2c@gmail.com">eric.c2c@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt;&gt; Hi. This is really weird. Open OpenLayers.js in an editor and search<br>
&gt;&gt; for &quot;OpenLayers.Control = OpenLayers.Class&quot;, you should get one<br>&gt;&gt; occurence of this, otherwise your build isn&#39;t valid, for some reason.<br>&gt;&gt; Eric<br>&gt;&gt;<br>&gt;&gt; 2008/8/28, Linda Rawson &lt;<a href="mailto:linda.rawson@gmail.com">linda.rawson@gmail.com</a>&gt;:<br>
&gt;&gt; &nbsp;&gt; I have been on another project so I am just getting around to<br>&gt;&gt; compressing my<br>&gt;&gt; &gt; version of openlayers. &nbsp;So I thought I would try the stable version<br>&gt;&gt; &gt; first<br>&gt;&gt; &gt; before adding my stuff into it.<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt; Here are my steps:<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; 1. &nbsp;Grabbed latest stable build.<br>&gt;&gt; &gt; 2. &nbsp;Switched to build directory.<br>&gt;&gt; &gt; 3. &nbsp;python ./build.py full.cfg<br>&gt;&gt; &gt; 4. &nbsp;Copied Openlayers.js (466 KB) to .. &nbsp;(1 directory above lib, same<br>
&gt;&gt; level<br>&gt;&gt; &gt; as build, img, theme, tools)<br>&gt;&gt; &gt; 5. &nbsp;Moved SpericalMercator.html example to this directory also.<br>&gt;&gt; &gt; 6. &nbsp;Changed to point to<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; &lt;script src=&quot;OpenLayers.js&quot;&gt;&lt;/script&gt;<br>
&gt;&gt; &gt; 7. &nbsp;Run and get the following error:<br>&gt;&gt; &gt; Microsoft JScript runtime error: &nbsp;&#39;OpenLayers.Control&#39; is null or not an<br>&gt;&gt; &gt; object.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; I also get this when I use what I used in 2.5 to compress and it does<br>
&gt;&gt; &gt; not<br>&gt;&gt; &gt; work in 2.6.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Does anybody have any idea what to do with this error? &nbsp;I would really<br>&gt;&gt; like<br>&gt;&gt; &gt; to compress Openlayers.<br>&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks!<br>&gt;&gt; &gt; --<br>&gt;&gt; &gt; Linda Rawson<br>&gt;&gt; &gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Linda Rawson<br>&gt;<br></div></div></blockquote></div><br><br clear="all"><br>
-- <br>Linda Rawson<br></div>