Closed GoogleCodeExporter closed 8 years ago
Could you attach some console output below? Is there any tile GMapCatcher tried
to
fetch but failed?
I suggest you to try
http://mt1.google.com/vt/lyrs=m@118&hl=en&x=0&y=0&z=1
using your browser. If you get a map tile, your network connection should be
okay.
Original comment by pi3or...@gmail.com
on 26 Feb 2010 at 9:13
Sorry to hear Doc, but I'm OK I just tested all 3 types (Map, Satellite,
Terrain) and
they are downloading fine.
You could also try changing the Map service see if you can get tiles from Yahoo
and
OpenStreetMap, in that way we can narrow down your issue.
- If you can not download tiles from any Map service is definitely something in
your
PC, firewall maybe?
- If this is a Google only issue and you can get to the URL that pi3orama
suggested
then we have a problem.
Hope that helps!
Original comment by heldersepu
on 26 Feb 2010 at 12:52
Hi, thanks for your help. I just tried with Streetmaps with the same result. I
tested
pi3orama's link above and it worked. I ran GMapCatcher from the command line
and when
I expected it to download a new map it didn't print anything to the terminal. I
just
noticed that it crashes each time I try and close it after it failed to
download. It
has always crashed (sorry I should have said before) if I close the main window
and a
download window is already open. Perhaps when I have forced it to quit one time
some
index file was corrupted? because installing the latest version didn't help...
Original comment by cjre...@gmail.com
on 26 Feb 2010 at 4:07
Just noticed this was printed to my terminal when I killed it:
cjreeve@onyx:~/.googlemaps/GMapCatcher$ maps.py
download failed - <class 'urllib2.URLError'>
download failed - <class 'urllib2.URLError'>
download failed - <class 'urllib2.URLError'>
download failed - <class 'urllib2.URLError'>
Killed
Original comment by cjre...@gmail.com
on 26 Feb 2010 at 4:09
Ufff, that does not look good, no no, something is wrong and I do not know what
is
going on, I will try some testing in Linux, to see if I can replicate.
Original comment by heldersepu
on 26 Feb 2010 at 5:14
I just tried using a backup of my image files and program and it does not fix
the
problem. I think it must be something that has changed with my system or are
there
any other configuration files outside of .googlemaps and the software directory
that
GMapCatcher uses?
Original comment by cjre...@gmail.com
on 27 Feb 2010 at 2:41
I have never seen this problem before, too.
I suggest you to do some hack on mapServers/googleMaps.py --
layer_url_template(), I
suspect this line:
oa = openanything.fetch(
'http://maps.google.com/maps?t=' + map_server_query[layer])
Could you add some print statements before and after it and report the output?
Original comment by pi3or...@gmail.com
on 27 Feb 2010 at 2:53
I entered these print statements:
def layer_url_template(layer):
if layer not in known_layers:
map_server_query = ["", "h", "p"]
layers_name = ["m", "s", "t"]
print "hi 1"
print oa
oa = openanything.fetch(
'http://maps.google.com/maps?t=' + map_server_query[layer])
print "hi 2"
print oa
and when I tried to download some maps it printed out the following:
hi 1
download failed - <type 'exceptions.UnboundLocalError'>
hi 1
download failed - <type 'exceptions.UnboundLocalError'>
hi 1
download failed - <type 'exceptions.UnboundLocalError'>
Any use?
Original comment by cjre...@gmail.com
on 27 Feb 2010 at 12:18
Then you need to hack into openanything.py. The code is taken from other place,
I
don't know much about it, and I have never seen this problem before.
I suggest you to do following things:
1. add 'import traceback' in tilesRepoFS.py;
2. after the line of
print '\tdownload failed -', sys.exc_info()[0]
add another line:
traceback.print_tb(sys.exc_info()[2])
and then report the exception traceback here.
Original comment by pi3or...@gmail.com
on 28 Feb 2010 at 9:25
I tried that and found that it was getting stuck when it was checking is there
was an
internet connection, to which it thought there was none. I eventually found
that when
I used my laptop behind a proxy three weeks ago I must have set the proxy
settings
globally but only changed them locally. So although my browsers worked, for some
reason GMapCatcher was still using the proxy settings.
Sorry for wasting your time, but thanks for your help. I probably would not
have got
it going without your suggestions of hacking into the code. :)
C
Original comment by cjre...@gmail.com
on 2 Mar 2010 at 8:58
Great! I'm glad you are "back online" I'm setting the status to "Done"
Original comment by heldersepu
on 2 Mar 2010 at 1:06
Original issue reported on code.google.com by
cjre...@gmail.com
on 26 Feb 2010 at 8:29