[Qgis-developer] Make error - QGIS Latest (2.6.0)

Mark Wynter mark at dimensionaledge.com
Mon Dec 15 14:28:30 PST 2014


Install Python 2.7 from source - not from yum. You will also need to compile qgis against Python 2.7

Sent from my iPhone

> On 16 Dec 2014, at 2:07 am, Ian Turton <ijturton at gmail.com> wrote:
> 
> Was a solution found for this error? I'm trying to build 2.6.1 and it's falling foul of the same error that Mark talks about here, but it's beyond my limited python skills to work out how to fix it.
> 
> Cheers
> 
> Ian
> 
>> On Mon Nov 03 2014 at 10:22:28 AM Mark Wynter <mark at dimensionaledge.com> wrote:
>> Thanks Jurgen  Yep, that was the problem.   Built with latest QScintilla2 from source.   Successfully installed QGIS 2.7.0 (git master repository)  on CentOS65.
>> 
>> However, I get a ‘processing' error message on starting QGIS2.7.0.  Didn’t have this problem two days ago with QGIS2.4.0.  
>> 
>> Couldn't load plugin 'processing' from ['/usr/local/share/qgis/python', '/home/mark/.qgis2/python', '/home/mark/.qgis2/python/plugins', '/usr/local/share/qgis/python/plugins', '/usr/lib64/python26.zip', '/usr/lib64/python2.6', '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload', '/usr/lib64/python2.6/site-packages', '/usr/lib64/python2.6/site-packages/PIL', '/usr/lib64/python2.6/site-packages/gst-0.10', '/usr/lib64/python2.6/site-packages/gtk-2.0', '/usr/lib64/python2.6/site-packages/webkit-1.0', '/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode', '/usr/lib/python2.6/site-packages', '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info', '/usr/local/share/qgis/python/plugins/fTools/tools']
>> 
>> 
>> Traceback (most recent call last):
>>   File "/usr/local/share/qgis/python/qgis/utils.py", line 185, in loadPlugin
>>     __import__(packageName)
>>   File "/usr/local/share/qgis/python/qgis/utils.py", line 460, in _import
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File "/usr/local/share/qgis/python/plugins/processing/__init__.py", line 29, in 
>>     from processing.tools.general import *
>>   File "/usr/local/share/qgis/python/qgis/utils.py", line 460, in _import
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File "/usr/local/share/qgis/python/plugins/processing/tools/general.py", line 29, in 
>>     from processing.core.Processing import Processing
>>   File "/usr/local/share/qgis/python/qgis/utils.py", line 460, in _import
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File "/usr/local/share/qgis/python/plugins/processing/core/Processing.py", line 47, in 
>>     from processing.modeler.ModelerAlgorithmProvider import \
>>   File "/usr/local/share/qgis/python/qgis/utils.py", line 460, in _import
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File "/usr/local/share/qgis/python/plugins/processing/modeler/ModelerAlgorithmProvider.py", line 35, in 
>>     from processing.modeler.ModelerAlgorithm import ModelerAlgorithm
>>   File "/usr/local/share/qgis/python/qgis/utils.py", line 460, in _import
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File "/usr/local/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", line 100
>>     return {k:v for k,v in self.__dict__.iteritems() if  not k.startswith("_")}
>>                   ^
>> SyntaxError: invalid syntax
>> 
>> 
>> Python version:
>> 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) 
>> [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
>> 
>> 
>> QGIS version:
>> 2.7.0-Master Master, exported
>> 
>> Python path: ['/usr/local/share/qgis/python', u'/home/mark/.qgis2/python', u'/home/mark/.qgis2/python/plugins', '/usr/local/share/qgis/python/plugins', '/usr/lib64/python26.zip', '/usr/lib64/python2.6', '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload', '/usr/lib64/python2.6/site-packages', '/usr/lib64/python2.6/site-packages/PIL', '/usr/lib64/python2.6/site-packages/gst-0.10', '/usr/lib64/python2.6/site-packages/gtk-2.0', '/usr/lib64/python2.6/site-packages/webkit-1.0', '/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode', '/usr/lib/python2.6/site-packages', '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info', '/usr/local/share/qgis/python/plugins/fTools/tools']
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20141216/53e19b56/attachment.html>


More information about the Qgis-developer mailing list