17302021-7-26 00:00:58 | Python Exception <TypeError>: '<' not supported between instances of 'str' and 'NoneType'17312021-7-26 00:00:58 | Traceback (most recent call last):17322021-7-26 00:00:58 | File "AttributePivoter\\__init__.py", line 163, in close17332021-7-26 00:00:58 | File "AttributePivoter\\__init__.py", line 268, in generate17342021-7-26 00:00:58 | TypeError: '<' not supported between instances of 'str' and 'NoneType'17352021-7-26 00:00:58 |17362021-7-26 00:00:58 | AttributePivoter (PythonFactory): PythonFactory failed to close properly17372021-7-26 00:00:58 | AttributePivoter (PythonFactory): A fatal error has occurred. Check the logfile above for details17382021-7-26 00:00:58 | AttributePivoter (PythonFactory): A fatal error has occurred. Check the logfile above for details17392021-7-26 00:00:58 | A fatal error has occurred. Check the logfile above for details
Just out of curiousity, is this on a new FME Server installation or has that workspace been restored from a backup of a previous version?
Hi @keyurpatel ,
I wanted to update this ticket with the answer we found in the support case you submitted, in case anyone else runs into a similar problem.
In the FailureByWorkspace.fmw the CSV Reader is set to:
$(FME_SHAREDRESOURCE_DASHBOARD)/temp/*.csv
It is meant to read in the CSV filed written by the JobHistoryStatisticsGathering.fmw, however you are also storing other CSV files here that the workspace was reading in, the Attribute Pivoter was then running into issues because the features from these other files do not contain the Attribute to analyse. To fix this issue:
1. Download FailureByWorkspace.fmw
2. Open in FME Workbench and in the Navigator go to User Parameters > Private Parameters
3. Edit the dInput] CSV File Location and update the value to:
$(FME_SHAREDRESOURCE_DASHBOARD)/temp/JobHistorySnapshot_*.csv
4. Re-publish the workspace to FME Server