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

Can't edit OTB applications folder in processing module #19634

Closed
qgib opened this issue Oct 6, 2014 · 15 comments
Closed

Can't edit OTB applications folder in processing module #19634

qgib opened this issue Oct 6, 2014 · 15 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 Oct 6, 2014

Author Name: Manuel Grizonnet (@grizonnetm)
Original Redmine Issue: 11340
Affected QGIS version: master
Redmine category:processing/core
Assignee: Victor Olaya


I've got a local installation of orfeo toolbox on my system and I try to change the otb applications folder and command line folder in the processing settings. Default paths are empty which is normal as I do not have an OTB installed in /usr or /usr/local.

It is impossible to change thos paths, when I click on the txt label to edit, I've got this Python message:

Une erreur est apparue lors de l'exécution du code Python :

Traceback (most recent call last):
  File "/usr/share/qgis/python/plugins/processing/gui/ConfigDialog.py", line 186, in createEditor
    value = self.convertValue(index.model().data(index, Qt.EditRole))
  File "/usr/share/qgis/python/plugins/processing/gui/ConfigDialog.py", line 233, in convertValue
    return int(value)
TypeError: int() argument must be a string or a number, not 'NoneType'


Version de Python :
2.7.6 (default, Mar 22 2014, 23:03:41) 
[GCC 4.8.2]


Version de QGIS :
2.4.0-Chugiak Chugiak, exported

Chemin vers Python : ['/usr/share/qgis/python/plugins/processing', '/usr/share/qgis/python', u'/home/grizonnetm/.qgis2/python', u'/home/grizonnetm/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', '/usr/share/qgis/python/plugins/fTools/tools']

Please note also that I can edit the geoid file and the SRTM tiles folder.


@qgib
Copy link
Contributor Author

qgib commented Oct 10, 2014

Author Name: Jürgen Fischer (@jef-n)


  • category_id was configured as 120
  • subject was changed from C'ant edit OTB applications folder in processing module to Can't edit OTB applications folder in processing module

@qgib
Copy link
Contributor Author

qgib commented Oct 16, 2014

Author Name: Giovanni Manghi (@gioman)


no error on qgis master, can you confirm?


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Oct 16, 2014

Author Name: Manuel Grizonnet (@grizonnetm)


I need to compile a local version of qgis master. I'll let you know.

@qgib
Copy link
Contributor Author

qgib commented Oct 20, 2014

Author Name: Manuel Grizonnet (@grizonnetm)


Manuel Grizonnet wrote:

I need to compile a local version of qgis master. I'll let you know.

I've got an issue when I try to compile qgis-dev. At startup I can't load PyQGIS, Python is then deactivated and I can't see processing section in the GUI. Any idea on how to solve this?

I attach my CMakeCache.txt

Thanks in advance.


  • 7976 was configured as CMakeCache.txt

@qgib
Copy link
Contributor Author

qgib commented Oct 20, 2014

Author Name: Giovanni Manghi (@gioman)


Can't you try the nightly builds available for Ubuntu or debian?

@qgib
Copy link
Contributor Author

qgib commented Oct 20, 2014

Author Name: Manuel Grizonnet (@grizonnetm)


Giovanni Manghi wrote:

Can't you try the nightly builds available for Ubuntu or debian?

I am able now to reproduce the issue with a fresh install using the nightly build of QGIS on Ubuntu 14.04.

When I try to edit the OTB application folder in the processing settings.

Une erreur est apparue lors de l'exécution du code Python :


Traceback (most recent call last):
  File "/usr/share/qgis/python/plugins/processing/gui/ConfigDialog.py", line 186, in createEditor
    value = self.convertValue(index.model().data(index, Qt.EditRole))
  File "/usr/share/qgis/python/plugins/processing/gui/ConfigDialog.py", line 233, in convertValue
    return int(value)
TypeError: int() argument must be a string or a number, not 'NoneType'


Version de Python :
2.7.6 (default, Mar 22 2014, 23:03:41) 
[GCC 4.8.2]


Version de QGIS :
2.5.0-Master Master, exported

@qgib
Copy link
Contributor Author

qgib commented Oct 20, 2014

Author Name: Giovanni Manghi (@gioman)


  • assigned_to_id was configured as Victor Olaya

@qgib
Copy link
Contributor Author

qgib commented Oct 20, 2014

Author Name: Giovanni Manghi (@gioman)


  • version was changed from 2.4.0 to master

@qgib
Copy link
Contributor Author

qgib commented Oct 20, 2014

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Feedback to Open

@qgib
Copy link
Contributor Author

qgib commented Oct 21, 2014

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "f2b7c0fcf84923b399748c9bf2dbc5190398325c".


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Oct 23, 2014

Author Name: Manuel Grizonnet (@grizonnetm)


Jürgen Fischer wrote:

Fixed in changeset "f2b7c0fcf84923b399748c9bf2dbc5190398325c".

Thanks a lot for the quick fix before releasing 2.6!

Manuel

@qgib
Copy link
Contributor Author

qgib commented May 1, 2017

Author Name: Giovanni Manghi (@gioman)


  • regression was configured as 0

@qgib
Copy link
Contributor Author

qgib commented May 1, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0

@qgib
Copy link
Contributor Author

qgib commented May 1, 2017

Author Name: Giovanni Manghi (@gioman)


Some providers are being removed from QGIS/Processing (will be available as plugin) and so are their categories in the bug tracker. To not leave them orphaned of a category they are being reassigned to processing/core.

@qgib
Copy link
Contributor Author

qgib commented May 1, 2017

Author Name: Giovanni Manghi (@gioman)


  • category_id was changed from 120 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