Skip to main content

This one is already solved. Writing is for documentation only as I could not find the solution here.

I had to debug a workbench from a coworker which was failing with the following error:

WARN  |ChartGenerator: Non-numeric input provided.  Please validate that the values of the "X Attribute","Y Attribute" and "Error Attribute" (if supplied) are numeric
FATAL |f_24(PythonFactory): PythonFactory failed to close properly
ERROR |f_24(PythonFactory): A fatal error has occurred. Check the logfile above for details

Due to the log pointing to non numeric input in the ChartGenerator it took me some time to find out that the error was caused by something different: One of the attribute names used in the ChartGenerator in the "Y attribute" contained a space.

I tested this in desktop 2017.1.1.0 / 2017.1.1.1 / 2018 beta (build 18220).

This is a known issue and filed under C133238.

Thanks for sharing!


ChartGenerator: Non-numeric input provided. Please validate that the values of the "X Attribute","Y Attribute" and "Error Attribute" (if supplied) are numeric

 

This error is still around in 2019: FME(R) 2019.1.3.1 (20191019 - Build 19643 and FME(R) 2019.1.3.1 (20191019 - Build 19643 - WIN64

 

Any ideas?


ChartGenerator: Non-numeric input provided. Please validate that the values of the "X Attribute","Y Attribute" and "Error Attribute" (if supplied) are numeric

 

This error is still around in 2019: FME(R) 2019.1.3.1 (20191019 - Build 19643 and FME(R) 2019.1.3.1 (20191019 - Build 19643 - WIN64

 

Any ideas?

Hi @felipeverdu1,

Is your issue the same as the reported where the error was caused by a space in the attribute? This issue (FMEENGINE-39953) appears to be fixed for FME 2018.1 and 2019.0, would you be able to share your workspace that outputs this error? I'd be happy to take a look at it and see if the issue needs a second look with our development team. Thanks!

 

 


@jovitaatsafe, I attach the workspace for review!

Br,

Felipe Verdúnone2pngraster.fmwt


@jovitaatsafe, I attach the workspace for review!

Br,

Felipe Verdúnone2pngraster.fmwt

The source is missing so I can't check myself, but can you add a Tester just before the ChartGenerator to check if the attributes "Alder" / "salaryK" / "salaryM" exist and have numeric values?

Because there are more possible reasons why this error comes up.


The source is missing so I can't check myself, but can you add a Tester just before the ChartGenerator to check if the attributes "Alder" / "salaryK" / "salaryM" exist and have numeric values?

Because there are more possible reasons why this error comes up.

Hi @nielsgerrits,

The source should be attached now, I believe.

Br,

Felipe

none2pngraster2.fmwt


Heya @felipeverdu1 you have either filled salaryK or salaryM:

This is causing your issue. If you map the missing values to zero (NullAttributeMapper) the chartgenerator wont fail.

I understand this does not help you, but the missing values are causing the error.

At least the error message is correct :D


Hi @nielsgerrits,

The source should be attached now, I believe.

Br,

Felipe

none2pngraster2.fmwt

Heya @felipeverdu1 you have either filled salaryK or salaryM:

This is causing your issue. If you map the missing values to zero (NullAttributeMapper) the chartgenerator wont fail.

I understand this does not help you, but the missing values are causing the error.

At least the error message is correct :D


Heya @felipeverdu1 you have either filled salaryK or salaryM:

This is causing your issue. If you map the missing values to zero (NullAttributeMapper) the chartgenerator wont fail.

I understand this does not help you, but the missing values are causing the error.

At least the error message is correct :D

@felipeverdu1 I think I fixed your workflow, if I understood correctly what you intended.

Got some nice scatters:

none2pngraster2_edit2.fmwt


@felipeverdu1 I think I fixed your workflow, if I understood correctly what you intended.

Got some nice scatters:

none2pngraster2_edit2.fmwt

Hi @nielsgerrits

It works really fine! You understood what I wanted.

Thanks a lot for your time! I appreciate it.

Br,

Felipe Verdú


Reply