COSMOS 3.8.1 Script Runner Crashes #309

Closed
Pie56694 opened this Issue Jun 8, 2016 · 0 comments

Comments

Projects
None yet
3 participants
@Pie56694

Pie56694 commented Jun 8, 2016

Using COSMOS 3.8.1:
Start Script Runner (Untitled)
Click Script » Toggle Debug
Immediately (without running script) click Insert Return

Unexpected text output:
2016/06/08 09:29:29.031 FATAL: Fatal Exception! Exiting...
2016/06/08 09:29:29.031 FATAL: NoMethodError : undefined method inline_return=' for nil:NilClass C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.2.0/gems/cosmos-3.8.1/lib/cosmos/script/tools.rb:126:inblock in insert_return'
C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.2.0/gems/cosmos-3.8.1/lib/cosmos/script/tools.rb:79:in _ensure_script_runner_frame' C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.2.0/gems/cosmos-3.8.1/lib/cosmos/script/tools.rb:125:ininsert_return'
C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.2.0/gems/cosmos-3.8.1/lib/cosmos/tools/script_runner/script_runner_frame.rb:935:in block in show_debug' C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.2.0/gems/qtbindings-4.8.6.2-x64-mingw32/lib/Qt/qtruby4.rb:2470:incall'
C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.2.0/gems/qtbindings-4.8.6.2-x64-mingw32/lib/Qt/qtruby4.rb:2470:in invoke' C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.2.0/gems/qtbindings-4.8.6.2-x64-mingw32/lib/Qt/qtruby4.rb:479:inqt_metacall'
C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.2.0/gems/qtbindings-4.8.6.2-x64-mingw32/lib/Qt/qtruby4.rb:479:in method_missing' C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.2.0/gems/qtbindings-4.8.6.2-x64-mingw32/lib/Qt/qtruby4.rb:479:inexec'
C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.2.0/gems/cosmos-3.8.1/lib/cosmos/gui/qt_tool.rb:196:in block in run' C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.2.0/gems/cosmos-3.8.1/lib/cosmos/top_level.rb:679:inset_working_dir'
C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.2.0/gems/cosmos-3.8.1/lib/cosmos/gui/qt_tool.rb:177:in run' C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.2.0/gems/cosmos-3.8.1/lib/cosmos/tools/script_runner/script_runner.rb:922:inblock in run'
C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.2.0/gems/cosmos-3.8.1/lib/cosmos/top_level.rb:512:in catch_fatal_exception' C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.2.0/gems/cosmos-3.8.1/lib/cosmos/tools/script_runner/script_runner.rb:903:inrun'
tools/ScriptRunner:21:in `

'

Regards,
Steve K

@jmthomas jmthomas added the bug label Jun 8, 2016

ryanatball added a commit that referenced this issue Jun 27, 2016

Merge pull request #311 from BallAerospace/fix_scriptrunner_instance_…
…check


closes #309. Fix SCript runner insert_return when not running

@ryanatball ryanatball modified the milestone: v3.8.2 Nov 23, 2016

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