<div dir="auto"><div class="gmail_extra" dir="auto"><div class="gmail_quote">Il 27 Feb 2018 17:56, "Leonardo Donnini" <<a href="mailto:ldonnini@bonibit.com">ldonnini@bonibit.com</a>> ha scritto:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>scusate per il ritardo che mi sono dovuto allontanare ..<br>
</p>
<p>ecco il log degli errori Python :<br>
</p>
<p>2018-02-27T17:41:56 WARNING Traceback (most recent call last):</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python\qgis\utils.py", line 336, in
startPlugin</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
plugins[packageName] = package.classFactory(iface)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python/plugins\MetaSearch\__<wbr>init__.py",
line 29, in classFactory</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> from
MetaSearch.plugin import MetaSearchPlugin</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python\qgis\utils.py", line 664, in
_import</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> mod =
_builtin_import(name, globals, locals, fromlist, level)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python/plugins\MetaSearch\<wbr>plugin.py",
line 34, in <module></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> from
MetaSearch.dialogs.maindialog import MetaSearchDialog</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python\qgis\utils.py", line 664, in
_import</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> mod =
_builtin_import(name, globals, locals, fromlist, level)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python/plugins\MetaSearch\<wbr>dialogs\maindialog.py",
line 46, in <module></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> from
owslib.csw import CatalogueServiceWeb # spellok</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python\qgis\utils.py", line 664, in
_import</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> mod =
_builtin_import(name, globals, locals, fromlist, level)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
ImportError: bad magic number in 'owslib': b'\x03\xf3\r\n'</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">2018-02-27T17:41:57
WARNING Traceback (most recent call last):</p>
<br>
File "C:/OSGEO4~1/apps/qgis/./<wbr>python\qgis\utils.py", line 311, in
loadPlugin
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
__import__(packageName)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python\qgis\utils.py", line 664, in
_import</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> mod =
_builtin_import(name, globals, locals, fromlist, level)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python/plugins\processing\__<wbr>init__.py",
line 29, in <module></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> from
processing.tools.general import * # NOQA</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python\qgis\utils.py", line 664, in
_import</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> mod =
_builtin_import(name, globals, locals, fromlist, level)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python/plugins\processing\<wbr>tools\general.py",
line 39, in <module></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> from
processing.core.Processing import Processing</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python\qgis\utils.py", line 664, in
_import</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> mod =
_builtin_import(name, globals, locals, fromlist, level)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python/plugins\processing\<wbr>core\Processing.py",
line 57, in <module></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> from
processing.algs.qgis.<wbr>QgisAlgorithmProvider import
QgisAlgorithmProvider # NOQA</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python\qgis\utils.py", line 664, in
_import</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> mod =
_builtin_import(name, globals, locals, fromlist, level)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python/plugins\processing\<wbr>algs\qgis\<wbr>QgisAlgorithmProvider.py",
line 41, in <module></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> from
.QgisAlgorithm import QgisAlgorithm</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python\qgis\utils.py", line 664, in
_import</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> mod =
_builtin_import(name, globals, locals, fromlist, level)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python/plugins\processing\<wbr>algs\qgis\QgisAlgorithm.py",
line 30, in <module></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> from
processing.algs.help import shortHelp</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python\qgis\utils.py", line 664, in
_import</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> mod =
_builtin_import(name, globals, locals, fromlist, level)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python/plugins\processing\<wbr>algs\help\__init__.py",
line 28, in <module></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> import
yaml</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> File
"C:/OSGEO4~1/apps/qgis/./<wbr>python\qgis\utils.py", line 664, in
_import</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> mod =
_builtin_import(name, globals, locals, fromlist, level)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
ImportError: bad magic number in 'yaml': b'\x03\xf3\r\n'</p></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><span style="font-family:sans-serif;font-size:12.8px">Credo un problema con i file python compilati (*.pyc).</span><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><br></div><div style="font-family:sans-serif;font-size:12.8px" dir="auto">Prova ad eliminare tutti i file con estensione *.pyc che trovi in queste due cartelle:</div><div style="color:purple;font-family:sans-serif;font-size:12.8px" dir="auto"><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)">C:/OSGEO4~1/apps/qgis/./</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)">python<wbr>/plugins\processing\</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)">algs\help\</span><br></div></div><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)"><span style="font-size:12.8px">C:/OSGEO4~1/apps/qgis/./</span><span style="font-size:12.8px">python<wbr>/plugins\MetaSearch\</span><span style="font-size:12.8px">dialogs\</span><br></span></div><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)"><span style="font-size:12.8px"><br></span></span></div><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><span style="font-size:12.8px">Se dopo aver fatto questa pulizia l'errore si ripresenta potrebbe essere necessario</span></div><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><span style="font-size:12.8px">fare pulizia in altre cartelle o sottocartelle. </span></div><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><span style="font-size:12.8px"><br></span></div><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><span style="font-size:12.8px">Vediamo se è possibile evitare di rimuovere completamente la cartella OSGEO4W.</span></div><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><span style="font-size:12.8px"><br></span></div><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><span style="font-size:12.8px">Facci sapere.</span></div></div><div class="gmail_extra" dir="auto"><br></div></div>