Discussion:
[otb-users] Orfeo segmenation tools in QGIS 2.6 : unsupported operand type(s) for +
Pierre Gancarski
2015-01-09 14:18:46 UTC
Permalink
I am having trouble processing an image through the Image Segmentation in
the OTB Toolbox of QGIS 2.6


I have a .tif image as Input Image box and keep all the parameters to
defaults (shown enclosed file) .

Once I select Run this error immediately shows up:


Algorithm Segmentation (cc) starting...

unsupported operand type(s) for +: 'NoneType' and 'str' Voir le journal
pour plus de détails


How I can do to fix this error?


Thanks in advance


Pierre
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Guillaume Pasero
2015-01-12 08:11:15 UTC
Permalink
Hi,

Have you checked what is produced in the "Log" tab of the application
window ?

Regards,
Guillaume
Post by Pierre Gancarski
I am having trouble processing an image through the Image Segmentation
in the OTB Toolbox of QGIS 2.6
I have a .tif image as Input Image box and keep all the parameters to
defaults (shown enclosed file) .
Algorithm Segmentation (cc) starting...
unsupported operand type(s) for +: 'NoneType' and 'str' Voir le
journal pour plus de détails
How I can do to fix this error?
Thanks in advance
Pierre
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
<www.c-s.fr> *Guillaume PASERO*
Ingénieur d'études et développement
*Business Unit E-SPACE & Geo Information*
<https://thor.si.c-s.fr/blogs/cs-blogs-business/>*- Département
APPLICATIONS*

*CS SystÚmes d'Information*
Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
+33 561 17 64 21 - ***@c-s.fr
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Pierre Gancarski
2015-01-13 13:03:00 UTC
Permalink
Only this sentence :

Algorithm Segmentation (cc) starting...

unsupported operand type(s) for +: 'NoneType' and 'str' Voir le journal
pour plus de détails



Pierre
Post by Guillaume Pasero
Hi,
Have you checked what is produced in the "Log" tab of the application
window ?
Regards,
Guillaume
I am having trouble processing an image through the Image Segmentation in
the OTB Toolbox of QGIS 2.6
I have a .tif image as Input Image box and keep all the parameters to
defaults (shown enclosed file) .
Algorithm Segmentation (cc) starting...
unsupported operand type(s) for +: 'NoneType' and 'str' Voir le journal
pour plus de détails
How I can do to fix this error?
Thanks in advance
Pierre
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
<javascript:>
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
<http://www.c-s.fr> *Guillaume PASERO*
Ingénieur d'études et développement
*Business Unit E-SPACE & Geo Information*
<https://thor.si.c-s.fr/blogs/cs-blogs-business/>* - Département
APPLICATIONS*
*CS SystÚmes d'Information*
Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
CedricL
2015-01-14 11:14:16 UTC
Permalink
Hello,

In the past I had this kind of problem when some you have special caracter
or space in the name of input/output fil or in the fulle path.

Can you please copy and paste the output of the log file which contain all
the parameter send to otb in Qgis in order to see that ?

Best
Post by Pierre Gancarski
Algorithm Segmentation (cc) starting...
unsupported operand type(s) for +: 'NoneType' and 'str' Voir le journal
pour plus de détails
Pierre
Post by Guillaume Pasero
Hi,
Have you checked what is produced in the "Log" tab of the application
window ?
Regards,
Guillaume
I am having trouble processing an image through the Image Segmentation in
the OTB Toolbox of QGIS 2.6
I have a .tif image as Input Image box and keep all the parameters to
defaults (shown enclosed file) .
Algorithm Segmentation (cc) starting...
unsupported operand type(s) for +: 'NoneType' and 'str' Voir le journal
pour plus de détails
How I can do to fix this error?
Thanks in advance
Pierre
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
<http://www.c-s.fr> *Guillaume PASERO*
Ingénieur d'études et développement
*Business Unit E-SPACE & Geo Information*
<https://thor.si.c-s.fr/blogs/cs-blogs-business/>* - Département
APPLICATIONS*
*CS SystÚmes d'Information*
Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Pierre Gancarski
2015-01-14 14:59:46 UTC
Permalink
The name of the file doesn't contain any special characters

I joint a copy of the log.

I don't have log file (or I don't know where it is localized)

I tried with a lot of others images: same result !

Pierre
Post by CedricL
Hello,
In the past I had this kind of problem when some you have special caracter
or space in the name of input/output fil or in the fulle path.
Can you please copy and paste the output of the log file which contain all
the parameter send to otb in Qgis in order to see that ?
Best
Post by Pierre Gancarski
Algorithm Segmentation (cc) starting...
unsupported operand type(s) for +: 'NoneType' and 'str' Voir le journal
pour plus de détails
Pierre
Post by Guillaume Pasero
Hi,
Have you checked what is produced in the "Log" tab of the application
window ?
Regards,
Guillaume
I am having trouble processing an image through the Image Segmentation
in the OTB Toolbox of QGIS 2.6
I have a .tif image as Input Image box and keep all the parameters to
defaults (shown enclosed file) .
Algorithm Segmentation (cc) starting...
unsupported operand type(s) for +: 'NoneType' and 'str' Voir le journal
pour plus de détails
How I can do to fix this error?
Thanks in advance
Pierre
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
<http://www.c-s.fr> *Guillaume PASERO*
Ingénieur d'études et développement
*Business Unit E-SPACE & Geo Information*
<https://thor.si.c-s.fr/blogs/cs-blogs-business/>* - Département
APPLICATIONS*
*CS SystÚmes d'Information*
Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Michel Julien
2015-01-14 15:08:11 UTC
Permalink
Hi Pierre,

