[Qgis-user] Problem loading Qgis even when i have installed required plugins and softwares

nyangweso orongo danielorongo at yahoo.com
Thu May 9 11:58:27 PDT 2013


Hi all,
Every time I start qgis  I get errors such as 
Couldn't load plugin cad4qgisPoligoni due an error when calling its classFactory() method

Traceback (most recent call last):
  File "C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 164, in startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:/Users/Dan/.qgis//python/plugins\cad4qgisPoligoni\__init__.py", line 22, in classFactory
    from polyg4qgis import polyg4qgis
  File "C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/Dan/.qgis//python/plugins\cad4qgisPoligoni\polyg4qgis.py", line 47, in 
    from polyg4qgisUI import polyg4qgisUI
  File "C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/Dan/.qgis//python/plugins\cad4qgisPoligoni\polyg4qgisUI.py", line 14, in 
    prefix_icons = os.environ['PWD']+'/.qgis/python/plugins/cad4qgisPunti/Icons/'
  File "C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\os.py", line 423, in __getitem__
    return self.data[key.upper()]
KeyError: 'PWD'

Python version:
2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]


QGIS version:
1.8.0-Lisboa Lisboa, 6416f38
Python path: ['C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python', 'C:/Users/Dan/.qgis//python', 'C:/Users/Dan/.qgis//python/plugins', 'C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python/plugins', 'C:\\Windows\\system32\\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']
Which is enclose in qgis box.

Then as I close I get the following. 
 
After ok I get another which looks as below
 
Does anyone know out there what I can do to solve. I tried installing rp2, R and correspong Rpy, but the error still is persistent.
thanks
daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130509/90d52312/attachment.html>


More information about the Qgis-user mailing list