<div dir="ltr">Ciao Andrea,<div>si hai ragione, non ho specificato che l'errore è lo stesso che otteneva anche Ludovico, lo riporto di seguito:</div><div><br></div><div><p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(220,125,0)">2021-12-27T16:24:59     WARNING    </span>Traceback (most recent call last):<br>              File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 1346, in do_open<br>              h.request(req.get_method(), req.selector, req.data, headers,<br>              File "C:\OSGeo4W\apps\Python39\lib\http\client.py", line 1253, in request<br>              self._send_request(method, url, body, headers, encode_chunked)<br>              File "C:\OSGeo4W\apps\Python39\lib\http\client.py", line 1299, in _send_request<br>              self.endheaders(body, encode_chunked=encode_chunked)<br>              File "C:\OSGeo4W\apps\Python39\lib\http\client.py", line 1248, in endheaders<br>              self._send_output(message_body, encode_chunked=encode_chunked)<br>              File "C:\OSGeo4W\apps\Python39\lib\http\client.py", line 1008, in _send_output<br>              self.send(msg)<br>              File "C:\OSGeo4W\apps\Python39\lib\http\client.py", line 948, in send<br>              self.connect()<br>              File "C:\OSGeo4W\apps\Python39\lib\http\client.py", line 1422, in connect<br>              self.sock = self._context.wrap_socket(self.sock,<br>              File "C:\OSGeo4W\apps\Python39\lib\ssl.py", line 500, in wrap_socket<br>              return self.sslsocket_class._create(<br>              File "C:\OSGeo4W\apps\Python39\lib\ssl.py", line 1040, in _create<br>              self.do_handshake()<br>              File "C:\OSGeo4W\apps\Python39\lib\ssl.py", line 1309, in do_handshake<br>              self._sslobj.do_handshake()<br>             ssl.SSLError: A failure in the SSL library occurred (_ssl.c:1129)<br>             <br>             During handling of the above exception, another exception occurred:<br>             <br>             Traceback (most recent call last):<br>              File "C:\Users/Elitebook/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Cxf_in\catdialog.py", line 329, in connectgeodb<br>              with contextlib.closing(urllib.request.urlopen(req)) as x:<br>              File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 214, in urlopen<br>              return opener.open(url, data, timeout)<br>              File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 517, in open<br>              response = self._open(req, data)<br>              File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 534, in _open<br>              result = self._call_chain(self.handle_open, protocol, protocol +<br>              File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 494, in _call_chain<br>              result = func(*args)<br>              File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 1389, in https_open<br>              return self.do_open(http.client.HTTPSConnection, req,<br>              File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 1349, in do_open<br>              raise URLError(err)<br>             urllib.error.URLError: <br>             <br>             During handling of the above exception, another exception occurred:<br>             <br>             Traceback (most recent call last):<br>              File "C:\Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Cxf_in\catdialog.py", line 334, in connectgeodb<br>              except urllib.URLError as err:<br>             AttributeError: module 'urllib' has no attribute 'URLError'</p><p style="margin:0px;white-space:pre-wrap"><br></p><p style="margin:0px;white-space:pre-wrap">Modificando il codice del Plugin con except urlib.error.URLError as err, il print di err mi restituisce questo:</p><p style="margin:0px;white-space:pre-wrap"><br></p><p style="margin:0px;white-space:pre-wrap"><urlopen error A failure in the SSL library occurred (_ssl.c:1129)><br></p><p style="margin:0px;white-space:pre-wrap"><br></p><p style="margin:0px;white-space:pre-wrap">E si generare quindi un secondo errore python relativo a una variabile che viene utilizzata nella riga successiva senza essere stata definita prima. La variabile html a cui fa riferimento l'errore infatti viene definita nel try ma entrando nell'except non viene appunto definita</p><p style="margin:0px;white-space:pre-wrap"><br></p><p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(220,125,0)">2021-12-27T16:31:00     WARNING    </span>Traceback (most recent call last):<br>              File "C:\Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Cxf_in\catdialog.py", line 339, in connectgeodb<br>              user = html.decode("utf-8").split("|")<br>             UnboundLocalError: local variable 'html' referenced before assignment</p><p style="margin:0px;white-space:pre-wrap"><br></p><p style="margin:0px;white-space:pre-wrap">Ciao</p><p style="margin:0px;white-space:pre-wrap">Roberta</p></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 27 dic 2021 alle ore 15:47 Andrea Giudiceandrea <<a href="mailto:andreaerdna@libero.it" target="_blank">andreaerdna@libero.it</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div>
    Ciao Roberta,<br>
    grazie per l'aggiornamento.<br>
    <br>
    Potresti specificare quale errore, esattamente, riscontri?<br>
    <br>
    A presto.<br>
    <br>
    Andrea<br>
    <br>
    <br>
    <blockquote type="cite">
      <div style="color:rgb(0,0,0);font-family:helvetica,arial,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">
        <p style="font-size:13px;color:rgb(102,102,102)"><span style="margin-right:0.5em;border-right:1px solid rgb(221,221,221);padding-right:0.8em"><a href="https://www.mail-archive.com/search?l=qgis-it-user@lists.osgeo.org&q=from:%22Roberta+Fagandini%22" rel="nofollow" style="color:rgb(102,102,102);text-decoration:none" target="_blank"><span><span>Roberta Fagandini</span></span></a></span><span> </span><span><a href="https://www.mail-archive.com/search?l=qgis-it-user@lists.osgeo.org&q=date:20211227" rel="nofollow" style="color:rgb(102,102,102);text-decoration:none" target="_blank">Mon, 27 Dec 2021 04:01:00 -0800</a></span></p>
      </div>
      <div style="color:rgb(0,0,0);font-family:helvetica,arial,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">
        <pre style="font-family:courier,"courier new",monospace;font-size:1em;white-space:pre-wrap;margin:0px">Buongiorno a tutti,
