[GIS] Cannot add Plugins from Python: “Plugin is Broken”

qgisqgis-plugins

I'm using the latest version of QGIS on a Windows 7 (32 bits), and when I try to add a plugin from the option "Fetch Python Plugins", it simply cancels the installation and I can see the following error:

Couldn't load plugin 'xytools' from ['C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python', 'C:/Users/Proprietário/.qgis//python', 'C:/Users/Proprietário/.qgis//python/plugins', 'C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python/plugins', 'C:\Program Files\ArcGIS\bin', 'C:\PROGRA~1\Quantum GIS Lisboa\bin\python27.zip', 'C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\DLLs', 'C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib', 'C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\plat-win', 'C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\lib-tk', 'C:\PROGRA~1\Quantum GIS Lisboa\apps\qgis\bin', 'C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27', 'C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\site-packages', 'C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\site-packages\PIL', 'C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\site-packages\win32', 'C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\site-packages\win32\lib', 'C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\site-packages\Pythonwin', 'C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\site-packages\wx-2.8-msw-unicode', 'C:\PROGRA~1\Quantum GIS Lisboa\apps\qgis\python\plugins\fTools\tools']

The plugin that was not successfully installed appears in red colour saying "Invalid" – and in the description field: The plugin is Broken.
It happens with all plugins from the QGIS Plugin Installer.
Does anyone knows how can I fix this problem?

Thank you in advance for any help you can provide.

Best Answer

Your Windows User name causes the breakdown:

C:/Users/Proprietário

Try another user name without non-ASCII-characters. To be sure, re-install Qgis in a folder without blanks, for example C:\QgisLisboa

Related Question