tangxiaodao / gmapcatcher

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

Export error #388

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I need to export parts of an area in png format and I have the following 
result:

[IMG]http://i44.tinypic.com/2wdnall.png[/IMG]

I tried to resize, zoom, OS (Win7 x64, WinXP x86, Ubuntu x64) and not only have 
I had the results discussed above. Under Win7 x64 gave me the following error:

Traceback (most recent call last):
   File "maps.py", line 887, in expose_cb
   File "GMapCatcher \ mapDownloader.pyc", line 186, in query_region_around_point
   File "GMapCatcher \ mapDownloader.pyc", line 174, in query_region
   File "GMapCatcher \ mapDownloader.pyc", line 149, in query_tile
   File "GMapCatcher \ gtkThread.pyc", line 41, in cb
   File "maps.py", line 944, in tile_received
   File "GMapCatcher \ mapServices.pyc", line 225, in load_pixbuf
   File "GMapCatcher \ tilesRepo \ tilesRepoFS.pyc", line 51, in load_pixbuf
   File "GMapCatcher \ lrucache.pyc", line 155, in __ getitem__
RuntimeError: During iteration list size changed
Traceback (most recent call last):
   File "maps.py", line 887, in expose_cb
   File "GMapCatcher \ mapDownloader.pyc", line 186, in query_region_around_point
   File "GMapCatcher \ mapDownloader.pyc", line 174, in query_region
   File "GMapCatcher \ mapDownloader.pyc", line 149, in query_tile
   File "GMapCatcher \ gtkThread.pyc", line 41, in cb
   File "maps.py", line 944, in tile_received
   File "GMapCatcher \ mapServices.pyc", line 225, in load_pixbuf
   File "GMapCatcher \ tilesRepo \ tilesRepoFS.pyc", line 51, in load_pixbuf
   File "GMapCatcher \ lrucache.pyc", line 155, in __ getitem__
RuntimeError: During iteration list size changed
Traceback (most recent call last):
   File "maps.py", line 813, in da_click_events
TypeError: 'NoneType' object has no attribute '__getitem__'

Original issue reported on code.google.com by joepli...@gmail.com on 24 Jul 2013 at 5:46

Attachments:

GoogleCodeExporter commented 9 years ago
I think you are trying to export a hybrid map, that is a bug we have not fixed.
try with a non-hybrid map a let me know.

Original comment by heldersepu on 24 Jul 2013 at 5:57

GoogleCodeExporter commented 9 years ago
Hi, I tested with the three possible maps (hybrid, terrain and street) offering 
the program. I tried with different OS and sizes. Only in Win7 x64 tells me an 
error in the file "map.exe.log".

Any file you want to send you just let me know.

Original comment by joepli...@gmail.com on 24 Jul 2013 at 6:50

GoogleCodeExporter commented 9 years ago
Strange I can export just fine, on my PC win7 x64 as well, but I do have Python 
installed.
If you want you can try installing the Python requirements: 
http://code.google.com/p/gmapcatcher/wiki/devEnv

will test on a different PC let's see what I get

Original comment by heldersepu on 24 Jul 2013 at 7:31

GoogleCodeExporter commented 9 years ago
I just notice that you tested also under Ubuntu, that is troubling because it 
should have everything already, will test in a few.

Original comment by heldersepu on 24 Jul 2013 at 11:17

GoogleCodeExporter commented 9 years ago
I was able to replicate error under Ubuntu, let's see if I can figure out what 
is causing it.

Original comment by heldersepu on 24 Jul 2013 at 11:33

GoogleCodeExporter commented 9 years ago
Judging by the error "RuntimeError: During iteration list size changed", it 
might be a problem related to threading, once again :P

Original comment by kipenros...@gmail.com on 25 Jul 2013 at 4:51

GoogleCodeExporter commented 9 years ago
...and I do not get any RuntimeError under ubuntu

Original comment by heldersepu on 7 Aug 2013 at 5:02

GoogleCodeExporter commented 9 years ago
Issue 389 has been merged into this issue.

Original comment by heldersepu on 7 Aug 2013 at 5:04

GoogleCodeExporter commented 9 years ago
I added mode to the export, and it fixes the issue for me, I set it to use RGB 
under windows an RGBA under Linux.
See r1597 for details

Original comment by heldersepu on 17 Aug 2013 at 5:03

GoogleCodeExporter commented 9 years ago

Original comment by heldersepu on 31 Dec 2014 at 1:51

GoogleCodeExporter commented 9 years ago
Cheked with Mint 17 (Base equal Ubuntu) x64 - does't fix!

Original comment by thwto...@freemail.inetservice.org on 31 Dec 2014 at 3:25

Attachments: