Error with KML file

alanburke - March 16, 2007 - 20:05
Project:Google Earth
Version:5.x-5.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:bonvga
Status:closed
Description

First up, great Module! Can't wait to get it working.

I have managed to get the KML file generated, but Google Earth is throwing an error when I try to launch it.

Open of File "..path/to/file/ google_earth.kml" failed. Parse errorm at line 39981, column 0: no element found"

Here is what the last few lines of the KML looks like
the line mentioned is at the end of the file..

     </Icon>
    </IconStyle>
    <LabelStyle>
      <scale>1.0000577975</scale>
    </LabelStyle>
  </Style>
    <Point>
      <coordinates>-72.6835,41.769,0</coordinates>
    </Point>
  </Placemark>

Using version of the Module for Drupal 5.
Google Earth version
4.0.2737.

Alan

#1

yhager - May 10, 2007 - 05:18
Status:active» needs review

The attached patch fixes this

AttachmentSize
google_earth.128496.patch 310 bytes

#2

yhager - May 10, 2007 - 07:42
Status:needs review» active

I am sorry, my previous patch was a mistake.

It does fix the generated file to be a valid kml file, but it destroys the downloaded file through http:///?q=google_earth.

The link above should generate a valid kml.

#3

bonvga - May 10, 2007 - 22:22
Assigned to:Anonymous» bonvga
Status:active» postponed (maintainer needs more info)

Hi,

I've fixed a lot of thing on the next release (http://drupal.org/cvs?commit=67109)

Could you do another test with this release ?

Thank's again.

#4

alanburke - May 11, 2007 - 22:46

Great Work,
The Module now works!

I'll follow up on my promise to provide some better docs, if desired, shortly

Alan

#5

alanburke - May 11, 2007 - 22:53
Status:postponed (maintainer needs more info)» fixed

Changing status, original error now fixed

#6

Anonymous - May 25, 2007 - 23:01
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.