Bug report #8103

Ftools - Distance Matrix does not work

Added by vinayan Parameswaran over 10 years ago. Updated almost 7 years ago.

Affected QGIS version:master Regression?:
Operating System: Easy fix?:
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:16938


Distance matrix does not work after the recent python updates.

Issue 1 - 'Input Unique Id' combobox is not populated.
Issue 2 - select the browse button and enter any filename(.csv)..press ok.. the following message pops up.

An error has occured while executing Python code:

Traceback (most recent call last):
  File "/home/vinayan/gitQgisBuild/output/python/plugins/fTools/tools/doPointDistance.py", line 145, in saveFile
    if filePath.right(4) != ".csv": filePath = filePath + ".csv" 
AttributeError: 'unicode' object has no attribute 'right'

Python version:
2.7.3 (default, Aug  1 2012, 05:25:23) 
[GCC 4.6.3]

QGIS version:
1.9.0-Master Master, da0e4f3

Associated revisions

Revision 6eb31889
Added by Matthias Kuhn over 10 years ago

[ftools] Fix distance matrix (Fix #8103)


#1 Updated by Matthias Kuhn over 10 years ago

  • Status changed from Open to Closed

#2 Updated by Giovanni Manghi almost 7 years ago

The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.

Also available in: Atom PDF