[Qgis-developer] [Qgis-user] QGIS Processing error on startup

Paolo Cavallini cavallini at faunalia.it
Sat Jun 20 00:37:05 PDT 2015


Il 20/06/2015 07:30, antonio valanzano ha scritto:
> I have followed your instruction but without result.
> 
> Then  I have deleted everything the folder ,qgis2 from
> C:\Users\Antonio\.qgis2
> and deleted everything from C:\OSGeo4W
> and used again the installer osgeo4w-setup-x86.exe.
> 
> The problem is still there and the complete error message is:
> 
> -----------------------------------------------------------------------------------------------
> Couldn't load plugin processing due to an error when calling its
> initGui() method
> 
> Traceback (most recent call last):
>   File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 228, in startPlugin
>     plugins[packageName].initGui()
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\ProcessingPlugin.py", line 57, in initGui
>     Processing.initialize()
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\core\Processing.py", line 150, in initialize
>     Processing.loadFromProviders()
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\core\Processing.py", line 166, in loadFromProviders
>     Processing.loadAlgorithms()
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\core\Processing.py", line 201, in loadAlgorithms
>     Processing.updateProviders()
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\core\Processing.py", line 174, in updateProviders
>     provider.loadAlgorithms()
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\core\AlgorithmProvider.py", line 57, in loadAlgorithms
>     self._loadAlgorithms()
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\algs\r\RAlgorithmProvider.py", line 85, in _loadAlgorithms
>     folder = RUtils.RScriptsFolder()
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\algs\r\RUtils.py", line 58, in RScriptsFolder
>     mkdir(folder)
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\tools\system.py", line 126, in mkdir
>     mkdir(head)
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\tools\system.py", line 126, in mkdir
>     mkdir(head)
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\tools\system.py", line 126, in mkdir
>     mkdir(head)
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\tools\system.py", line 126, in mkdir
>     mkdir(head)
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\tools\system.py", line 126, in mkdir
>     mkdir(head)
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\tools\system.py", line 126, in mkdir
>     mkdir(head)
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\tools\system.py", line 126, in mkdir
>     mkdir(head)
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\tools\system.py", line 126, in mkdir
>     mkdir(head)
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\tools\system.py", line 128, in mkdir
>     os.mkdir(newdir)
> WindowsError: [Error 5] Accesso negato: u'C:\\Program Files\\QGIS Brighton'

I do not know why it is still searching for the old QGIS version.
Maybe something in Windows registry?
I leave this to some Win guru.
All the best.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html


More information about the Qgis-developer mailing list