This isn’t the previous error regarding dropping an S from the request URL as I checked the python to make sure that was correct and it was. Below is the error I am getting:
addonsBlenderGIS-masteroperatorsio_get_srtm.py», line 112, in execute
log.error(‘Http request fails url:{}, code:{}, error:{}’.format(url, err.cod
e, err.reason))
AttributeError: ‘URLError’ object has no attribute ‘code’location: :-1
location: :-1
Traceback (most recent call last):
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 1317, in do_open
encode_chunked=req.has_header(‘Transfer-encoding’))
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 1244, in request
self._send_request(method, url, body, headers, encode_chunked)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 1290, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 1239, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 1026, in _send_output
self.send(msg)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 966, in send
self.connect()
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 938, in connect
(self.host,self.port), self.timeout, self.source_address)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibsocket.py», line 727, in create_connection
raise err
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibsocket.py», line 716, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] A connection attempt failed because the connected
party did not properly respond after a period of time, or established connectio
n failed because connected host has failed to respondDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File «C:UsersstrandsAppDataRoamingBlender FoundationBlender2.81scripts
addonsBlenderGIS-masteroperatorsio_get_srtm.py», line 108, in execute
with urlopen(rq) as response, open(filePath, ‘wb’) as outFile:
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 222, in urlopen
return opener.open(url, data, timeout)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 531, in open
response = meth(req, response)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 641, in http_response
‘http’, request, response, code, msg, hdrs)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 563, in error
result = self._call_chain(*args)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 503, in _call_chain
result = func(*args)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 755, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 525, in open
response = self._open(req, data)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 543, in _open
‘_open’, req)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 503, in _call_chain
result = func(*args)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 1345, in http_open
return self.do_open(http.client.HTTPConnection, req)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 1319, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [WinError 10060] A connection attempt fail
ed because the connected party did not properly respond after a period of time,
or established connection failed because connected host has failed to respond>During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File «C:UsersstrandsAppDataRoamingBlender FoundationBlender2.81scripts
addonsBlenderGIS-masteroperatorsio_get_srtm.py», line 43, in invoke
return self.execute(context)#context.window_manager.invoke_props_dialog(self
)
File «C:UsersstrandsAppDataRoamingBlender FoundationBlender2.81scripts
addonsBlenderGIS-masteroperatorsio_get_srtm.py», line 112, in execute
log.error(‘Http request fails url:{}, code:{}, error:{}’.format(url, err.cod
e, err.reason))
AttributeError: ‘URLError’ object has no attribute ‘code’location: :-1
location: :-1
Traceback (most recent call last):
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 1317, in do_open
encode_chunked=req.has_header(‘Transfer-encoding’))
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 1244, in request
self._send_request(method, url, body, headers, encode_chunked)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 1290, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 1239, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 1026, in _send_output
self.send(msg)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 966, in send
self.connect()
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 938, in connect
(self.host,self.port), self.timeout, self.source_address)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibsocket.py», line 727, in create_connection
raise err
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibsocket.py», line 716, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] A connection attempt failed because the connected
party did not properly respond after a period of time, or established connectio
n failed because connected host has failed to respondDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File «C:UsersstrandsAppDataRoamingBlender FoundationBlender2.81scripts
addonsBlenderGIS-masteroperatorsio_get_srtm.py», line 108, in execute
with urlopen(rq) as response, open(filePath, ‘wb’) as outFile:
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 222, in urlopen
return opener.open(url, data, timeout)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 531, in open
response = meth(req, response)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 641, in http_response
‘http’, request, response, code, msg, hdrs)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 563, in error
result = self._call_chain(*args)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 503, in _call_chain
result = func(*args)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 755, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 525, in open
response = self._open(req, data)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 543, in _open
‘_open’, req)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 503, in _call_chain
result = func(*args)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 1345, in http_open
return self.do_open(http.client.HTTPConnection, req)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 1319, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [WinError 10060] A connection attempt fail
ed because the connected party did not properly respond after a period of time,
or established connection failed because connected host has failed to respond>During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File «C:UsersstrandsAppDataRoamingBlender FoundationBlender2.81scripts
addonsBlenderGIS-masteroperatorsio_get_srtm.py», line 43, in invoke
return self.execute(context)#context.window_manager.invoke_props_dialog(self
)
File «C:UsersstrandsAppDataRoamingBlender FoundationBlender2.81scripts
addonsBlenderGIS-masteroperatorsio_get_srtm.py», line 112, in execute
log.error(‘Http request fails url:{}, code:{}, error:{}’.format(url, err.cod
e, err.reason))
AttributeError: ‘URLError’ object has no attribute ‘code’location: :-1
location: :-1
Traceback (most recent call last):
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 1317, in do_open
encode_chunked=req.has_header(‘Transfer-encoding’))
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 1244, in request
self._send_request(method, url, body, headers, encode_chunked)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 1290, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 1239, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 1026, in _send_output
self.send(msg)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 966, in send
self.connect()
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibhttpclient.py», line 938, in connect
(self.host,self.port), self.timeout, self.source_address)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibsocket.py», line 727, in create_connection
raise err
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonlibsocket.py», line 716, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] A connection attempt failed because the connected
party did not properly respond after a period of time, or established connectio
n failed because connected host has failed to respondDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File «C:UsersstrandsAppDataRoamingBlender FoundationBlender2.81scripts
addonsBlenderGIS-masteroperatorsio_get_srtm.py», line 108, in execute
with urlopen(rq) as response, open(filePath, ‘wb’) as outFile:
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 222, in urlopen
return opener.open(url, data, timeout)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 531, in open
response = meth(req, response)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 641, in http_response
‘http’, request, response, code, msg, hdrs)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 563, in error
result = self._call_chain(*args)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 503, in _call_chain
result = func(*args)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 755, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 525, in open
response = self._open(req, data)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 543, in _open
‘_open’, req)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 503, in _call_chain
result = func(*args)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 1345, in http_open
return self.do_open(http.client.HTTPConnection, req)
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81pythonliburllibrequest.py», line 1319, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [WinError 10060] A connection attempt fail
ed because the connected party did not properly respond after a period of time,
or established connection failed because connected host has failed to respond>During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File «C:UsersstrandsAppDataRoamingBlender FoundationBlender2.81scripts
addonsBlenderGIS-masteroperatorsio_get_srtm.py», line 43, in invoke
return self.execute(context)#context.window_manager.invoke_props_dialog(self
)
File «C:UsersstrandsAppDataRoamingBlender FoundationBlender2.81scripts
addonsBlenderGIS-masteroperatorsio_get_srtm.py», line 112, in execute
log.error(‘Http request fails url:{}, code:{}, error:{}’.format(url, err.cod
e, err.reason))
AttributeError: ‘URLError’ object has no attribute ‘code’location: :-1
location: :-1
Traceback (most recent call last):
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81scriptsmodulesbpy_types.py», line 736, in draw_ls
def draw_ls(self, context):
KeyboardInterruptlocation: :-1
location: :-1
Traceback (most recent call last):
File «C:Program FilesBlender Foundationblender-2.81-8f55794c0e80-windows64
2.81scriptsstartupbl_uispace_statusbar.py», line 26, in draw
def draw(self, context):
KeyboardInterruptlocation: :-1
location: :-1
$begingroup$
Hey I’m running Blender 3.0 and every time I try to get the elevation Data from the Website it shows me this Error: «Cannot reach OpenTopography Webservice, check logs for more Infos».
So if i look into the logs it only says multiple times: «2022-02-20 22:21:36,228 — BlenderGIS-master.core.basemaps.mapservice — ERROR — Can’t download tile x136283 y87646. Error <urlopen error [Errno 11001] getaddrinfo failed>» and then «2022-02-20 22:26:25,578 — BlenderGIS-master.operators.io_get_dem — ERROR — Http request fails url:https://portal.opentopography.org/API/globaldem?demtype=SRTMGL1&west=7.144606444922421&east=7.167832519360552&south=51.089448021248955&north=51.100347790999045&outputFormat=GTiff, code:401, error:401». Does anyone know what I’m doing wrong? In another post someone said that i need an API Key. Can someone tell me how to add this key into the addon?
asked Feb 20, 2022 at 21:36
FreddyFreddy
111 silver badge2 bronze badges
$endgroup$
3
$begingroup$
- Get an API Key by creating an account with opentopography.org
- In Blender on the GIS tab click «Preferences» then «Add-ons»
- Find the «Elevation server:» Use drop-down menu and select «OpenTopography SRTM 30m» Click «Edit.»
- In the «url template» add «&API_Key=[your key number]» at the end of the existing url.
- Click Ok
You can do this for both the OpenTopography SRTM 30m & SRTM 90m
answered Mar 2, 2022 at 18:36
![]()
$endgroup$
You must log in to answer this question.
Not the answer you’re looking for? Browse other questions tagged
.
Not the answer you’re looking for? Browse other questions tagged
.
$begingroup$
I am using blender 2.90. I installed the BlenderGIS add-on and tried using it. The Basemap function works fine bht when i try to use Get_STRM, i get the following:
RuntimeError: Error, Unable to open raster.
Please help me ASAP. 
- python
- error
asked Sep 14, 2020 at 21:26
![]()
$endgroup$
2
-
$begingroup$
Also please copy the output from the console and paste here as a text block. Mobile phone images of screens can be difficult to read on some monitors.
$endgroup$Sep 15, 2020 at 7:09
You must log in to answer this question.
Loading
Перейти к контенту
$begingroup$
Hey I’m running Blender 3.0 and every time I try to get the elevation Data from the Website it shows me this Error: «Cannot reach OpenTopography Webservice, check logs for more Infos».
So if i look into the logs it only says multiple times: «2022-02-20 22:21:36,228 — BlenderGIS-master.core.basemaps.mapservice — ERROR — Can’t download tile x136283 y87646. Error <urlopen error [Errno 11001] getaddrinfo failed>» and then «2022-02-20 22:26:25,578 — BlenderGIS-master.operators.io_get_dem — ERROR — Http request fails url:https://portal.opentopography.org/API/globaldem?demtype=SRTMGL1&west=7.144606444922421&east=7.167832519360552&south=51.089448021248955&north=51.100347790999045&outputFormat=GTiff, code:401, error:401». Does anyone know what I’m doing wrong? In another post someone said that i need an API Key. Can someone tell me how to add this key into the addon?
asked Feb 20, 2022 at 21:36
FreddyFreddy
111 silver badge2 bronze badges
$endgroup$
3
$begingroup$
- Get an API Key by creating an account with opentopography.org
- In Blender on the GIS tab click «Preferences» then «Add-ons»
- Find the «Elevation server:» Use drop-down menu and select «OpenTopography SRTM 30m» Click «Edit.»
- In the «url template» add «&API_Key=[your key number]» at the end of the existing url.
- Click Ok
You can do this for both the OpenTopography SRTM 30m & SRTM 90m
answered Mar 2, 2022 at 18:36
![]()
$endgroup$
We recently looked at how to create landscapes with the blender GIS addon. The tool helped us to fetch real world data from GIS databases and design decent georeferenced landscapes like a dream.
However, it came with few bugs which, thankfully, aren’t too complicated to crack. The first one is a missing cache folder while the second has to do with missing Imageio library.
Blender GIS missing cache folder
The missing cache error appears when you try to get your basemaps. Technically, this is the software telling you to set a file location for packing temporary files.

