vanthieughita / gmapcatcher

Automatically exported from code.google.com/p/gmapcatcher
0 stars 0 forks source link

Kml file loading #124

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
 1. Launch gmapscatcher
 2.Press F4
 3.Choose kml file

What is the expected output? What do you see instead?
Expected: Some POI Markers
Nothing happened
I close gmapscatcher and I get an message saying to check the maps.exe.log 
file.
Inside I have:

C:\Program Files\GMapCatcher\library.zip\src\customWidgets.py:62: 
GtkWarning: Could not find the icon '"%1"'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
    http://icon-theme.freedesktop.org/releases
C:\Program Files\GMapCatcher\library.zip\src\customWidgets.py:62: 
GtkWarning: Could not find the icon '"C:\PROGRA~1\MICROS~2\OFFICE11
\POWERPNT.EXE",9'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
    http://icon-theme.freedesktop.org/releases

I tryied to solve this downloading hicolor-icon-theme-0.12.tar.gz

I look on the web but I didn't found any solution to install this package.

What version of the product are you using? On what operating system?
GMapCatcher-0.6.2.0
Windows XP Sp3

Please provide any additional information below.

Help would be apreciated

Thanks in advance
Franck

Original issue reported on code.google.com by franck.c...@club-internet.fr on 31 Jan 2010 at 1:02

GoogleCodeExporter commented 8 years ago
I made others tests, the message come after I press the F4 button before to try 
to 
import kml file.
I'm not sure if it's this error that made the kml import doesn't work.

Regards and congratulations for this fantastic tool you are developping!
Franck

Original comment by franck.c...@club-internet.fr on 31 Jan 2010 at 3:28

GoogleCodeExporter commented 8 years ago
Yes it seems that the dialog box that comes up when you press F4 can not draw 
some of 
the icons, but that should not prevent you form importing the markers from a 
KML 
file...

Original comment by heldersepu on 1 Feb 2010 at 2:38

GoogleCodeExporter commented 8 years ago
I was able to reproduce the "GtkWarning" bug attached is my log file, it seem 
that some 
icons are not displayed correctly in that widget

Original comment by heldersepu on 1 Feb 2010 at 2:42

Attachments:

GoogleCodeExporter commented 8 years ago
We have 2 issues here:

- GtkWarning: Could not find the icon
 this is something that I still do not know how to bypass

- Import KML file doesn't work
 The encoding of the attached file was crashing the XML parser:
http://docs.python.org/library/xml.dom.minidom.html
that could be a possible cause, I made a fix in r724

Original comment by heldersepu on 2 Feb 2010 at 2:51

Attachments:

GoogleCodeExporter commented 8 years ago
Good evening,
After many tests I confirm the problrm come from the Characters with accents 
(é,à,ü...).
If the kml file is located in a folder wich include a Characters with accents 
the 
impotation porcess is stopped
If insude the kml file the descrition name include an accent, the importation 
crash.

Regards

Original comment by franck.c...@club-internet.fr on 3 Feb 2010 at 5:42

GoogleCodeExporter commented 8 years ago
I added error handler for this cases, and a message will be displayed if it can 
not be 
parsed.

Original comment by heldersepu on 26 Feb 2010 at 5:01