Can you try to change your parameters as follows :
In Output Vector File parameter, specify an explicit filename instead of the default “temporary file”.

Regards,

Julien

De : otb-***@googlegroups.com [mailto:otb-***@googlegroups.com] De la part de Pierre Gancarski
Envoyé : mercredi 14 janvier 2015 16:00
À : otb-***@googlegroups.com
Objet : Re: [otb-users] Orfeo segmenation tools in QGIS 2.6 : unsupported operand type(s) for +


The name of the file doesn't contain any special characters

I joint a copy of the log.

I don't have log file (or I don't know where it is localized)

I tried with a lot of others images: same result !

Pierre





On Wednesday, January 14, 2015 at 12:14:17 PM UTC+1, CedricL wrote:
Hello,

In the past I had this kind of problem when some you have special caracter or space in the name of input/output fil or in the fulle path.

Can you please copy and paste the output of the log file which contain all the parameter send to otb in Qgis in order to see that ?

Best

On Tuesday, January 13, 2015 at 2:03:00 PM UTC+1, Pierre Gancarski wrote:
Only this sentence :

Algorithm Segmentation (cc) starting...

unsupported operand type(s) for +: 'NoneType' and 'str' Voir le journal pour plus de détails



Pierre
On Monday, January 12, 2015 at 9:11:18 AM UTC+1, Guillaume Pasero wrote:
Hi,

Have you checked what is produced in the "Log" tab of the application window ?

Regards,
Guillaume

Le 09/01/2015 15:18, Pierre Gancarski a écrit :

I am having trouble processing an image through the Image Segmentation in the OTB Toolbox of QGIS 2.6



I have a .tif image as Input Image box and keep all the parameters to defaults (shown enclosed file) .
Once I select Run this error immediately shows up:



Algorithm Segmentation (cc) starting...

unsupported operand type(s) for +: 'NoneType' and 'str' Voir le journal pour plus de détails



How I can do to fix this error?



Thanks in advance



Pierre
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com<mailto:otb-***@googlegroups.com>
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
<http://www.c-s.fr>[X]<http://www.c-s.fr/><http://www.c-s.fr>

Guillaume PASERO
Ingénieur d'études et développement
Business Unit E-SPACE & Geo Information<https://thor.si.c-s.fr/blogs/cs-blogs-business/> - Département APPLICATIONS

CS SystÚmes d'Information
Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
+33 561 17 64 21 - ***@c-s.fr<mailto:***@c-s.fr>

--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com<mailto:otb-***@googlegroups.com>
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Pierre Gancarski
2015-01-19 10:36:31 UTC
Permalink
Post by Michel Julien
Hi Pierre,
In Output Vector File parameter, specify an explicit filename instead of
the default “temporary file”.
I have move "tempororary file" to an explicit filename (cf parameters1.png)
==> same bad result ...

I have also change name of input file (parameters2.png) ==> same bad result
...

P.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Manuel Grizonnet
2015-01-12 08:36:15 UTC
Permalink
Hi,

I think that somebody else already report the same issue on stackexchange:

gis.stackexchange.com/questions/121506/orfeo-toolbox-otb-kmeans-classification-issues-qgis-2-4

I think that it is related on the way that QGIS handle OTB parameters. A
bug should be reported to QGIS (perhaps it is already done)
Post by Pierre Gancarski
I am having trouble processing an image through the Image Segmentation
in the OTB Toolbox of QGIS 2.6
I have a .tif image as Input Image box and keep all the parameters to
defaults (shown enclosed file) .
Algorithm Segmentation (cc) starting...
unsupported operand type(s) for +: 'NoneType' and 'str' Voir le
journal pour plus de détails
How I can do to fix this error?
Thanks in advance
Pierre
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
Manuel GRIZONNET
CNES - DCT/SI/AP - BPI 1219
18, avenue Edouard Belin
31401 Toulouse Cedex 09 - France
Tel: +33 561 282 630 - Fax: +33 561 283 109
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Pierre MASSIP
2015-06-11 10:00:09 UTC
Permalink
dear all,


I just discover the acces to OTB from QGIS and I have the same error:
"unsupported operand type(s) for +: 'NoneType' and 'str' Voir le journal
pour plus de détails"

I had this message for all processing I tested, name and path or file are
normal.
If someone have a solution.
Post by Pierre Gancarski
I am having trouble processing an image through the Image Segmentation in
the OTB Toolbox of QGIS 2.6
I have a .tif image as Input Image box and keep all the parameters to
defaults (shown enclosed file) .
Algorithm Segmentation (cc) starting...
unsupported operand type(s) for +: 'NoneType' and 'str' Voir le journal
pour plus de détails
How I can do to fix this error?
Thanks in advance
Pierre
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...