[Qgis-developer] fTools problems

John C. Tull john.tull at wildnevada.org
Sat Aug 23 16:21:15 EDT 2008


Carson,

There seem to be multiple problems on the Mac platform (OS X 10.5.4  
with Qt4.4.1). From a recent svn build, I have strange problems with  
truncated file paths when selecting the "Output Path" for many of the  
tools. If I browse to a path called /Users/username/Desktop, the path  
may show as /Users/usern once the browse dialog is closed. This does  
not seem to happen always, so I have no idea as to why this occurs.

I just tried using the Distance Matrix analysis tool. No problem  
browsing to my Desktop folder to create a file called test.csv. When I  
ran the tool, though, a python error window came up with this message:

An error has occured while executing Python code:

Traceback (most recent call last):
   File "/Users/jctull/.qgis/python/plugins/fTools/tools/ 
doPointDistance.py", line 104, in accept
     self.compute(point1, point2, field1, field2, outPath, matType,  
nearest, self.progressBar)
   File "/Users/jctull/.qgis/python/plugins/fTools/tools/ 
doPointDistance.py", line 144, in compute
     sRs = provider1.getSRS()
AttributeError: getSRS

Python version:
2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)]

Python path:['/Applications/qgis1.0.0.app/Contents/MacOS/share/qgis/ 
python', '/Users/jctull/.qgis//python/plugins', '/Applications/ 
qgis1.0.0.app/Contents/MacOS/share/qgis/python/plugins', '/Library/ 
Python/2.5/site-packages/Shapely-1.0.4-py2.5.egg', '/Library/Python/ 
2.5/site-packages/GDAL-1.5.2-py2.5-macosx-10.5-i386.egg', '/Library/ 
Python/2.5/site-packages/simplejson-1.9.2-py2.5-macosx-10.5-i386.egg',  
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python25.zip', '/System/Library/Frameworks/Python.framework/Versions/ 
2.5/lib/python2.5', '/System/Library/Frameworks/Python.framework/ 
Versions/2.5/lib/python2.5/plat-darwin', '/System/Library/Frameworks/ 
Python.framework/Versions/2.5/lib/python2.5/plat-mac', '/System/ 
Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat- 
mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/ 
Versions/2.5/Extras/lib/python', '/System/Library/Frameworks/ 
Python.framework/Versions/2.5/lib/python2.5/lib-tk', '/System/Library/ 
Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload', '/ 
Library/Python/2.5/site-packages', '/System/Library/Frameworks/ 
Python.framework/Versions/2.5/Extras/lib/python/PyObjC', '/Users/ 
jctull/.qgis/python/plugins/fTools/tools']

Generally speaking, these tools are not working on OS X. At least from  
my experience. If I can assist you in debugging those this coming  
week, feel free to email me on or off list. I will try to be on irc  
also.

Thanks,
John

On Aug 23, 2008, at 9:24 AM, Carson Farmer wrote:

> Hello lists,
>
> I have been away for a large portion of the summer, and as a result
> have fallen behind in terms of bug-fixes etc. associated with fTools.
> As such, I am asking anyone who has used this plugin to let me know of
> any and all problems that you have experienced. I would like to
> release a significantly improved version once QGIS 1.0 has been
> released, and therefore would like to incorporate as many
> suggestions/bug-fixes/improvements as possible. For those of you who
> have already sent me emails regarding this, thank you, I will continue
> to try to address these problems, though if you were to send me your
> problems again, I would probably be able to get to them sooner.
>
> Thanks,
>
> Carson
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list