Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TlmGrapher RangeError in Overview Graph #47

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

TlmGrapher RangeError in Overview Graph #47

ryanatball opened this issue Feb 4, 2015 · 2 comments
Labels
bug
Milestone

Comments

@ryanatball
Copy link
Member

@ryanatball 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
Copy link
Member

@jmthomas 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
Copy link
Member Author

@ryanatball 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
…-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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.