TlmGrapher RangeError in Overview Graph #47

Closed
ryanatball opened this Issue Feb 4, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@ryanatball
Member

ryanatball commented Feb 4, 2015

2015/02/04 21:22:14.561  FATAL: Fatal Exception! Exiting...
2015/02/04 21:22:14.561  FATAL: RangeError : integer 468194908894 too big to convert to `int'
/opt/ruby-2.0.0-p481/lib/ruby/gems/2.0.0/gems/cosmos-3.1.1/lib/cosmos/gui/qt.rb:682:in `method_missing'
/opt/ruby-2.0.0-p481/lib/ruby/gems/2.0.0/gems/cosmos-3.1.1/lib/cosmos/gui/qt.rb:682:in `addRectColor'
/opt/ruby-2.0.0-p481/lib/ruby/gems/2.0.0/gems/cosmos-3.1.1/lib/cosmos/gui/line_graph/overview_graph.rb:414:in `draw_selection_window'
/opt/ruby-2.0.0-p481/lib/ruby/gems/2.0.0/gems/cosmos-3.1.1/lib/cosmos/gui/line_graph/overview_graph.rb:399:in `draw_graph_into_back_buffer'
/opt/ruby-2.0.0-p481/lib/ruby/gems/2.0.0/gems/cosmos-3.1.1/lib/cosmos/gui/line_graph/line_graph.rb:345:in `paintEvent'
/opt/ruby-2.0.0-p481/lib/ruby/gems/2.0.0/gems/cosmos-3.1.1/lib/cosmos/gui/qt.rb:246:in `method_missing'
/opt/ruby-2.0.0-p481/lib/ruby/gems/2.0.0/gems/cosmos-3.1.1/lib/cosmos/gui/qt.rb:246:in `exec'
/opt/ruby-2.0.0-p481/lib/ruby/gems/2.0.0/gems/cosmos-3.1.1/lib/cosmos/gui/qt_tool.rb:196:in `block in run'
/opt/ruby-2.0.0-p481/lib/ruby/gems/2.0.0/gems/cosmos-3.1.1/lib/cosmos/top_level.rb:609:in `set_working_dir'
/opt/ruby-2.0.0-p481/lib/ruby/gems/2.0.0/gems/cosmos-3.1.1/lib/cosmos/gui/qt_tool.rb:177:in `run'
/opt/ruby-2.0.0-p481/lib/ruby/gems/2.0.0/gems/cosmos-3.1.1/lib/cosmos/tools/tlm_grapher/tlm_grapher.rb:65:in `block in run'
/opt/ruby-2.0.0-p481/lib/ruby/gems/2.0.0/gems/cosmos-3.1.1/lib/cosmos/top_level.rb:446:in `catch_fatal_exception'
/opt/ruby-2.0.0-p481/lib/ruby/gems/2.0.0/gems/cosmos-3.1.1/lib/cosmos/tools/tlm_grapher/tlm_grapher.rb:28:in `run'
tools/TlmGrapher:20:in `<main>'

@ryanatball ryanatball added the bug label Feb 4, 2015

@jmthomas

This comment has been minimized.

Show comment
Hide comment
@jmthomas

jmthomas Feb 5, 2015

Member

This code is what draws the overview window. It looks like somehow a huge number got in there. I don't see how this is possible because it's based on the size of the application on the screen. I'm unable to reproduce.

Member

jmthomas commented Feb 5, 2015

This code is what draws the overview window. It looks like somehow a huge number got in there. I don't see how this is possible because it's based on the size of the application on the screen. I'm unable to reproduce.

@ryanatball

This comment has been minimized.

Show comment
Hide comment
@ryanatball

ryanatball Feb 5, 2015

Member

I think this happened after I deleted some (or maybe all) of the plots. Maybe some old data got left around?

Member

ryanatball commented Feb 5, 2015

I think this happened after I deleted some (or maybe all) of the plots. Maybe some old data got left around?

ryanatball added a commit that referenced this issue Feb 10, 2015

Merge pull request #54 from BallAerospace/bugfix/47-tlm-grapher-range…
…-error


closes #47 Add additional range checking

@ryanatball ryanatball modified the milestones: v3.2.1, v3.2.0 Feb 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment