Re: [Qgis-user] sextante plugin on mac

2012-04-02 Thread John C. Tull
On Apr 2, 2012, at 9:30 AM, gene wrote:

> I can help in Python but the problem is that there is no version of SAGA GIS
> for Mac OS X. I tried to install it following 
> http://sourceforge.net/apps/trac/saga-gis/wiki/Compiling%20SAGA%20on%20Mac%20OS%20X
> http://sourceforge.net/apps/trac/saga-gis/wiki/Compiling%20SAGA%20on%20Mac%20OS%20X
>  
> but without success.

Hi Gene,

This is something that needs to be taken to the saga-gis dev community. I've 
also tried, unsuccessfully, to get saga built on my machine. The sextante pugin 
simply provides a convenient interface to the modules and libs of saga, in my 
understanding.

Regards,
John___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] sextante plugin on mac

2012-04-02 Thread Victor Olaya
Perfect, that it what I said I was looking for, colllaboration from
the community. It is not necessary to actually code, but to help me
(or others) do things easily, in this case considering that I do not
know anything about OSX

Regards

El día 2 de abril de 2012 17:58, John C. Tull  escribió:
> On Apr 1, 2012, at 2:19 AM, Victor Olaya wrote:
>>
>>> but others complaint about python (e.g. sextante help, or
>>> line intersections).
>>
>> Line intersection is fixed. The problem with help is that it calls the
>> default application for opening the pdf manual. I prepared it to work
>> on linux and windows...but not on mac, so basically it should be
>> trying to open it like it does in linux, which I gess it is not
>> working :(
>
> Hi Victor,
>
> What is your linux command? On OSX, a simple bash command of `open foo.pdf` 
> will open the default pdf viewer. I'm not sure if that helps or not.
>
> Regards,
> John
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] sextante plugin on mac

2012-04-02 Thread John C. Tull
On Apr 1, 2012, at 2:19 AM, Victor Olaya wrote:
> 
>> but others complaint about python (e.g. sextante help, or
>> line intersections).
> 
> Line intersection is fixed. The problem with help is that it calls the
> default application for opening the pdf manual. I prepared it to work
> on linux and windows...but not on mac, so basically it should be
> trying to open it like it does in linux, which I gess it is not
> working :(

Hi Victor,

What is your linux command? On OSX, a simple bash command of `open foo.pdf` 
will open the default pdf viewer. I'm not sure if that helps or not.

Regards,
John___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] sextante plugin on mac

2012-03-30 Thread Agustin Diez-Castillo
I've been testing sextante plugin on Mac with much pleasure and relative
success. Some ftools modules work (centroids, line to polygons, polygons to
line, voronoi polygons) as expected where other produce not visible results
(e.g. basic statics or nna, that pop up a new window but with anything
visible in there), but others complaint about python (e.g. sextante help,
or line intersections). I can provide a more complete report if needed. As
far as I can't red the instructions under sextante help, maybe my settings
are wrong.
Tested in both 1.7.4 and 1.9alpha


*Help*

*
*

Traceback (most recent call last):
  File "/Users/adiez/.qgis/python/plugins/sextante/SextantePlugin.py", line
126, in openHelp
subprocess.call(('xdg-open', filename))
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 486, in call
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 672, in __init__
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 1202, in _execute_child
OSError: [Errno 2] No such file or directory

Versión de Python:
2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]


Versión de QGIS:
1.9.90-Alpha Alpha, e13e45f

Ruta de Python: ['/Users/user/.qgis/python/plugins/sextante',
'/Applications/QGIS-1.9.app/Contents/MacOS/../Resources/python',
'/Users/user/.qgis/python', '/Users/adiez/.qgis/python/plugins',
'/Applications/QGIS-1.9.app/Contents/MacOS/../Resources/python/plugins',
'/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.7',
'/Library/Python/2.7/site-packages/numpy-override',
'/Library/Frameworks/GDAL.framework/Versions/1.9/Python/2.7/site-packages',
'/Library/Frameworks/cairo.framework/Versions/1/Python/2.7',
'/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/Extras/lib/python',
'/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',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
'/Library/Python/2.7/site-packages',
'/Applications/QGIS-1.9.app/Contents/Resources/python/plugins/fTools/tools']

*---*

*line intersections*


Traceback (most recent call last):
  File
"/Users/adiez/.qgis/python/plugins/sextante/gui/ParametersDialog.py", line
274, in accept
AlgorithmExecutor.runalg(self.alg, self)
  File
"/Users/adiez/.qgis/python/plugins/sextante/gui/AlgorithmExecutor.py", line
9, in runalg
alg.execute(progress)
  File "/Users/adiez/.qgis/python/plugins/sextante/core/GeoAlgorithm.py",
line 59, in execute
self.processAlgorithm(progress)
  File
"/Users/adiez/.qgis/python/plugins/sextante/ftools/LinesIntersection.py",
line 49, in processAlgorithm
check = QFile(self.shapefileName)
AttributeError: LinesIntersection instance has no attribute 'shapefileName'

Versión de Python:
2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]


Versión de QGIS:
1.9.90-Alpha Alpha, e13e45f

Ruta de Python: ['/Users/adiez/.qgis/python/plugins/sextante',
'/Applications/QGIS-1.9.app/Contents/MacOS/../Resources/python',
'/Users/adiez/.qgis/python', '/Users/adiez/.qgis/python/plugins',
'/Applications/QGIS-1.9.app/Contents/MacOS/../Resources/python/plugins',
'/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.7',
'/Library/Python/2.7/site-packages/numpy-override',
'/Library/Frameworks/GDAL.framework/Versions/1.9/Python/2.7/site-packages',
'/Library/Frameworks/cairo.framework/Versions/1/Python/2.7',
'/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/Extras/lib/python',
'/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',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/pyth