To solve it, head over to the Blender GIS icon and select preferences. Scroll down to the base maps section and select the folder you want to use as your cache.
Blender GIS Imageio module/ no imaging library available
The imageio module error shows up because some installation files are missing from the addon directory. I solved this problem by replacing files in that directory.

Begin by unzipping the archived addon files that you downloaded from Github. Then copy and paste them in the Blender-Master addon folder.
In windows 10, the Blender-Master addon folder path is C:Program FilesBlender FoundationBlender 2.832.83scriptsaddons.

You may have to create the folder yourself if it does not exist. If it exists, just replace the installation files to fix the problem.
Use the comments section in case of any tips or questions.
Good luck!
Author: Victor WachangaWriter, 3D artist, and thinker. Tech is fascinating. Tech is scary
Recommend Projects
-

React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-

Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
System Information
Operating system: Windows 11
Graphics card:
NVIDIA GeForce RTX 3060
Blender Version
Broken: Blender 3.0
Short description of error
Blender GIS add on Cannot reach OpenTopography web service, even after adding API key. I have attempted to edit remote data source for elevation with the &api_key= modification
Exact steps for others to reproduce the error
GIS> web geodata>Create Basemap >get elevation (srtm)> Error- Cannot reach Opentopography web service.
**System Information**
Operating system: Windows 11
Graphics card:
NVIDIA GeForce RTX 3060
**Blender Version**
Broken: Blender 3.0
**Short description of error**
Blender GIS add on Cannot reach OpenTopography web service, even after adding API key. I have attempted to edit remote data source for elevation with the &api_key= modification
**Exact steps for others to reproduce the error**
GIS> web geodata>Create Basemap >get elevation (srtm)> Error- Cannot reach Opentopography web service.
