question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Throughput Calculation Error

See original GitHub issue

Hi,

i’m running into the following error. It seems that the generated image size is too big.

[2020-09-24 12:51:12 ERROR] Writing file for ThroughputCalculator failed with a fatal error. Attempting to run subsequent writers regardless.
Traceback (most recent call last):
  File "/Users/davidmoeller/Developer/agile_metrics/venv/lib/python3.8/site-packages/jira_agile_metrics/calculator.py", line 56, in run_calculators
    c.write()
  File "/Users/davidmoeller/Developer/agile_metrics/venv/lib/python3.8/site-packages/jira_agile_metrics/calculators/throughput.py", line 38, in write
    self.write_chart(data, self.settings['throughput_chart'])
  File "/Users/davidmoeller/Developer/agile_metrics/venv/lib/python3.8/site-packages/jira_agile_metrics/calculators/throughput.py", line 103, in write_chart
    fig.savefig(output_file, bbox_inches='tight', dpi=300)
  File "/Users/davidmoeller/Developer/agile_metrics/venv/lib/python3.8/site-packages/matplotlib/figure.py", line 2311, in savefig
    self.canvas.print_figure(fname, **kwargs)
  File "/Users/davidmoeller/Developer/agile_metrics/venv/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 2210, in print_figure
    result = print_method(
  File "/Users/davidmoeller/Developer/agile_metrics/venv/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper
    return func(*args, **kwargs)
  File "/Users/davidmoeller/Developer/agile_metrics/venv/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png
    FigureCanvasAgg.draw(self)
  File "/Users/davidmoeller/Developer/agile_metrics/venv/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 402, in draw
    self.renderer = self.get_renderer(cleared=True)
  File "/Users/davidmoeller/Developer/agile_metrics/venv/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 418, in get_renderer
    self.renderer = RendererAgg(w, h, self.figure.dpi)
  File "/Users/davidmoeller/Developer/agile_metrics/venv/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 96, in __init__
    self._renderer = _RendererAgg(int(width), int(height), dpi)
ValueError: Image size of 15443364x1476 pixels is too large. It must be less than 2^16 in each direction.

Did this happen in the past? Is there an easy way of solving it?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:17 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
marshall-levesque-nextgencommented, Jan 5, 2021

My team and I faced this same issue. I think this fixes it: https://github.com/DeloitteDigitalUK/jira-agile-metrics/pull/44

0reactions
marshall-levesque-nextgencommented, Jan 6, 2021

This is now merged and resolved. I think we can review and close this issue @optilude & @Narsail

Read more comments on GitHub >

github_iconTop Results From Across the Web

the effect of channel estimation error on the throughput of
the average throughput will become zero. This implies that a back off system is necessary in the presence of channel estimation error. Although...
Read more >
Analyzing Your Company's Throughput Rate - Worximity
How to Calculate Throughput Rates. To improve throughput, first understand the required calculations and what the values represent. The overall ...
Read more >
Error estimation in high-throughput density functional theory ...
The calculation contains inherent errors due to improper input parameters and approximated exchange-correlation functional. In this paper, we ...
Read more >
Is there a formula describing the relationship between bit error ...
so far I have "throughput = 1/(1+2a)" where "a = tprop*R/L" (tprop=propagation time or delay,R = bit rate), however I am unsure how...
Read more >
Performance Limitations and Error Calculations for Parameter ...
Error calculations cannot be carried out precisely when parameters are estimated which affect the observation nonlinearly. This paper summarizes the available ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found