ArduPilot / ArduPilot/WebTools

Error when trying to open certain logs

Open
#259 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
62
Forks
92
Avg merge
1d 23h
Merged PRs (30d)
2

Description

I get an error when trying to open some of my logs in Filter Review, but not in other logs, even though raw GYRO logging is enabled on both.

Error notice says to post the error here so here it is:
```
FilterReview/:678 Uncaught Error: IndexSizeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source height is zero or not a number.
at SVGGElement. (plotly.min.js:8:1003177)
at plotly.min.js:8:2069119
at vt (plotly.min.js:8:2065479)
at Array.each (plotly.min.js:8:2069092)
at t.41420.t.exports [as plotMethod] (plotly.min.js:8:1000718)
at SVGGElement. (plotly.min.js:8:570985)
at plotly.min.js:8:2069119
at vt (plotly.min.js:8:2065479)
at Array.each (plotly.min.js:8:2069092)
at d (plotly.min.js:8:570930)
at SVGGElement. (plotly.min.js:8:1003177)
at plotly.min.js:8:2069119
at vt (plotly.min.js:8:2065479)
at Array.each (plotly.min.js:8:2069092)
at t.41420.t.exports [as plotMethod] (plotly.min.js:8:1000718)
at SVGGElement. (plotly.min.js:8:570985)
at plotly.min.js:8:2069119
at vt (plotly.min.js:8:2065479)
at Array.each (plotly.min.js:8:2069092)
at d (plotly.min.js:8:570930)
at FilterReview/:678:15
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at FilterReview/:678 and reproduce the failure with logs that do and do not open, comparing the raw GYRO logging conditions. Inspect the Plotly call and the reported createImageData error; done means affected logs open in Filter Review without the zero-height canvas error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, plotly
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.