[Qgis-user] Crash of Grass and other plug-ins

Goran Granath joe at ariadne.se
Wed Nov 26 07:37:52 PST 2014


Hi!

I got curious the other day about QGIS 2.6 and 
installed it on my desktop. I had 2.2 already 
installed sinc before. Everything went fine 
except that the plug-ins stopped working, at 
least Grass did so. When I start the 2.2 the following appears:

Kunde inte ladda insticksprogram processing på 
grund av fel med classFactory() metoden

Traceback (most recent call last):
   File 
"C:/PROGRA~1/QGISVA~1/apps/qgis/./python\qgis\utils.py", 
line 204, in startPlugin
     plugins[packageName] = package.classFactory(iface)
   File "C:/Users/G 
ran/.qgis2/python/plugins\processing\__init__.py", line 37, in classFactory
     from processing.ProcessingPlugin import ProcessingPlugin
   File 
"C:/PROGRA~1/QGISVA~1/apps/qgis/./python\qgis\utils.py", line 453, in _import
     mod = _builtin_import(name, globals, locals, fromlist, level)
   File "C:/Users/G 
ran/.qgis2/python/plugins\processing\ProcessingPlugin.py", line 47, in
     if cmd_folder not in sys.path:
   File 
"C:/PROGRA~1/QGISVA~1/apps/qgis/./python\qgis\utils.py", 
line 54, in showWarning
     "warning:%s\ntraceback:%s" % ( 
warnings.formatwarning(message, category, filename, lineno), stk),
UnicodeDecodeError: 'ascii' codec can't decode 
byte 0xf6 in position 18: ordinal not in range(128)

Python version:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]


QGIS version:
2.2.0-Valmiera Valmiera, c3a2817

Python sökväg: 
['C:/PROGRA~1/QGISVA~1/apps/qgis/./python', 
u'C:/Users/G\xf6ran/.qgis2/python', 
u'C:/Users/G\xf6ran/.qgis2/python/plugins', 
'C:/PROGRA~1/QGISVA~1/apps/qgis/./python/plugins', 
'C:\\PROGRA~1\\QGISVA~1\\bin\\python27.zip', 
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\DLLs', 
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib', 
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\plat-win', 
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\lib-tk', 
'C:\\PROGRA~1\\QGISVA~1\\bin', 
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27', 
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages', 
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\PIL', 
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\win32', 
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\win32\\lib', 
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\Pythonwin', 
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg', 
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\six-1.3.0-py2.7.egg', 
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\xlrd-0.9.2-py2.7.egg', 
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\xlwt-0.7.5-py2.7.egg', 
'C:\\Users\\G\xf6ran\\.qgis2\\python\\plugins\\DigitizingTools\\tools']


The menu item "Geoprocessing" (Swedish) is also 
lacking, so the use of plug-ins is seriously hampered.
When I start the versin 2.6 another message box appears:

Kunde inte ladda insticksprogram processing på 
grund av fel med classFactory() metoden


Traceback (most recent call last):
   File "D:/QGis2.6/apps/qgis/./python\qgis\utils.py", line 208, in startPlugin
     plugins[packageName] = package.classFactory(iface)
   File "C:/Users/G 
ran/.qgis2/python/plugins\processing\__init__.py", line 37, in classFactory
     from processing.ProcessingPlugin import ProcessingPlugin
   File "D:/QGis2.6/apps/qgis/./python\qgis\utils.py", line 460, in _import
     mod = _builtin_import(name, globals, locals, fromlist, level)
   File "C:/Users/G 
ran/.qgis2/python/plugins\processing\ProcessingPlugin.py", line 47, in
     if cmd_folder not in sys.path:
   File "D:/QGis2.6/apps/qgis/./python\qgis\utils.py", line 55, in showWarning
     "warning:%s\ntraceback:%s" % ( 
warnings.formatwarning(message, category, filename, lineno), stk),
UnicodeDecodeError: 'ascii' codec can't decode 
byte 0xf6 in position 18: ordinal not in range(128)


Python version:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]


QGIS version:
2.6.0-Brighton Brighton, exported

Python sökväg: ['D:/QGis2.6/apps/qgis/./python', 
u'C:/Users/G\xf6ran/.qgis2/python', 
u'C:/Users/G\xf6ran/.qgis2/python/plugins', 
'D:/QGis2.6/apps/qgis/./python/plugins', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\matplotlib-1.3.1-py2.7-win-amd64.egg', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\nose-1.3.3-py2.7.egg', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\tornado-4.0.1-py2.7-win-amd64.egg', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\backports.ssl_match_hostname-3.4.0.2-py2.7.egg', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\certifi-14.05.14-py2.7.egg', 
'D:\\QGis2.6\\bin\\python27.zip', 
'D:\\QGis2.6\\apps\\Python27\\DLLs', 
'D:\\QGis2.6\\apps\\Python27\\lib', 
'D:\\QGis2.6\\apps\\Python27\\lib\\plat-win', 
'D:\\QGis2.6\\apps\\Python27\\lib\\lib-tk', 
'D:\\QGis2.6\\bin', 
'D:\\QGis2.6\\apps\\Python27', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\PIL', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\jinja2-2.7.2-py2.7.egg', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\markupsafe-0.23-py2.7-win-amd64.egg', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\pytz-2012j-py2.7.egg', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\win32', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\win32\\lib', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\Pythonwin', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\six-1.3.0-py2.7.egg', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\xlrd-0.9.2-py2.7.egg', 
'D:\\QGis2.6\\apps\\Python27\\lib\\site-packages\\xlwt-0.7.5-py2.7.egg', 
'C:\\Users\\G\xf6ran\\.qgis2\\python\\plugins\\DigitizingTools\\tools']
I installed the 2.6 on another hard disk (D:) on 
my desktop. The same problems apply to 2.6 as well.
My operating system is Windows 7.

So for the moment I use 2.2 on my laptop but I 
would love to have it back on my desktop with its large screen  and flash disk.

Thanks in advance

Göran Granath



Goran 'Joe' Granath, PhD      Phone: +46-18-30 16 67
Ariadne Exploration AB        E-mail: joe at ariadne.se
Malma Ringväg 1                www.ariadne.se
S-756 45 Uppsala
Sweden 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20141126/1554e7eb/attachment.html>


More information about the Qgis-user mailing list