Bug report #13215
Orfeo segmention tools in QGIS 2.10 : unsupported operand type(s) for +
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Victor Olaya | ||
Category: | Processing/Core | ||
Affected QGIS version: | 2.10.1 | Regression?: | No |
Operating System: | Windows | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 21276 |
Description
Dear all,
when trying to do an EdgeExtract in Orpheo tools in QGIS 2.10 Pisa I get the following error, no matter what I do (including trying to put the in- and output files in C:\\tmp to be sure there is no problem with spaces, special characters or length of paths):
Algorithm EdgeExtraction (touzi) starting...
unsupported operand type(s) for +: 'NoneType' and 'str' See log for more details
I just discovered these threads while searching for my problem:
where they propose to file a bug report to the QGis community. Is there anything I can do right now to get around this problem?
Thanks in advance and best regards
Jan
Associated revisions
[processing] prevent otb algorithms being run if otb not configured
fixes #13215
History
#1 Updated by Jan Peters-Anders over 9 years ago
I tracked this issue a bit more: This is the actual log entry for the above problem:
__015-08-13T10:52:47 2 Uncaught error while executing algorithm Traceback (most recent call last): Traceback (most recent call last):| File "C:/OSGEO4~1/apps/qgis/./python/plugins\\processing\\core\\GeoAlgorithm.py", line 227, in execute| self.processAlgorithm(progress)| File "C:/OSGEO4~1/apps/qgis/./python/plugins\\processing\\algs\\otb\\OTBAlgorithm.py", line 186, in processAlgorithm|TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'|__
I also tried to see if there was a problem with my Python installation but also the .pyc files are all compiled with the bundled 2.7 version, so it seems it should not be a version problem of Python (correct me if I'm wrong). The above problem seems also to occur with all the other Orfeo functions in the Processing Toolbox according to some random checks.
#2 Updated by Jürgen Fischer over 9 years ago
Jan Peters-Anders wrote:
I tracked this issue a bit more: This is the actual log entry for the above problem:
[...]
In line 186 the otbPath
is apparently None
instead if an empty string. In the latter case it would have told you to configure the OTB path. I suppose that's still what you have to do.
#3 Updated by Victor Olaya about 9 years ago
- Status changed from Open to Closed
Fixed in changeset ea712c6c231ab98a5ce47fdf9ab56574e9105d57.
#4 Updated by Giovanni Manghi over 7 years ago
- Regression? set to No
#5 Updated by Giovanni Manghi over 7 years ago
- Easy fix? set to No
#6 Updated by Giovanni Manghi over 7 years ago
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.
#7 Updated by Giovanni Manghi over 7 years ago
- Category changed from 120 to Processing/Core