envirosolutionspl / pobieracz_danych_gugik

Wtyczka QGIS do pobierania danych przestrzennych z zasobów GUGiK
GNU General Public License v3.0
5 stars 1 forks source link

Nie pobiera danych - powiatowa paczka danych EGiB powiat plocki 1419 #69

Closed tomo324a closed 2 months ago

tomo324a commented 8 months ago

Dzień dobry.

Jak w tytule - wyskakuje komunikat The plugin pobieracz_danych_gugik caused QGIS to crash.

Please report this issue to the author of this plugin.

Raport Python Stack Trace Windows fatal exception: access violation

Thread 0x00004e80 (most recent call first): File "C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\ssl.py", line 1099 in read return self._sslobj.read(len, buffer) File "C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\ssl.py", line 1241 in recv_into return self.read(nbytes, buffer) File "C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\socket.py", line 704 in readinto return self._sock.recv_into(b) File "C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\http\client.py", line 268 in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\http\client.py", line 307 in begin version, status, reason = self._read_status() File "C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\http\client.py", line 1345 in getresponse response.begin() File "C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\site-packages\urllib3\connectionpool.py", line 421 in _make_request httplib_response = conn.getresponse() File "C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\site-packages\urllib3\connectionpool.py", line 670 in urlopen httplib_response = self._make_request( File "C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\site-packages\requests\adapters.py", line 439 in send resp = conn.urlopen( File "C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\site-packages\requests\sessions.py", line 643 in send r = adapter.send(request, kwargs) File "C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\site-packages\requests\sessions.py", line 530 in request resp = self.send(prep, send_kwargs) File "C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\site-packages\requests\api.py", line 61 in request return session.request(method=method, url=url, kwargs) File "C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\site-packages\requests\api.py", line 76 in get return request('get', url, params=params, kwargs) File "C:\Users/angel/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\pobieracz_danych_gugik\wfs\wfs_egib.py", line 16 in save_xml r = requests.get(url, verify=False) File "C:\Users/angel/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\pobieracz_danych_gugik\wfs\wfs_egib.py", line 40 in work_on_xml name_error = self.save_xml(folder, url, teryt) File "C:\Users/angel/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\pobieracz_danych_gugik\wfs\wfs_egib.py", line 85 in save_gml name_error, name_layers, prefix = self.work_on_xml(folder, url, teryt) File "C:\Users/angel/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\pobieracz_danych_gugik\wfs\wfs_egib.py", line 157 in egib_wfs name_error = self.save_gml(path, wfs, teryt) File "C:\Users/angel/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\pobieracz_danych_gugik\tasks\downloadWfsEgibTask.py", line 421 in run self.name_error = self.wfsEgib.egib_wfs(self.teryt, self.wfs, self.folder)

Current thread 0x00003860 (most recent call first): File "C:\Users/angel/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\pobieracz_danych_gugik\wfs\wfs_egib.py", line 46 in work_on_xml ns = etree.parse(folder + 'egib_wfs.xml') File "C:\Users/angel/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\pobieracz_danych_gugik\wfs\wfs_egib.py", line 85 in save_gml name_error, name_layers, prefix = self.work_on_xml(folder, url, teryt) File "C:\Users/angel/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\pobieracz_danych_gugik\wfs\wfs_egib.py", line 157 in egib_wfs name_error = self.save_gml(path, wfs, teryt) File "C:\Users/angel/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\pobieracz_danych_gugik\tasks\downloadWfsEgibTask.py", line 421 in run self.name_error = self.wfsEgib.egib_wfs(self.teryt, self.wfs, self.folder)

Thread 0x00005418 (most recent call first):

Stack Trace

RtlpWaitOnCriticalSection : RtlpEnterCriticalSectionContended : RtlEnterCriticalSection : xmlGetGlobalState : _xmlDefaultSAXHandler : xmlDefaultSAXHandlerInit : xmlInitParserCtxt : xmlNewParserCtxt : PyInit_etree : PyInit_etree : PyInit_etree : PyInit_etree : PyInit_etree : PyInit_etree : PyInit_etree : PyEval_EvalFrameDefault : PyEval_EvalFrameDefault : PyEval_EvalFrameDefault : PyEval_EvalFrameDefault : PyFunction_Vectorcall : PyFloat_FromDouble : PyVectorcall_Call : PyObject_Call : pdal::StreamPointTable::finalize : QgsPresetSchemeColorRamp::clone : QgsTask::start : QThreadPoolPrivate::reset : QThread::start : BaseThreadInitThunk : RtlUserThreadStart :

QGIS Info QGIS Version: 3.32.3-Lima QGIS code revision: 67d46100b5 Compiled against Qt: 5.15.3 Running against Qt: 5.15.3 Compiled against GDAL: 3.7.2 Running against GDAL: 3.7.2

System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.22621

Czy mógłbym prosić o pomoc w temacie?

wojtek19022 commented 2 months ago

Dzień dobry @tomo324a, podczas testów na aktualnej wersji wtyczki do tej pory nie wykryliśmy błędów związanych z działaniem funkcjonalności

wojtek19022 commented 2 months ago

Dzień dobry, na wersji wtyczki 1.0.10 i na dzień 15.04.2024, dane mogą być pobrane przez wtyczkę. Dnia kiedy był stworzony wątek, możliwe były przerwy w działaniu usługi GUGIK, w związku z czym dane nie mogły być pobrane. Proszę zaktualizować wtyczkę i sprawdzić, czy dane mogą być pobrane :)