<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Hi all,</div><div><div><font face="times new roman, new york, times, serif">Every time I start qgis  I get errors such as </font></div><div><font face="times new roman, new york, times, serif">Couldn't load plugin cad4qgisPoligoni due an error when calling its classFactory() method</font></div><div><font face="times new roman, new york, times, serif"><br></font></div><div><font face="times new roman, new york, times, serif">Traceback (most recent call last):</font></div><div><font face="times new roman, new york, times, serif">  File "C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 164, in startPlugin</font></div><div><font face="times new roman, new york, times, serif">    plugins[packageName] =
 package.classFactory(iface)</font></div><div><font face="times new roman, new york, times, serif">  File "C:/Users/Dan/.qgis//python/plugins\cad4qgisPoligoni\__init__.py", line 22, in classFactory</font></div><div><font face="times new roman, new york, times, serif">    from polyg4qgis import polyg4qgis</font></div><div><font face="times new roman, new york, times, serif">  File "C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 309, in _import</font></div><div><font face="times new roman, new york, times, serif">    mod = _builtin_import(name, globals, locals, fromlist, level)</font></div><div><font face="times new roman, new york, times, serif">  File "C:/Users/Dan/.qgis//python/plugins\cad4qgisPoligoni\polyg4qgis.py", line 47, in </font></div><div><font face="times new roman, new york, times, serif">    from polyg4qgisUI import polyg4qgisUI</font></div><div><font face="times new
 roman, new york, times, serif">  File "C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 309, in _import</font></div><div><font face="times new roman, new york, times, serif">    mod = _builtin_import(name, globals, locals, fromlist, level)</font></div><div><font face="times new roman, new york, times, serif">  File "C:/Users/Dan/.qgis//python/plugins\cad4qgisPoligoni\polyg4qgisUI.py", line 14, in </font></div><div><font face="times new roman, new york, times, serif">    prefix_icons = os.environ['PWD']+'/.qgis/python/plugins/cad4qgisPunti/Icons/'</font></div><div><font face="times new roman, new york, times, serif">  File "C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\os.py", line 423, in __getitem__</font></div><div><font face="times new roman, new york, times, serif">    return self.data[key.upper()]</font></div><div><font face="times new roman, new york, times,
 serif">KeyError: 'PWD'</font></div><div><font face="times new roman, new york, times, serif"><br></font></div><div><font face="times new roman, new york, times, serif">Python version:</font></div><div><font face="times new roman, new york, times, serif">2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]</font></div><div><font face="times new roman, new york, times, serif"><br></font></div><div><font face="times new roman, new york, times, serif"><br></font></div><div><font face="times new roman, new york, times, serif">QGIS version:</font></div><div><font face="times new roman, new york, times, serif">1.8.0-Lisboa Lisboa, 6416f38</font></div><div><font face="times new roman, new york, times, serif">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']</font></div><div><font face="times new roman, new york, times, serif">Which is enclose in qgis box.</font></div><div><font
 face="times new roman, new york, times, serif"><br></font></div><div><font face="times new roman, new york, times, serif">Then as I close I get the following. </font></div><div><font face="times new roman, new york, times, serif"> </font></div><div><font face="times new roman, new york, times, serif">After ok I get another which looks as below</font></div><div><font face="times new roman, new york, times, serif"> </font></div><div><font face="times new roman, new york, times, serif">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.</font></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">thanks</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">daniel</div></div></div></body></html>