Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-30 Thread Paolo Cavallini
Il 30 marzo 2017 18:27:07 GMT+00:00, William Kyngesburye 
 ha scritto:
>I recently upgraded my system, it messed up my dev environment a bit
>and I need to straighten that out.
>
>> On Mar 30, 2017, at 3:45 AM, Etienne Trimaille
> wrote:
>> 
>> Hi Mats,
>> 
>> You can open the file with a text editor : 
>>
>/Applications/QGIS.app/Contents/Resources/python/plugins/processing/algs/saga/SagaUtils.py
>> 
>> on line 75, instead of: 
>> if not os.path.isdir(folder):
>> 
>> replace with: 
>> if folder and not os.path.isdir(folder):
>> 
>> In some other words, just add "folder and" between the "if" and
>"os.path"
>> 
>> William, do you think you will provide a release?
>> 
>> 
>> 
>> 2017-03-30 8:46 GMT+02:00 Mats Lindegarth
>:
>> Thanks Etienne!
>> I realize this forum is for developers and I am just a simple user. I
>do not
>> quite understand how to "apply this patch manually in the
>> file :
>>
>/Applications/QGIS.app/Contents/Resources/python/plugins/processing/algs/saga/SagaUtils.py".
>> Do I paste something in the Python console or in the Terminal or
>what.
>> Apologies for my ignorance and thanks for your efforts! If it is too
>> complicated I guess I'll have to wait for the next release. /Mats
>> 
>> 
>> 
>> --
>> View this message in context:
>http://osgeo-org.1560.x6.nabble.com/QGIS-2-18-on-OSX-tp5311966p5314899.html
>> Sent from the QGIS - Developer mailing list archive at Nabble.com.
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> 
>
>___
>Qgis-developer mailing list
>Qgis-developer@lists.osgeo.org
>List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Thanks William for the update, and for your work.
All the best.
-- 
Sent from mobile. Sorry for being short___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-30 Thread William Kyngesburye
I recently upgraded my system, it messed up my dev environment a bit and I need 
to straighten that out.

> On Mar 30, 2017, at 3:45 AM, Etienne Trimaille  
> wrote:
> 
> Hi Mats,
> 
> You can open the file with a text editor : 
> /Applications/QGIS.app/Contents/Resources/python/plugins/processing/algs/saga/SagaUtils.py
> 
> on line 75, instead of: 
> if not os.path.isdir(folder):
> 
> replace with: 
> if folder and not os.path.isdir(folder):
> 
> In some other words, just add "folder and" between the "if" and "os.path"
> 
> William, do you think you will provide a release?
> 
> 
> 
> 2017-03-30 8:46 GMT+02:00 Mats Lindegarth :
> Thanks Etienne!
> I realize this forum is for developers and I am just a simple user. I do not
> quite understand how to "apply this patch manually in the
> file :
> /Applications/QGIS.app/Contents/Resources/python/plugins/processing/algs/saga/SagaUtils.py".
> Do I paste something in the Python console or in the Terminal or what.
> Apologies for my ignorance and thanks for your efforts! If it is too
> complicated I guess I'll have to wait for the next release. /Mats
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/QGIS-2-18-on-OSX-tp5311966p5314899.html
> Sent from the QGIS - Developer mailing list archive at Nabble.com.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-30 Thread Mats Lindegarth
Thanks Etienne!
I believe that this fixed my problem!/Mats



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QGIS-2-18-on-OSX-tp5311966p5314934.html
Sent from the QGIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-30 Thread Etienne Trimaille
Hi Mats,

You can open the file with a text editor :
/Applications/QGIS.app/Contents/Resources/python/
plugins/processing/algs/saga/SagaUtils.py

on line 75, instead of:
if not os.path.isdir(folder):

replace with:
if folder and not os.path.isdir(folder):

In some other words, just add "folder and" between the "if" and "os.path"

William, do you think you will provide a release?



2017-03-30 8:46 GMT+02:00 Mats Lindegarth :

