domlysz / BlenderGIS

Blender addons to make the bridge between Blender and geographic data
GNU General Public License v3.0
7.8k stars 1.36k forks source link

Basemap doesn't load, Blender sorta freezes #517

Open BansheeSquad opened 3 years ago

BansheeSquad commented 3 years ago

Blender and OS versions

Blender 2.93.1 Windows 10

Describe the bug

When I go to select the basemap, Blender changes to the top view but freezes the click and select functions. The cursor position is still being actively tracked, and the window buttons still work (minimize, close). The top view is blank, there is no map. However the G key command does bring up the map/search function. I can select a field and enter a location and click OK but nothing seems to happen. Ah! I've discovered that the esc button will release the cursor and I can interface the UI again, which means I can provide the log info.

How to Reproduce

Run Blender > Pull down GIS menu > Web geodata > Basemap > I've been trying "Google" and "Satellite" > OK

Error message

ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init.py", line 117, in run_with_except_hook run_original(*args2, kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(*self._args, *self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (7376706.894084645, 3821104.6439458057, 8144134.658067815, 4238145.070269727) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(args2, kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(*self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (7376706.896775795, 3821104.643609412, 8144134.660758965, 4238145.069933333) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(*args2, *kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (7376706.89812137, 3821104.641927451, 8144134.66210454, 4238145.068251372) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(*args2, *kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (7376706.898794157, 3821104.642600231, 8144134.662777327, 4238145.068924152) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(*args2, *kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (7376706.894421054, 3821104.643609412, 8144134.658404224, 4238145.069933333) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(*args2, *kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file INFO:BlenderGIS-master:92:###### Starting new Blender session : 2021-07-27 12:31:33 DEBUG:BlenderGIS-master.core.checkdeps:9:GDAL Python binding unavailable DEBUG:BlenderGIS-master.core.checkdeps:20:PyProj unavailable DEBUG:BlenderGIS-master.core.checkdeps:31:Pillow unavailable DEBUG:BlenderGIS-master.core.checkdeps:46:ImageIO Freeimage plugin available INFO:BlenderGIS-master:92:###### Starting new Blender session : 2021-07-27 12:32:39 DEBUG:BlenderGIS-master.core.checkdeps:9:GDAL Python binding unavailable DEBUG:BlenderGIS-master.core.checkdeps:20:PyProj unavailable DEBUG:BlenderGIS-master.core.checkdeps:31:Pillow unavailable DEBUG:BlenderGIS-master.core.checkdeps:46:ImageIO Freeimage plugin available DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (-98230753.7898457, -53381174.56946197, 98230753.7898457, 53381174.56946197) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(*args2, *kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (-98230753.7898457, -53381174.56946197, 98230753.7898457, 53381174.56946197) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(*args2, *kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file DEBUG:BlenderGIS-master.operators.lib.osm.nominatim:27:Nominatim search request : https://nominatim.openstreetmap.org/search?format=json&q=Afghanistan&limit=10 DEBUG:BlenderGIS-master.operators.view3d_mapviewer:1013:Nominatim search results : ['افغانستان', 'أفغانستان, دبي, الإمارات العربية المتحدة', 'Afghanistan, Aeropark, Don Bosco, Parañaque, Southern Manila District, Metro Manila, 1711, Philippines', 'Afghanistan, Passage Dudouy, Quartier Saint-Ambroise, Paris 11e Arrondissement, Paris, Île-de-France, France métropolitaine, 75011, France', 'En Afghanistan, Rue Fritz Kiener, Krutenau, Strasbourg, Bas-Rhin, Grand Est, France métropolitaine, 67000, France', 'Embassy of Afghanistan, 4/4, Garaşsyzlyk (1986) şaýoly, Köpetdag etraby, Aşgabat, 744022, Türkmenistan'] DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (-90857116.15159453, -49383481.22576833, 105604391.42809688, 57378867.913155615) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(*args2, *kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (-90857116.15159453, -49383481.22576833, 105604391.42809688, 57378867.913155615) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(*args2, *kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (-90857116.08968069, -49383481.16385442, 105604391.49001072, 57378867.97506952) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(*args2, *kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (-90857115.2228861, -49383482.52596027, 105604392.35680531, 57378866.61296368) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(*args2, *kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (-90857115.2228861, -49383482.52596027, 105604392.35680531, 57378866.61296368) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(*args2, *kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file DEBUG:BlenderGIS-master.operators.lib.osm.nominatim:27:Nominatim search request : https://nominatim.openstreetmap.org/search?format=json&q=&limit=10 DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (-90857115.2228861, -49383482.52596027, 105604392.35680531, 57378866.61296368) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(*args2, *kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (-90857115.20224823, -49383482.54659824, 105604392.37744318, 57378866.5923257) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(*args2, *kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (-90857115.20224823, -49383482.54659824, 105604392.37744318, 57378866.5923257) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(*args2, *kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file DEBUG:BlenderGIS-master.operators.view3d_mapviewer:201:Bounding box request : (-90857115.20224823, -49383482.54659824, 105604392.37744318, 57378866.5923257) ERROR:BlenderGIS-master:96:Uncaught exception Traceback (most recent call last): File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master__init__.py", line 117, in run_with_except_hook run_original(*args2, *kwargs2) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\lib\threading.py", line 892, in run self._target(self._args, **self._kwargs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 155, in run self.mosaic = self.request() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 211, in request mosaic = self.srv.getImage(self.laykey, bbox, self.zoom, toDstGrid=toDstGrid, outCRS=self.crs) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 830, in getImage self.seedCache(laykey, bbox, zoom, toDstGrid=toDstGrid, nbThread=nbThread, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 799, in seedCache self.seedTiles(laykey, rq.tiles, toDstGrid=toDstGrid, nbThread=10, buffSize=5000) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 722, in seedTiles cache = self.getCache(laykey, toDstGrid) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 476, in getCache self.caches[mapKey] = GeoPackage(dbPath, tm) File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 53, in init__ self.create() File "C:\Users\billy\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlenderGIS-master\core\basemaps\gpkg.py", line 91, in create db = sqlite3.connect(self.dbPath) #this attempt will create a new file if not exist sqlite3.OperationalError: unable to open database file

ddiogo22 commented 3 years ago

Having the exact same issue. Haven't been able to try out the add-on since I installed it. I'm on an M1 Mac, running Big Sur and Blender 2.93.1.

BansheeSquad commented 3 years ago

Having the exact same issue. Haven't been able to try out the add-on since I installed it. I'm on an M1 Mac, running Big Sur and Blender 2.93.1.

I was never able to make GIS work, but I have had success with Google Map Model Importer.

https://github.com/eliemichel/MapsModelsImporter

https://www.youtube.com/watch?v=X6Q7dbtXVZQ