Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fTools Merge Shapefiles command object type checking #14925

Closed
qgib opened this issue Mar 15, 2012 · 5 comments
Closed

fTools Merge Shapefiles command object type checking #14925

qgib opened this issue Mar 15, 2012 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Mar 15, 2012

Author Name: Andy Harfoot (Andy Harfoot)
Original Redmine Issue: 5182
Affected QGIS version: 1.7.4
Redmine category:processing/qgis


Using the merge shapefiles command from fTools, if the 'Select by layers in the folder' option is checked, then despite the Shapefile type dropdown control being disabled, its value is still respected when the command is run, resulting in the process failing if the input files are of a different object type.

This behaviour is not seen in the separate Merge Shapefiles plugin which the fTools command is based on. Could this be used to update the fTools code?

@qgib
Copy link
Contributor Author

qgib commented Mar 15, 2012

Author Name: Alexander Bruy (@alexbruy)


  • category_id was configured as 44

@qgib
Copy link
Contributor Author

qgib commented Mar 15, 2012

Author Name: Alexander Bruy (@alexbruy)


Not reproducible here with master and latest release-1_7. Please try and report


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Mar 15, 2012

Author Name: Andy Harfoot (Andy Harfoot)


My mistake - the original error was obtained using QGIS 1.7.3 (standalone install) on Win 7 64 bit. I can't reproduce on 1.7.4 (OSGeo4W package install, Win7 64bit) as trying results in the following Python error, regardless of whether the 'Select by layers in the folder' option is checked or not. Once again, the independent MergeShapes plugin works without problem.

An error has occured while executing Python code:

Traceback (most recent call last):
File "C:\OSGeo4W\apps\qgis\python\plugins\fTools\tools\doMergeShapes.py", line 124, in accept
if self.inEncoding == None:
AttributeError: 'Dialog' object has no attribute 'inEncoding'

Python version:
2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]

QGIS version:
1.7.4-Wroclaw Wroclaw, 411aff6

@qgib
Copy link
Contributor Author

qgib commented Mar 15, 2012

Author Name: Alexander Bruy (@alexbruy)


This error already fixed. You can use master or wait for 1.7.5/1.8.0


  • resolution was changed from to fixed
  • status_id was changed from Feedback to Closed

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


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

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

1 participant