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

2014-12-15 Thread Mark Wynter
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  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  
>> 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
>> [email protected]
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

2014-12-15 Thread Ian Turton
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 
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
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

2014-11-03 Thread Mark Wynter
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
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

2014-11-01 Thread Jürgen E . Fischer
Hi Mark,

On Sat, 01. Nov 2014 at 16:07:57 +1030, Mark Wynter wrote:
> I'm getting the following error with QGIS 2.6.0  latest.   I'm running
> CentOS65 however earlier today I successfully installed QGIS2.4.0 on the same
> machine using the exact same steps.

> And this is the error I get:
> 
> [ 31%] Building CXX object src/gui/CMakeFiles/qgis_gui.dir/qgscodeeditor.cpp.o
> /root/qgis-2.6.0/src/gui/qgscodeeditor.cpp: In member function \u2018void 
> QgsCodeEditor::insertText(QString)\u2019:
> /root/qgis-2.6.0/src/gui/qgscodeeditor.cpp:114:34: error: 
> \u2018replaceSelectedText\u2019 was not declared in this scope
> make[2]: *** [src/gui/CMakeFiles/qgis_gui.dir/qgscodeeditor.cpp.o] Error 1
> make[1]: *** [src/gui/CMakeFiles/qgis_gui.dir/all] Error 2
> make: *** [all] Error 2

Hm, which version of QScintilla2 are you using?   Something earlier than v2.5
from 29th March 2011?  Because that's where replaceSelectedText() was added to
QsciScintilla.


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode 



signature.asc
Description: Digital signature
___
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer