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

Split vector layer doesn't work with the fields containing Cyrillics #12626

Closed
qgib opened this issue Mar 20, 2010 · 2 comments
Closed

Split vector layer doesn't work with the fields containing Cyrillics #12626

qgib opened this issue Mar 20, 2010 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Mar 20, 2010

Author Name: dr - (dr -)
Original Redmine Issue: 2566

Redmine category:python_plugins
Assignee: cfarmer -


Subj. Example of layer in attachment. Choose 'NAME' field and get an error:

An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\fTools\\tools\\doVectorSplit.py", line 76, in accept
    self.split(inLayer, unicode(outPath), unicode(inField), self.progressBar)
  File "C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\fTools\\tools\\doVectorSplit.py", line 165, in split
    writer = [[QgsVectorFileWriter]](baseName + "_" + unicode(i.toString().trimmed()) + ".shp", self.encoding, fieldList, vlayer.dataProvider().geometryType(), sRs)
[[TypeError]]: unsupported operand type(s) for +: 'QString' and 'unicode'

Python version:
2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]



@qgib
Copy link
Contributor Author

qgib commented May 5, 2010

Author Name: Alexander Bruy (@alexbruy)


Patch to fix this issue

@qgib
Copy link
Contributor Author

qgib commented May 13, 2010

Author Name: cfarmer - (cfarmer -)


Patch applied in b168560 (SVN r13478).

Carson


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

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins labels May 24, 2019
@qgib qgib added this to the Version 1.5.0 milestone 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! Plugins
Projects
None yet
Development

No branches or pull requests

1 participant