Failure
Traceback (most recent call last):
File "C:\0-repos\Emma\tests\functional_tests\test__cmd_line.py", line 212, in test_normalRun
Emma.emma_vis.main(argsEmmaVis)
File "C:\0-repos\Emma\tests\functional_tests\..\..\Emma\emma_vis.py", line 110, in main
consumptionModule.appendModuleConsumptionToMarkdownOverview(markdownFilePath)
File "C:\0-repos\Emma\tests\functional_tests\..\..\Emma\emma_vis_libs\dataVisualiserObjects.py", line 151, in appendModuleConsumptionToMarkdownOverview
self.plotByCategorisedModules(plotShow=False) # Re-write .png to ensure up-to-date overview
File "C:\0-repos\Emma\tests\functional_tests\..\..\Emma\emma_vis_libs\dataVisualiserObjects.py", line 52, in plotByCategorisedModules
Emma.shared_libs.emma_helper.saveMatplotlibPicture(figure, os.path.join(self.resultsPath, filename), MEMORY_ESTIMATION_PICTURE_FILE_EXTENSION, MEMORY_ESTIMATION_PICTURE_DPI, False)
File "C:\0-repos\Emma\tests\functional_tests\..\..\Emma\shared_libs\emma_helper.py", line 299, in saveMatplotlibPicture
pictureData.savefig(fileObject, format=savefigFormat, dpi=savefigDpi, transparent=savefigTransparent)
File "C:\Program Files (x86)\Python37-32\lib\site-packages\matplotlib\figure.py", line 2180, in savefig
self.canvas.print_figure(fname, **kwargs)
File "C:\Program Files (x86)\Python37-32\lib\site-packages\matplotlib\backend_bases.py", line 2082, in print_figure
**kwargs)
File "C:\Program Files (x86)\Python37-32\lib\site-packages\matplotlib\backends\backend_agg.py", line 527, in print_png
FigureCanvasAgg.draw(self)
File "C:\Program Files (x86)\Python37-32\lib\site-packages\matplotlib\backends\backend_agg.py", line 386, in draw
self.renderer = self.get_renderer(cleared=True)
File "C:\Program Files (x86)\Python37-32\lib\site-packages\matplotlib\backends\backend_agg.py", line 399, in get_renderer
self.renderer = RendererAgg(w, h, self.figure.dpi)
File "C:\Program Files (x86)\Python37-32\lib\site-packages\matplotlib\backends\backend_agg.py", line 86, in __init__
self._renderer = _RendererAgg(int(width), int(height), dpi)
MemoryError: In RendererAgg: Out of memory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files (x86)\Python37-32\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Program Files (x86)\Python37-32\lib\unittest\case.py", line 615, in run
testMethod()
File "C:\0-repos\Emma\tests\functional_tests\test__cmd_line.py", line 215, in test_normalRun
self.fail("Unexpected exception: " + str(e))
File "C:\Program Files (x86)\Python37-32\lib\unittest\case.py", line 680, in fail
raise self.failureException(msg)
AssertionError: Unexpected exception: In RendererAgg: Out of memory
Steps to reproduce
Interestingly that does not always happen. I could not reproduce a scenario that always produces this error - even on the same machine.
Description
Steps to reproduce
Interestingly that does not always happen. I could not reproduce a scenario that always produces this error - even on the same machine.
Mostly this happens during a unit test run.
Python version: 3.7.0 OS: Win10
Installed packages: