(py311) (base) edgar1993a@linada01:/home/edgar1993a/work/pyFAI$ pyFAI-diffmap ../pilx_test/RAW_DATA/scan0001/eiger/eiger_0000.h5 -r 6 -t 6 -o /tmp/kkk.h5 --config ../pilx_test/config.json --no-gui
INFO:numexpr.utils:Note: NumExpr detected 16 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.
INFO:numexpr.utils:NumExpr defaulting to 8 threads.
INFO:pyFAI.method_registry:Degrading method from Method(dim=1, split='pseudo', algo='histogram', impl='*', target=None) -> Method(dim=1, split='bbox', algo='histogram', impl='*', target=None)
ERROR:pyFAI.io.ponifile:PoniFile claim to be version 2 but contains no `detector_config` !!!
Traceback (most recent call last):
File "/home/edgar1993a/py311/bin/pyFAI-diffmap", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/edgar1993a/py311/lib/python3.11/site-packages/pyFAI/app/diff_map.py", line 75, in main
dt.configure_worker(config["ai"])
File "/home/edgar1993a/py311/lib/python3.11/site-packages/pyFAI/diffmap.py", line 352, in configure_worker
self.worker.set_config(dico or self.poni)
File "/home/edgar1993a/py311/lib/python3.11/site-packages/pyFAI/worker.py", line 458, in set_config
_init_ai(self.ai, config, consume_keys=True, read_maps=False)
File "/home/edgar1993a/py311/lib/python3.11/site-packages/pyFAI/worker.py", line 154, in _init_ai
poni = config_reader.pop_ponifile()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/edgar1993a/py311/lib/python3.11/site-packages/pyFAI/io/integration_config.py", line 221, in pop_ponifile
return ponifile.PoniFile(dico)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/edgar1993a/py311/lib/python3.11/site-packages/pyFAI/io/ponifile.py", line 66, in __init__
self.read_from_dict(data)
File "/home/edgar1993a/py311/lib/python3.11/site-packages/pyFAI/io/ponifile.py", line 153, in read_from_dict
detector_name = config["detector"]
~~~~~~^^^^^^^^^^^^
KeyError: 'detector'