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

Default value in string parameter in the GUI modeler #19027

Closed
qgib opened this issue Jun 18, 2014 · 3 comments
Closed

Default value in string parameter in the GUI modeler #19027

qgib opened this issue Jun 18, 2014 · 3 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 Jun 18, 2014

Author Name: Etienne Trimaille (@Gustry)
Original Redmine Issue: 10624
Affected QGIS version: master
Redmine category:processing/core
Assignee: Victor Olaya


I get this error while trying to put this default value in string parameter :

<osm-script output="json" timeout="25">
  <!-- gather results -->
  <union>
    <!-- query part for: “shop=supermarket” -->
    <query type="node">
      <has-kv k="shop" v="supermarket"/>
      <bbox-query {{bbox}}/>
    </query>
    <query type="way">
      <has-kv k="shop" v="supermarket"/>
      <bbox-query {{bbox}}/>
    </query>
    <query type="relation">
      <has-kv k="shop" v="supermarket"/>
      <bbox-query {{bbox}}/>
    </query>
  </union>
  <!-- print results -->
  <print mode="body"/>
  <recurse type="down"/>
  <print mode="skeleton" order="quadtile"/>
</osm-script>

Traceback (most recent call last):
  File "/home/etienne/.qgis2/python/plugins/processing/modeler/ModelerParameterDefinitionDialog.py", line 327, in okPressed
    str(self.defaultTextBox.text()))
UnicodeEncodeError: 'ascii' codec can't encode character u'\\u201c' in position 84: ordinal not in range(128)

@qgib
Copy link
Contributor Author

qgib commented Jun 19, 2014

Author Name: Giovanni Manghi (@gioman)


  • version was changed from 2.2.0 to master
  • fixed_version_id removed Future Release - Lower Priority

@qgib
Copy link
Contributor Author

qgib commented Jul 3, 2014

Author Name: Victor Olaya (@volaya)


Fixed in changeset "2f5d118d4d6cb4de7e355d5069323121681ae4b3".


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Jun 7, 2015

Author Name: Giovanni Manghi (@gioman)


  • category_id was changed from 94 to Processing/Core

@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 25, 2019
@qgib qgib closed this as completed May 25, 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