> Thanks Etienne!
> I realize this forum is for developers and I am just a simple user. I do
> not
> quite understand how to "apply this patch manually in the
> file :
> /Applications/QGIS.app/Contents/Resources/python/
> plugins/processing/algs/saga/SagaUtils.py".
> Do I paste something in the Python console or in the Terminal or what.
> Apologies for my ignorance and thanks for your efforts! If it is too
> complicated I guess I'll have to wait for the next release. /Mats
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/QGIS-2-18-on-OSX-tp5311966p5314899.html
> Sent from the QGIS - Developer mailing list archive at Nabble.com.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-30 Thread Mats Lindegarth
Thanks Etienne!
I realize this forum is for developers and I am just a simple user. I do not
quite understand how to "apply this patch manually in the 
file : 
/Applications/QGIS.app/Contents/Resources/python/plugins/processing/algs/saga/SagaUtils.py".
Do I paste something in the Python console or in the Terminal or what.
Apologies for my ignorance and thanks for your efforts! If it is too
complicated I guess I'll have to wait for the next release. /Mats



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QGIS-2-18-on-OSX-tp5311966p5314899.html
Sent from the QGIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-30 Thread Paolo Cavallini
Il 30/03/2017 06:19, Etienne Trimaille ha scritto:
> This error in Processing has been fixed in the 2.18 branch but after the
> 2.18.2 tag.
> 
> While we are waiting for the 2.18.5 release on mac, you can apply this
> patch manually in the
> file :
> /Applications/QGIS.app/Contents/Resources/python/plugins/processing/algs/saga/SagaUtils.py
> https://github.com/qgis/QGIS/commit/4923e46a6d1cfceb93069c41b723af98d42db8a2

Thanks Etienne for clarifying.
Any news about 2.18.6 release?
All the best.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-30 Thread Etienne Trimaille
This error in Processing has been fixed in the 2.18 branch but after the
2.18.2 tag.

While we are waiting for the 2.18.5 release on mac, you can apply this
patch manually in the
file :
/Applications/QGIS.app/Contents/Resources/python/plugins/processing/algs/saga/SagaUtils.py
https://github.com/qgis/QGIS/commit/4923e46a6d1cfceb93069c41b723af98d42db8a2

2017-03-29 13:52 GMT+02:00 Paolo Cavallini :

> Il 29/03/2017 13:11, Mats Lindegarth ha scritto:
> > Dear Paolo,
> > did you find a solution to this problem? I have exactly the same problem
> and
> > error messages. I am a fairly new user but it worked fine to begin with
> but
> > after a forced interruption I am not able to load any toolbox. All the
> best!
>
> Hi Mats,
> unfortunately I have access to an OSX only rarely, so I could not test
> again. Thanks therefore for confirming. Does anybody else have the same?
> Worth a ticket?
> All the best.
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-29 Thread Paolo Cavallini
Il 29/03/2017 13:11, Mats Lindegarth ha scritto:
> Dear Paolo,
> did you find a solution to this problem? I have exactly the same problem and
> error messages. I am a fairly new user but it worked fine to begin with but
> after a forced interruption I am not able to load any toolbox. All the best!

Hi Mats,
unfortunately I have access to an OSX only rarely, so I could not test
again. Thanks therefore for confirming. Does anybody else have the same?
Worth a ticket?
All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-29 Thread Mats Lindegarth
Dear Paolo,
did you find a solution to this problem? I have exactly the same problem and
error messages. I am a fairly new user but it worked fine to begin with but
after a forced interruption I am not able to load any toolbox. All the best!
/ Mats Lindegarth



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QGIS-2-18-on-OSX-tp5311966p5314787.html
Sent from the QGIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-14 Thread Jürgen E . Fischer
Hi Paolo,

On Mon, 13. Mar 2017 at 15:08:21 +0100, Paolo Cavallini wrote:
> Thanks William.
> You can find all the dates here:
> http://qgis.org/en/site/getinvolved/development/roadmap.html#release-schedule
> All the best.

See also https://lists.osgeo.org/pipermail/qgis-developer/2016-May/042890.html


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: PGP signature
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-13 Thread Paolo Cavallini
Il 13/03/2017 14:05, William Kyngesburye ha scritto:
> Since point releases are not announced on the list any more, I often miss 
> them for packaging.  I usually see a reference to them on the list in a 
> question.  Also, I've been a bit occupied lately with other things.  I'll 
> work on packaging the latest updates soon.

