<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body>
    <p>Provando con un progetto vuoto dbmanager funziona normalmente,</p>
    <p>nel progetto dove riscontro l' errore ho layer incorporati da altri progetti, wms, wfs e raster.... provo ad eliminare i vari collegamenti per vedere di capire cosa da fastidio.</p>
    <p>saluti</p>
    <p>Carlo A.
</p>
    <div class="moz-forward-container"><br>
      <br>
      -------- Messaggio Inoltrato --------
      <table class="moz-email-headers-table" cellspacing="0"
        cellpadding="0" border="0">
        <tbody>
          <tr>
            <th valign="BASELINE" nowrap="nowrap" align="RIGHT">Oggetto:
            </th>
            <td>problemi con db_manager</td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap="nowrap" align="RIGHT">Data: </th>
            <td>Sun, 2 Feb 2020 09:44:44 +0100</td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap="nowrap" align="RIGHT">Mittente:
            </th>
            <td>cxc <a class="moz-txt-link-rfc2396E" href="mailto:t4950c@gmail.com"><t4950c@gmail.com></a></td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap="nowrap" align="RIGHT">A: </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:qgis-it-user@lists.osgeo.org">qgis-it-user@lists.osgeo.org</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-15">
      <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" moz-do-not-send="true"><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>
    </div>
  </body>
</html>