ExifTool Forum

ExifTool => ExifTool GUI => Topic started by: hiviking on November 28, 2015, 02:20:16 PM

Title: Google Maps Script Error
Post by: hiviking on November 28, 2015, 02:20:16 PM
Hi Bogdan,

I have been using ExiftoolGUI to geotag my images for years without any problems. However, the last couple of days I get a script error that prevents me from geotagging and necessitates that I force the program to close with the Windows Task Manager, as the script error keeps coming up and prevents the program from doing anything. The error states that the script error is in line 0 of http://maps.google.com/maps-api-v3/api/js/23/1/onion.js.

I have been using version 5.10 of ExiftoolGUI, so I downloaded the latest version (5.16), but it has the same problem. I hope you can fix this problem quickly. I also suggest that the Javascript error handling should be updated, so that a Javascript error cannot prevent the program from functioning.

Thank you.
Title: Re: Google Maps Script Error
Post by: PDL on December 19, 2015, 04:08:41 PM
I am having the same issue running Windows 10 Pro x64 v1511 (OS Build 10586.36) and Windows Vista x83. I can get the mapping tool to work for a few seconds then nothing but error messages when I pass the mouse over the map.

I am running the latest version of ExifTool and ExifTool GUI on both systems. I thought that using the Edge browser as default could be an issue, so I changed my Windows 10 Pro box to use IE. Same problem, it is not a browser issue.

Please let us know when this issue is resolved, or if it will ever be resolved.
Please let the user decide on the mapping solution, Google, Bing, etc. so we can get back to geo locating images that are now decades old.

PDL
Title: Re: Google Maps Script Error
Post by: PDL on December 28, 2015, 08:17:13 PM
I do not have a Google account and I refuse to get one so I can not respond to the Google thread listed below.

https://code.google.com/p/gmaps-api-issues/issues/detail?id=9004

There seem to be some other applications showing the same error and this discussion throws a little light on what might be going on...

PDL
Title: Re: Google Maps Script Error
Post by: Tom Waugh on January 17, 2016, 11:15:21 AM
Yep. I am having the same problem. When I try to geotag an image or images, the programme would display a script and the only way to close the programme would be to use the Task manager.

I downloaded the newest versions of Exifgui and exifguitool and checked "enable internet access for Google map" then save settings.

Upon exiting the programme I get a message saying "cannot save gui settings"

Hope a fix can soon be found.
Title: Re: Google Maps Script Error
Post by: zyx_Ex on February 06, 2016, 04:04:28 AM
The first thing I noticed (Win 7) was that the pin locating the image on the map did not show up anymore. After some minutes, the error message appears and needs the killing by the task manager.
It is a great disadvantage if you depend on Google ...
Title: Re: Google Maps Script Error
Post by: almeidass on March 10, 2016, 04:08:13 PM
Hey Guys I have the same problem here and I discovered, at least at WIN7, that the error stops if you don't put the mouse cursor over the area map.

Try closing the error window and donĀ“t put the mouse over the map. You set the exact coordinates by searching the location in a google maps window in you prefered web browser and pasting it in the approppriate place in the "find:" text box inside ExifToolGui.

Then just click the button "Geotag Files". But be carefull not to put the mouse cursor over the map, otherwise you'll get the script error.
Title: Re: Google Maps Script Error
Post by: PDL on March 10, 2016, 05:32:42 PM
I tried the same thing, almeidass, but the locations do not come out the same. I tested both Google Maps and Bing Maps to extract the GPS Coordinates and entered the values into the ExifToolGui coordinate field and updated multiple files. I then loaded the images into my RAW converter of choice (Capture One Pro v9x) and clicked on the GPS location. Google Maps opened up in the right spot - er sort of. The coordinates are anywhere from a 100 meters off to several Kilometers. Your suggestion is a work around but in my opinion the best thing to do is use another program to geotag your images.

The base issue is with Google changing its Map API and ExifToolGui not getting updated. I realize that doing this would/could be a lot of work, however in the long run it would be beneficial to all.

This will most likely get me banned, but I use GeoSetter, a GUI tool that uses ExifTool as its base background engine.

PDL
Title: Re: Google Maps Script Error
Post by: Phil Harvey on March 11, 2016, 07:24:19 AM
Quote from: PDL on March 10, 2016, 05:32:42 PM
This will most likely get me banned, but I use GeoSetter,

You'll have to try a lot harder than that if you want to get banned. :P
Title: Re: Google Maps Script Error
Post by: zyx_Ex on March 27, 2016, 02:20:53 AM
> the error stops if you don't put the mouse cursor over the area map.