Thanks William.
You can find all the dates here:
http://qgis.org/en/site/getinvolved/development/roadmap.html#release-schedule
All the best.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-13 Thread William Kyngesburye
Since point releases are not announced on the list any more, I often miss them 
for packaging.  I usually see a reference to them on the list in a question.  
Also, I've been a bit occupied lately with other things.  I'll work on 
packaging the latest updates soon.

> On Mar 13, 2017, at 5:19 AM, Paolo Cavallini  wrote:
> 
> Il 13/03/2017 11:10, Giovanni Manghi ha scritto:
>>> * Processing throws an error:
>>> ===
>>> Couldn't load plugin processing due to an error when calling its
>>> classFactory() method
>> 
>> Can't confirm on macOS Sierra and 2.18.2.
> 
> Thanks for checking. At first I also had no issue, but after some usage
> the error popped up, and now I cannot get rid of it.
> All the best.
> 
> -- 
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-13 Thread Paolo Cavallini
Il 13/03/2017 11:10, Giovanni Manghi ha scritto:
>> * Processing throws an error:
>> ===
>> Couldn't load plugin processing due to an error when calling its
>> classFactory() method
> 
> Can't confirm on macOS Sierra and 2.18.2.

Thanks for checking. At first I also had no issue, but after some usage
the error popped up, and now I cannot get rid of it.
All the best.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-13 Thread Giovanni Manghi
> * Processing throws an error:
> ===
> Couldn't load plugin processing due to an error when calling its
> classFactory() method

Can't confirm on macOS Sierra and 2.18.2.


-- G --
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] QGIS 2.18 on OSX

2017-03-12 Thread Paolo Cavallini
Hi all,
I'm quickly testing QGIS 2.18 on OSX, and I'm finding several annoyances:
* the user is presented a notice about a new version being available
(2.18.4), but when visiting the download page only 2.18.2 is available
* Processing throws an error:
===
Couldn't load plugin processing due to an error when calling its
classFactory() method

TypeError: coercing to Unicode: need string or buffer, NoneType found

Traceback (most recent call last):
  File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 333, in startPlugin
plugins[packageName] = package.classFactory(iface)
  File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
line 38, in classFactory
return ProcessingPlugin(iface)
  File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/ProcessingPlugin.py",
line 58, in __init__
Processing.initialize()
  File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py",
line 148, in initialize
Processing.addProvider(c())
  File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py",
line 103, in addProvider
% (provider.getDescription(), traceback.format_exc()))
  File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaAlgorithmProvider.py",
line 123, in getDescription
version = SagaUtils.getSagaInstalledVersion()
  File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaUtils.py",
line 130, in getSagaInstalledVersion
commands = [os.path.join(sagaPath(), "saga_cmd -v")]
  File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaUtils.py",
line 75, in sagaPath
if not os.path.isdir(folder):
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/genericpath.py",
line 49, in isdir
st = os.stat(s)
TypeError: coercing to Unicode: need string or buffer, NoneType found


Python version: 2.7.10 (default, Jul 30 2016, 19:40:32) [GCC 4.2.1
Compatible Apple LLVM 8.0.0 (clang-800.0.34)]
QGIS version: 2.18.2 Las Palmas, exported

Python Path:

/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing
/Applications/QGIS.app/Contents/MacOS/../Resources/python
/Users/ToscaMac/.qgis2/python
/Users/ToscaMac/.qgis2/python/plugins
/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins
/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7
/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages
/Library/Python/2.7/site-packages/numpy-override
/Library/Python/2.7/site-packages/matplotlib-override
/Library/Frameworks/GDAL.framework/Versions/2.1/Python/2.7/site-packages
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
/Library/Python/2.7/site-packages
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC
/Users/ToscaMac/.qgis2//python
/Users/ToscaMac/.qgis2/python/plugins
===
Any hope to improve this? I'm available for help and further testing.
All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer