Hi all.
I’m writing a parser for software called Lightforge. Uploading some files to our Oasis to test this parser failed with some “WorkflowNormalizer” error:
root":{
“errors”:string"normalizer failed with exception"
“event”:string"process failed"
“proc”:string"Entry"
“process”:string"process_entry"
“process_worker_id”:string"ChBgKW3vT6OZZde5-oAw2Q"
“parser”:string"parsers/lightforge"
“error”:string"‘NoneType’ object has no attribute ‘normalize’"
“normalizer”:string"WorkflowNormalizer"
“step”:string"WorkflowNormalizer"
“logger”:string"nomad.processing"
“exception”:string"Traceback (most recent call last): File “/usr/local/lib/python3.9/site-packages/nomad/processing/data.py”, line 1228, in normalizing normalizer(self._parser_results).normalize(logger=logger) File “/usr/local/lib/python3.9/site-packages/nomad/normalizing/workflow.py”, line 86, in normalize workflow.normalize(self.entry_archive, logger) AttributeError: ‘NoneType’ object has no attribute ‘normalize’"
“timestamp”:string"2023-11-15 15:34.20"
“level”:string"ERROR"
}
Traceback (most recent call last):
File “/usr/local/lib/python3.9/site-packages/nomad/processing/data.py”, line 1228, in normalizing
normalizer(self._parser_results).normalize(logger=logger)
File “/usr/local/lib/python3.9/site-packages/nomad/normalizing/workflow.py”, line 86, in normalize
workflow.normalize(self.entry_archive, logger)
AttributeError: ‘NoneType’ object has no attribute ‘normalize’
“root”:{
“event”:string"processing error"
“level”:string"ERROR"
“timestamp”:string"2023-11-15T15:34:14.274000+00:00"
“processing_errors”:[
0:
string"process failed"
]
In the Lightforge parser, I have not specified anything related to workflow, same as with my other parsers (which work and dont cause this error message). However, as a side note, all my other parsers add “single point” to entries automatically, dont know whether this has to do with my problem here.
Would be great if someone could help here, thanks in advance!
Best
Fabian