this does not work "around"
- the pin does not show
- the location may be in the center, but the map is too small - and in order to zoom in, I have to click '+' and so put the mouse in the map - with instantaneous 'script error'

I only recently had discovered ExifToolGUI as a quick convienient possibility to view the location of a photo ...
I don't want to geotag, only do "read only" actions. What are similar alternatives in freeware ?
Title: Re: Google Maps Script Error
Post by: StarGeek on March 27, 2016, 01:45:36 PM
Quote from: zyx_Ex on March 27, 2016, 02:20:53 AM
I only recently had discovered ExifToolGUI as a quick convienient possibility to view the location of a photo ...
I don't want to geotag, only do "read only" actions. What are similar alternatives in freeware ?

I can't think of any that would be read only.  Usually, programs which access gps locations are either editors or photo management.  But here's what I know off hand.

Geosetter (http://www.geosetter.de/en/)  Basically an Exiftool gui with emphasis on gps
Windows Photo Gallery (http://windows.microsoft.com/en-us/windows-live/photo-gallery), Photo management
Picasa (http://picasa.google.com/),  Photo management, going away soon
Digikam (https://www.digikam.org/), photo management
Irfanview (http://irfanview-forum.de), Will show in browser or google earth,
FastStone (http://www.faststone.org), I think this will show in browser or google earth, no built in gps viewer
Xnview (http://www.xnview.com/en/), Similar to FastStone, I think.

Google shows others, though it's hard to say how many will have built in viewer.  Linking to Google maps seems to be a standard in simple image viewers.
Title: Re: Google Maps Script Error
Post by: Alan Clifford on March 27, 2016, 03:30:51 PM
Quote from: zyx_Ex on March 27, 2016, 02:20:53 AM
I only recently had discovered ExifToolGUI as a quick convienient possibility to view the location of a photo ...
I don't want to geotag, only do "read only" actions. What are similar alternatives in freeware ?

Nikonview nx-i (http://downloadcenter.nikonimglib.com/en/download/sw/60.html) will show the location of photos on a map.
Title: Re: Google Maps Script Error
Post by: zyx_Ex on March 28, 2016, 12:43:24 PM
Geosetter - although five years old !! - does show the pin on the Google map, without any script error. It also reads the data from the .CR2 out of my Canon 6D (astonishing !).
- Irfanview / FastStone: I could not find the function
- Nikonview seems inaccessible to me

Thanks very much
Title: Re: Google Maps Script Error
Post by: StarGeek on March 28, 2016, 03:53:27 PM
Quote from: zyx_Ex on March 28, 2016, 12:43:24 PM
Geosetter - although five years old !! - does show the pin on the Google map, without any script error. It also reads the data from the .CR2 out of my Canon 6D (astonishing !).

It uses ExifTool for all the metadata stuff.  It's also pretty decent for just adding metadata.

Quote- Irfanview / FastStone: I could not find the function

I'm not sure about FastStone, but it's sorta hidden in Irfanview.  Image Menu -> Information -> Exif Info button.  Or hit I then E.  You'll then have these options:
(http://imgur.com/kjzSrV6.jpg)
Title: Re: Google Maps Script Error
Post by: zyx_Ex on March 29, 2016, 01:50:15 AM
Aha ...
It is not accessible from the Thumbnail view I always use, but only from the main image window. It works perfectly with OpenStreetMap and also with Google.
'Show in GeoHack-Wiki' is also great, I didn't know this one :-o)

Irfan Skiljan is generally very talented and very engaged. If there is any problem, you get an instant reply from him - also in German.
N.B., off-topic did you know there is also an OCR module hidden in IrfanView ?? (not for photos ...)
Title: Re: Google Maps Script Error
Post by: Heiko on March 29, 2016, 10:58:41 AM
StarGeek, just for you info:
GeoSetter is using ExifTool for writing metadata; for reading GeoSetter is using own code.
Title: Re: Google Maps Script Error
Post by: scharott on April 04, 2016, 05:47:29 PM
This isn't a similar problem of exiftoolGUI.
There is a discussion since some of months

https://code.google.com/p/gmaps-api-issues/issues/detail?id=9004

Maybe it will gone with the next update of googlemaps

Title: Re: Google Maps Script Error
Post by: dievidievi on April 09, 2016, 06:11:26 AM
Hi Bogdan,

... the script error keeps coming ... http://maps.google.com/maps-api-v3/api/js/24/6a/onion.js...

Perhaps I missed something in the forum but is this issue fixed or fixable by you Bogdan?
Is it a setting somewhere that I can configure by myself?

I'm using Windows7 and version 5.16 of ExiftoolGUI.

Thxs
dievidievi
Title: Re: Google Maps Script Error
Post by: RailFoto on April 23, 2016, 09:42:04 AM
I apply ExifToolGUI since a couple of years as the excellent standard tool to manipulate GPS data. But one day ago I couldn't show the marker in the Google at the position determined by the GPS data. If you know the right position then hovering with the mouse on it shows a field with the co-ordinates.
Looking inside the ExifToolGUI.exe by means of an hex editor shows the reason of the mismatch. The embedded JavaScript links to the markers in the Google Maps API that are dead! By the way the red colored Google Maps standard marker doesn't need a link.
A code snippet:
markerA = new google.maps.Marker({
           position: map.getCenter(),
           map: map,     
           draggable:true//,
           //icon:"http://google.com/mapfiles/ms/micons/red.png"
           });
I tested it and it works! The commented part could be deleted.

The easiest way to fix the problems could be to deliver the markers as *.png images and then to link them in the related JavaScript.
In the current state of ExifToolGUI I can't use it furthermore. Please make a change.

Bernd
Title: Re: Google Maps Script Error
Post by: psdich on May 22, 2016, 07:31:24 AM
Quote from: dievidievi on April 09, 2016, 06:11:26 AM
Hi Bogdan,

... the script error keeps coming ... http://maps.google.com/maps-api-v3/api/js/24/6a/onion.js...

Perhaps I missed something in the forum but is this issue fixed or fixable by you Bogdan?
Is it a setting somewhere that I can configure by myself?

I'm using Windows7 and version 5.16 of ExiftoolGUI.

Thxs
dievidievi
Quote from: RailFoto on April 23, 2016, 09:42:04 AM
I apply ExifToolGUI since a couple of years as the excellent standard tool to manipulate GPS data. But one day ago I couldn't show the marker in the Google at the position determined by the GPS data. If you know the right position then hovering with the mouse on it shows a field with the co-ordinates.
Looking inside the ExifToolGUI.exe by means of an hex editor shows the reason of the mismatch. The embedded JavaScript links to the markers in the Google Maps API that are dead! By the way the red colored Google Maps standard marker doesn't need a link.
A code snippet:
markerA = new google.maps.Marker({
           position: map.getCenter(),
           map: map,     
           draggable:true//,
           //icon:"http://google.com/mapfiles/ms/micons/red.png"
           });
I tested it and it works! The commented part could be deleted.

The easiest way to fix the problems could be to deliver the markers as *.png images and then to link them in the related JavaScript.
In the current state of ExifToolGUI I can't use it furthermore. Please make a change.

Bernd


hello
By this errors...
I fix binary file ExifToolGUI.exe. thanks to scharott for link https://code.google.com/p/gmaps-api-issues/issues/detail?id=9004 8)
Hope in next version this errors will be fixed ::)
Title: Re: Google Maps Script Error
Post by: RailFoto on May 22, 2016, 01:55:15 PM
Works well!
Thanks, Bernd
Title: Re: Google Maps Script Error
Post by: jacal on May 22, 2016, 07:29:51 PM
Thank you, very nice, especially since there might be no next version available.
Title: Re: Google Maps Script Error
Post by: Lenni on May 24, 2016, 02:58:27 PM
Psdich and Bernd,
Thank you a lot for searching the error and making the fix.
This is really great, got it working again.
I was afreid that ExifToolGUI will be dead because of this.
It is nice there are people helping us with this issue.
Thanks!
Lenni
Title: Re: Google Maps Script Error
Post by: kevinf on May 24, 2016, 07:43:36 PM
I, too, thank you guys psdich and Bernd. It's great to have this functionality back and working in my favorite tool.

Kevin
Title: Re: Google Maps Script Error
Post by: EDIflyer on January 08, 2017, 06:32:42 PM
Just registered so I could post a big thank you to RailFoto and psdich for fixing this error - fantastic :D
Title: Re: Google Maps Script Error
Post by: hiviking on October 15, 2017, 04:29:03 AM
A new script error has now appeared (using the ...fixGM version). For some time The Google Maps screen has displayed the message "You are using a browser that is not supported by the Google Maps JavaScript API. Consider changing your browser", but the map has worked anyway. Today, I get a new script error, stating that there is an error in http://maps.google.com/maps/api/js?sensor=false&region=EU, and the map no longer appears.

If you can fix this I would really appreciate it.

Thanks.