MapTools.org

[maplab-users] tutorial does not work

Raymond E. Flanery, Jr. flaneryrejr@ornl.gov
Wed, 01 Oct 2003 14:01:31 -0400
I do not know if this is related but ...

After loading mymap.map as detailed in previous message, I switch to
MapBrowser and get the following popup error message -

A Runtime Error has occurred.
Do you wish to debug?

Line: 12
Error: 'parent.parent.frames.ToolbarFrame.document.main' is null or not an
object.

The legend section looks correct, Current Map View extents, etc. look
correct and the key image looks correct but the map is blank.

Ray Flanery

-----Original Message-----
From: Zak James [mailto:zjames@dmsolutions.ca] 
Sent: Monday, September 29, 2003 4:37 PM
To: Raymond E. Flanery, Jr.
Cc: maplab-users@dmsolutions.ca
Subject: Re: [maplab-users] tutorial does not work

Have you tried importing your map instead of just opening it (in the  
file selection pull down)? There are significant differences in the  
mapfiles and the tutorial map file has not been updated yet. Maplab may  
open some pre-4.0 maps, but preview can still run into problems  
rendering them unless they are converted first.

--
Zak James
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca


On Monday, September 29, 2003, at 01:58 PM, Raymond E. Flanery, Jr.  
wrote:

> If I had any hair it would be pulled out by now! This should not be so
> difficult.
>
>
>
> 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)
>
>
>
> 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.
>
>
>
> 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=Content-Type content="text/html;
> charset=iso-8859-1"></HEAD>
>
> <BODY></BODY></HTML>
>
>
>
> 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 =
> BBOX=-2594561.3533333,- 
> 712631,3467361.3533333,3840000|SRS=|LAYERS=0,1,2,3,4,
> 5,8
>
> [Mon.Sep.29.2003.13:43:20] MapSession_R : saveState() done
>
>
>
> What is going wrong? I have run out of ideas for settings to change.
>
>
>
> Ray Flanery
>
>




This archive was generated by Pipermail.