eliemichel / LilySurfaceScraper

Import shaders end environments in Blender from a single URL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HDRI importer not working

adfljalf opened this issue · comments

Start with a clear and concise description of what the bug is, then provide:
The problem is rather simple: when i try to import an HDRI it just shows me an error screen. I will attach what it reads at the end.

URL:
None of them work. Neither HDRI Haven, nor 3DAssets.one. This is the most recent one i tested:
https://hdrihaven.com/hdri/?c=outdoor&h=snowy_hillside

Version:
I thought this might have to do with me running an older Version, but i updated to 1.6.2 and it is still here.

I also tested this in several Blender Versions:
2.91, 2.92 and the 2.93.0 alpha

I am running this on MacOS version 10.15.6 on a Hackintosh with the following specs:
3,6 GHz 8-Core Intel Core i9
32 GB 3200 MHz DDR4
Radeon RX 5500 XT 8 GB

Below is the Error that i got. I have no idea abut what any of this means, but maybe it helps you. Thank you for giving this amazing plugin to us. I am very grateful even if you cannot fix the issue.

Python: Traceback (most recent call last):
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/site-packages/urllib3/connection.py", line 160, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/site-packages/urllib3/util/connection.py", line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/socket.py", line 752, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen
chunked=chunked,
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/site-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/site-packages/urllib3/connectionpool.py", line 976, in _validate_conn
conn.connect()
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/site-packages/urllib3/connection.py", line 308, in connect
conn = self._new_conn()
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/site-packages/urllib3/connection.py", line 172, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x12b0fa9d0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/site-packages/urllib3/connectionpool.py", line 725, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/site-packages/urllib3/util/retry.py", line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hdrihaven.comhttps', port=443): Max retries exceeded with url: //download.polyhaven.com/HDRIs/1k/snowy_hillside_1k.exr (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x12b0fa9d0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/boris/Library/Application Support/Blender/2.93/scripts/addons/LilySurfaceScraper-master/blender/LilySurfaceScraper/frontend.py", line 306, in execute

File "/Users/boris/Library/Application Support/Blender/2.93/scripts/addons/LilySurfaceScraper-master/blender/LilySurfaceScraper/ScrapedData.py", line 70, in selectVariant
if not self._scraper.fetchVariant(variant_index, self):
File "/Users/boris/Library/Application Support/Blender/2.93/scripts/addons/LilySurfaceScraper-master/blender/LilySurfaceScraper/Scrapers/HdriHavenScraper.py", line 90, in fetchVariant
if url.startswith("//"):
File "/Users/boris/Library/Application Support/Blender/2.93/scripts/addons/LilySurfaceScraper-master/blender/LilySurfaceScraper/Scrapers/AbstractScraper.py", line 123, in fetchImage
r = requests.get(url, stream=True, headers=headers)
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/site-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/Applications/Blender 2.93.app/Contents/Resources/2.93/python/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='hdrihaven.comhttps', port=443): Max retries exceeded with url: //download.polyhaven.com/HDRIs/1k/snowy_hillside_1k.exr (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x12b0fa9d0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))

location: :-1

Yes the error message is helpful thanks for providing it.

I may have found the issue, but could not reproduce myself so am a bit operating in the dark. Could you try this new version of the addon? https://github.com/eliemichel/LilySurfaceScraper/releases/v1.7.0