Skip to main content
Question

Is AttributePivoter broken? Or is it some python integration?

  • March 30, 2021
  • 3 replies
  • 34 views

mathiku
Supporter
Forum|alt.badge.img+8

AttributePivoter has started failing with a "WARN |Python Exception <TypeError>: '<' not supported between instances of 'str' and 'float'".

Prior to sending features into AttributePivoter I validate the features and they all pass as numeric .

I am aware of numerous workarounds and custom transformers - I am just curious about this error.

I hope the image is sufficient information - the Transformer Parameters are on the left hand side.

2021-03-30 19_19_24-orb-pc3789.corp.pbwan.net - Remote Desktop Connection 

PS: I tried numerous python installations - including my OSGEO4W 3.7 - and both FME 2020 and FME 2021.

3 replies

Forum|alt.badge.img+1
  • March 31, 2021

A wild stab in the dark, since I see scandinavianisms in the log (hej hej!) - is it a dot vs comma issue for the values? I.e. localization clashes where it doesn't understand decimal . vs decimal , - obviously the validator should have the same issues, so I am not super-convinced about my own suggestion.


ebygomm
Influencer
Forum|alt.badge.img+45
  • Influencer
  • March 31, 2021

andreaatsafe
Safer
Forum|alt.badge.img+14

Update:

This issue has been addressed in FME 2021.1 and newer