<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body>
    <p>Buongiorno,</p>
    <p>cercando di importare uno shp in db manager ottengo questo errore.</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">"<span style=" font-weight:600;">Errore Python: </span>Si č verificato un errore durante l'esecuzione del codice Python: Vedi il log dei messaggi (Errore Python) per maggiori dettagli."</p>
    <p><style type="text/css">
p, li { white-space: pre-wrap; }</style></p>
    <p>L'errore avviene appena clicco su "importa layer" e  quindi escludo che possa dipendere dalla struttura dello shp ed i layer gia' presenti nel db vengono caricati normalmente.</p>
    <p>qualcuno puo' aiutarmi?</p>
    <p>grazie</p>
    <p>Saluti</p>
    <p>Carlo A. Nicolini
</p>
    <p>questo il risultato di "errore python" :
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#dc7d00;">2020-02-02T09:34:37     WARNING    </span>Traceback (most recent call last):
              File "/usr/share/qgis/python/plugins/db_manager/db_manager.py", line 169, in importActionSlot
              dlg = DlgImportVector(None, db, outUri, self)
              File "/usr/share/qgis/python/plugins/db_manager/dlg_import_vector.py", line 69, in __init__
              self.populateLayers()
              File "/usr/share/qgis/python/plugins/db_manager/dlg_import_vector.py", line 136, in populateLayers
              if layer.type() == QgsMapLayerType.VectorLayer:
             AttributeError: 'NoneType' object has no attribute 'type'</p>
    <p><style type="text/css">
p, li { white-space: pre-wrap; }</style>
</p>
    <table style="margin: 0px;" width="808" height="574" cellspacing="2"
      cellpadding="0" border="0" align="center">
      <tbody>
        <tr>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Versione di QGIS</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3.10.2-A Coruņa</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Revisione codice QGIS</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/qgis/QGIS/commit/616ad4531b"><span style=" text-decoration: underline; color:#0000ff;">616ad4531b</span></a></p>
          </td>
        </tr>
        <tr>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Compilato con Qt</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">5.9.5</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Esecuzione con Qt</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">5.9.5</p>
          </td>
        </tr>
        <tr>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Compilato con GDAL/OGR</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2.2.3</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Esecuzione con GDAL/OGR</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2.2.3</p>
          </td>
        </tr>
        <tr>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Compilato con GEOS</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3.6.2-CAPI-1.10.2</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Esecuzione con GEOS</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3.6.2-CAPI-1.10.2 4d2925d6</p>
          </td>
        </tr>
        <tr>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Compiled against SQLite</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3.22.0</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Running against SQLite</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3.22.0</p>
          </td>
        </tr>
        <tr>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Versione client PostgreSQL</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">10.10 (Ubuntu 10.10-0ubuntu0.18.04.1)</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Versione SpatiaLite</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">4.3.0a</p>
          </td>
        </tr>
        <tr>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Versione QWT</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">6.1.3</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Versione QScintilla2</p>
          </td>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2.10.2</p>
          </td>
        </tr>
        <tr>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Versione PROJ.4</p>
          </td>
          <td colspan="3">
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">493</p>
          </td>
        </tr>
        <tr>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">OS Version</p>
          </td>
          <td colspan="3">
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Ubuntu 18.04.4 LTS</p>
          </td>
        </tr>
        <tr>
          <td>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Active python plugins</p>
          </td>
          <td colspan="3">
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">qconsolidate3; 
mmqgis; 
changeDataSource; 
AnimateOsm; 
searchlayers; 
QuickOSM; 
timemanager; 
QPackage; 
quick_map_services; 
go2mapillary; 
Cxf_in; 
Qgis2threejs; 
</p>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">GroupStats; 
</p>
            <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">MetaSearch; 
processing; 
db_manager</p>
          </td>
        </tr>
      </tbody>
    </table>
    <p><style type="text/css">
p, li { white-space: pre-wrap; }</style></p>
  </body>
</html>