Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urllib.error.HTTPError: HTTP Error 500: Internal Server Error #13

Open
pufffish opened this issue Mar 5, 2024 · 0 comments
Open

urllib.error.HTTPError: HTTP Error 500: Internal Server Error #13

pufffish opened this issue Mar 5, 2024 · 0 comments

Comments

@pufffish
Copy link

pufffish commented Mar 5, 2024

config.yml:
url: https://inspire-hessen.de/ows/services/org.2.dd63cf0f-cf8a-4a69-be4c-b5c056b8528b_wfs
layer: cp:CadastralParcel

bbox:
west: 777247.0
south: 4939527.0
east: 1023641.0
north: 5165779.0

size: 10000
outputfile: flurstck_hessen.xml
projection: EPSG:25832
tmpdir: C:/Users/user/Programmieren/Pycharm

I'll get the following error:

(venv) PS C:\Users\user\Programmieren\Pycharm> wfs-downloader config.yml

fetching C:/Users/user/Programmieren/Pycharm\flurstck_hessen_777247.0_4939527.0.xml
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\user\Programmieren\Pycharm\venv\Scripts\wfs-downloader.exe_main
.py", line 7, in
File "C:\Users\user\Programmieren\Pycharm\venv\Lib\site-packages\wfs_downloader\download.py", line 32, in main
download_files(config)
File "C:\Users\user\Programmieren\Pycharm\venv\Lib\site-packages\wfs_downloader\download.py", line 73, in download_files
urlretrieve(url, filename)
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 240, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 215, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\userAppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 521, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 630, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 559, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 492, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 639, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant