Re: [Qgis-developer] [Linux Mint] QGIS Master 3d93237

2015-11-03 Thread Luigi Pirelli
just to confirm that partially reverting: https://github.com/qgis/QGIS/commit/cd0eb05deddc610a1a79c40163504efddfe3da3a#diff-b19637a490515a065417f10b2ef58bbb: using PyString_check instead of PyUnicode_check solve on Ubuntu 15.15 and Python 2.7.10. my solution is in src/python/qgspythonutilsimpl.c

Re: [Qgis-developer] [Linux Mint] QGIS Master 3d93237

2015-10-26 Thread Matthias Kuhn
Do you have any evidence that it's the PyUnicode_Check? I think that should be supported by Python 2.7 as well. The other error by Richard from IRC (PyUnicode_AsUTF8) makes more sense, since it's not supported by 2.7 but it should be ifdef'd, strange that this happens. Maybe re-running cmake woul

Re: [Qgis-developer] [Linux Mint] QGIS Master 3d93237

2015-10-26 Thread Luigi Pirelli
Python 2.7.10 (default, Oct 14 2015, 16:09:02) [GCC 5.2.1 20151010] on linux2 and Python 3.4.3+ (default, Oct 14 2015, 16:03:50) [GCC 5.2.1 20151010] on linux Luigi Pirelli ** * LinkedIn: https://www.

Re: [Qgis-developer] [Linux Mint] QGIS Master 3d93237

2015-10-26 Thread Matthias Kuhn
Hi Luigi, What's the python version on your system? Matthias On 10/26/2015 10:32 AM, Luigi Pirelli wrote: > Hi Mathias > > seems related with this your commit about Python3 compatbility > > cd0eb05deddc610a1a79c40163504efddfe3da3a > > src/python/qgspythonutilsimpl.cpp > - if ( !PyString_Check(

Re: [Qgis-developer] [Linux Mint] QGIS Master 3d93237

2015-10-26 Thread Richard Duivenvoorde
On 26-10-15 10:32, Luigi Pirelli wrote: > Hi Mathias > > seems related with this your commit about Python3 compatbility > > cd0eb05deddc610a1a79c40163504efddfe3da3a > > src/python/qgspythonutilsimpl.cpp > - if ( !PyString_Check( obResult ) ) > + if ( !PyUnicode_Check( obResult ) ) > TRACE

Re: [Qgis-developer] [Linux Mint] QGIS Master 3d93237

2015-10-26 Thread Luigi Pirelli
Hi Mathias seems related with this your commit about Python3 compatbility cd0eb05deddc610a1a79c40163504efddfe3da3a src/python/qgspythonutilsimpl.cpp - if ( !PyString_Check( obResult ) ) + if ( !PyUnicode_Check( obResult ) ) TRACEBACK_FETCH_ERROR( "getvalue() did not return a string" );

Re: [Qgis-developer] [Linux Mint] QGIS Master 3d93237

2015-10-25 Thread Luigi Pirelli
confirmed also ubuntu 15.10 and just pulled the qgis code. last log messages was oading the python module: src/app/qgisapp.cpp: 7911: (loadPythonSupport) [3ms] load library /home/ginetto/PROGRAMMING/QGIS-2.0-master/build/output/lib/qgispython (2.13.0) regards Luigi Pirelli *

[Qgis-developer] [Linux Mint] QGIS Master 3d93237

2015-10-25 Thread João Gaspar
Hi guys, today after compile and install the master version when i open QGIS Master and he give me this error: Couldn't load PyQGIS. Python support will be disabled. getvalue() did not return a string Python version: 2.7.6 (default, Jun 22 2015, 18:01:27) [GCC 4.8.2] QGIS version: 2.13.0-Mast