dopo ulteriori verifiche, ho notato che l'errore di login al DB per la
georeferenziazione si presenta solo su QGIS (3.16.14 e 3.22.1) installato
con OSGeo4W v2 ovvero il repository con le "nuove" dipendenze (in
particolare Python 3.9). Utilizzando invece la stessa versione LTR di QGIS
(3.16.14) ma installata con la "vecchia" OSGeo4W (Python 3.7) l'errore
python alla connessione non si verifica.</pre>
      </div>
    </blockquote>
    <br>
  </div>

_______________________________________________<br>
QGIS-it-user mailing list<br>
<a href="mailto:QGIS-it-user@lists.osgeo.org" target="_blank">QGIS-it-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/qgis-it-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-it-user</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13.3333px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">​</span></span><i><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">Arch. Roberta Fagandini, PhD</span></span></span></i><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)"></span></span><br></div><div style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13.3333px"><i><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">GIS and Remote Sensing Technician</span></span></span></i><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)"></span></span><br></div><div style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13.3333px"><i><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">Gter srl (Unige spin-off)</span></span></span></i><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)"></span></span><br></div><div style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13.3333px"><i style="font-size:13.3333px"><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">Via Jacopo Ruffini 9/1A - 16128 Genova</span></span></span></i><br></div><div style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13.3333px"><i><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">P.IVA/CF 01998770992</span></span></span></i><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)"></span></span><br></div><div style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13.3333px"><i><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">ph: </span></span></span></i><i style="font-size:13.3333px"><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">010-0899150</span></span></span></i><br></div><div style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13.3333px"><i><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">E-mail: </span></span></span></i><a href="mailto:roberta.fagandini@gter.it" style="color:rgb(89,143,222)" target="_blank"><i><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">roberta.fagandini@gter.it</span></span></span></i></a><i><span style="font-size:10px"></span></i><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)"></span></span><br></div><div style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13.3333px"><i><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">skype: roberta.fagandini</span></span></span></i><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)"></span></span><br></div><div style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13.3333px"><a href="http://www.gter.it/" style="color:rgb(89,143,222)" target="_blank"><i><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">www.gter.it</span></span></span></i></a><i><span style="font-size:10px"></span></i><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)"></span></span><i><span style="font-size:10px"></span></i><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)"></span></span><br></div><div style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13.3333px"><i><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">--</span></span></span></i><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)"></span></span><br></div><div style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13.3333px"><i><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">Gter social</span></span></span></i><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)"></span></span><br></div><div style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13.3333px"><a href="http://www.twitter.com/Gteronline" style="color:rgb(89,143,222)" target="_blank"><i><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">www.twitter.com/Gteronline</span></span></span></i></a><i><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)"> - </span></span></span></i><a href="http://www.facebook.com/Gteronline" style="color:rgb(89,143,222)" target="_blank"><i><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)">www.facebook.com/Gteronline</span></span></span></i></a><i><span style="font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)"> -</span></span></span></i><br></div><div style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13.3333px"><i><span style="color:rgb(89,143,222);font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><span style="color:rgb(102,102,102)"><a href="http://www.linkedin.com/company/gter-srl-innovazione-in-geomatica-gnss-e-gis" style="color:rgb(89,143,222)" target="_blank">www.linkedin.com/company/gter-srl-innovazione-in-geomatica-gnss-e-gis</a></span></span></span></i><br></div><div><i><span style="color:rgb(89,143,222);font-size:10px"><span style="font-family:tahoma,arial,helvetica,sans-serif,sans-serif"><br></span></span></i></div></div></div></div></div>