[QGIS-it-user] QGIS 3 - errore Python

Leonardo Donnini ldonnini a bonibit.com
Mar 27 Feb 2018 10:20:30 PST


dimenticavo di dire che i percorsi che ho trovato e su cui ho fatto la 
pulizia sono esattamente questi :
1) C:\OSGeo4W64\apps\qgis\python\plugins\processing\algs\help\
2) C:\OSGeo4W64\apps\qgis\python\plugins\MetaSearch\dialogs\

Il 27/02/2018 19:17, Leonardo Donnini ha scritto:
>
> Ho fatto la pulizia nelle cartelle e sotto cartelle (Pycache) indicate,
> riavviato QGIS ma stessi errori .
>
> Altri tentativi sono possibili ?
>
> Grazi e
>
> Leonardo
>
>
>
> Il 27/02/2018 18:53, Salvatore Larosa ha scritto:
>> Il 27 Feb 2018 17:56, "Leonardo Donnini" <ldonnini a bonibit.com 
>> <mailto:ldonnini a bonibit.com>> ha scritto:
>>
>>     scusate per il ritardo che mi sono dovuto allontanare ..
>>
>>     ecco il log degli errori Python :
>>
>>     2018-02-27T17:41:56 WARNING Traceback (most recent call last):
>>
>>     File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 336, in
>>     startPlugin
>>
>>     plugins[packageName] = package.classFactory(iface)
>>
>>     File
>>     "C:/OSGEO4~1/apps/qgis/./python/plugins\MetaSearch\__init__.py",
>>     line 29, in classFactory
>>
>>     from MetaSearch.plugin import MetaSearchPlugin
>>
>>     File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 664, in
>>     _import
>>
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>
>>     File
>>     "C:/OSGEO4~1/apps/qgis/./python/plugins\MetaSearch\plugin.py",
>>     line 34, in <module>
>>
>>     from MetaSearch.dialogs.maindialog import MetaSearchDialog
>>
>>     File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 664, in
>>     _import
>>
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>
>>     File
>>     "C:/OSGEO4~1/apps/qgis/./python/plugins\MetaSearch\dialogs\maindialog.py",
>>     line 46, in <module>
>>
>>     from owslib.csw import CatalogueServiceWeb # spellok
>>
>>     File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 664, in
>>     _import
>>
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>
>>     ImportError: bad magic number in 'owslib': b'\x03\xf3\r\n'
>>
>>
>>
>>     2018-02-27T17:41:57 WARNING Traceback (most recent call last):
>>
>>
>>     File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 311, in
>>     loadPlugin
>>
>>     __import__(packageName)
>>
>>     File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 664, in
>>     _import
>>
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>
>>     File
>>     "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\__init__.py",
>>     line 29, in <module>
>>
>>     from processing.tools.general import * # NOQA
>>
>>     File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 664, in
>>     _import
>>
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>
>>     File
>>     "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\tools\general.py",
>>     line 39, in <module>
>>
>>     from processing.core.Processing import Processing
>>
>>     File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 664, in
>>     _import
>>
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>
>>     File
>>     "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\core\Processing.py",
>>     line 57, in <module>
>>
>>     from processing.algs.qgis.QgisAlgorithmProvider import
>>     QgisAlgorithmProvider # NOQA
>>
>>     File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 664, in
>>     _import
>>
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>
>>     File
>>     "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\qgis\QgisAlgorithmProvider.py",
>>     line 41, in <module>
>>
>>     from .QgisAlgorithm import QgisAlgorithm
>>
>>     File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 664, in
>>     _import
>>
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>
>>     File
>>     "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\qgis\QgisAlgorithm.py",
>>     line 30, in <module>
>>
>>     from processing.algs.help import shortHelp
>>
>>     File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 664, in
>>     _import
>>
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>
>>     File
>>     "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\help\__init__.py",
>>     line 28, in <module>
>>
>>     import yaml
>>
>>     File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 664, in
>>     _import
>>
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>
>>     ImportError: bad magic number in 'yaml': b'\x03\xf3\r\n'
>>
>>
>> Credo un problema con i file python compilati (*.pyc).
>>
>> Prova ad eliminare tutti i file con estensione *.pyc che trovi in 
>> queste due cartelle:
>> C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\help\
>> C:/OSGEO4~1/apps/qgis/./python/plugins\MetaSearch\dialogs\
>>
>> Se dopo aver fatto questa pulizia l'errore si ripresenta potrebbe 
>> essere necessario
>> fare pulizia in altre cartelle o sottocartelle.
>>
>> Vediamo se è possibile evitare di rimuovere completamente la cartella 
>> OSGEO4W.
>>
>> Facci sapere.
>>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 
> 	Mail priva di virus. www.avast.com 
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 
>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
>
> _______________________________________________
> QGIS-it-user mailing list
> QGIS-it-user a lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-it-user



---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.osgeo.org/pipermail/qgis-it-user/attachments/20180227/88ce0074/attachment.html>


Maggiori informazioni sulla lista QGIS-it-user