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
ghost opened this issue Feb 4, 2015 · 2 comments
Closed

TlmGrapher RangeError in Overview Graph #47

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

Comments

@ghost
Copy link

ghost 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>'
@ghost ghost added the bug label Feb 4, 2015
@jmthomas
Copy link
Contributor

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.

@ghost
Copy link
Author

ghost 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?

@ghost ghost closed this as completed in 035265d Feb 10, 2015
ghost pushed a commit that referenced this issue Feb 10, 2015
…-error

closes #47 Add additional range checking
@ghost ghost modified the milestones: v3.2.1, v3.2.0 Feb 20, 2015
ghost pushed a commit that referenced this issue Apr 5, 2021
Merge in COSMOSEE/base from tlmviewer-features to master

* commit 'b7756cfe623e29efceaa547354a2e85155b53c6a':
  Fix boolean prop defaults
  Refresh layout on tab change
  Add TabbookWidget
  Add LinegraphWidget settings
  Add LinegraphWidget
  Revert "Rename Graph to GraphScreen"
  Revert "Start refactoring plot"
  Start refactoring plot
  Rename Graph to GraphScreen
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant