Emma crashes when no map files were found
Closed this issue · 0 comments
holzkohlengrill commented
Description
Emma crashes when no map files were found:
(info) : Started processing at 13:02:25
(info) : Imported 1 global config entries:['MCU']
(info) : Processing the mapfiles of the configID "MCU"
(warning) : No file found for MCU_Application (pattern: \bApplicationHud\.map ); skipping...
(warning) : No file found for MCU_Bootloader (pattern: \bBootloaderHud\.map ); skipping...
(warning) : No mapfiles found for configID: "MCU"!
(warning) : The specificConfiguration of the configId "MCU" is invalid!
The configId "MCU" will not be analysed!
Traceback (most recent call last):
File "C:/0-repos/Emma/Emma/emma.py", line 225, in <module>
runEmma()
File "C:/0-repos/Emma/Emma/emma.py", line 221, in runEmma
main(parsedArguments)
File "C:/0-repos/Emma/Emma/emma.py", line 54, in main
memoryManager.createReports(arguments.memVis, arguments.memVisResolved, arguments.noprompt)
File "C:\0-repos\Emma\Emma\emma_libs\memoryManager.py", line 373, in createReports
createTeamScaleReports()
File "C:\0-repos\Emma\Emma\emma_libs\memoryManager.py", line 363, in createTeamScaleReports
for memEntryRow in consumerCollections["Section_Summary"]:
KeyError: 'Section_Summary'
Process finished with exit code 1
It seems that when no analysis is happening Emma tries to create the reports ... anyway.
- Check if there is a functional test which runs Emma without map files.
- Add new tests if this is not present
Steps to reproduce
Branch: 19-graphics
One configID with no map files found (but configured).