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

after following installation instruction Arcadia start but is unable to run hello world programs #58

Closed
matkoniecz opened this issue Sep 28, 2015 · 1 comment
Assignees

Comments

@matkoniecz
Copy link

I created and saved file with

require 'tk'

root = TkRoot.new { title "Hello, World!" }
TkLabel.new(root) do
   text 'Hello, World!'
   pack { padx 15 ; pady 15; side 'left' }
end
Tk.mainloop

Using "Run current..." button resulted in

NoMethodError: undefined method `include?' for nil:NilClass
---< backtrace of Ruby side >-----
/home/mateusz/.gem/ruby/1.9.1/gems/arcadia-1.1.0/ext/ae-editor/ae-editor.rb:4411:in `on_before_run_cmd'
/home/mateusz/.gem/ruby/1.9.1/gems/arcadia-1.1.0/lib/a-commons.rb:788:in `block in _process_fase'
/home/mateusz/.gem/ruby/1.9.1/gems/arcadia-1.1.0/lib/a-commons.rb:786:in `each'
/home/mateusz/.gem/ruby/1.9.1/gems/arcadia-1.1.0/lib/a-commons.rb:786:in `_process_fase'
/home/mateusz/.gem/ruby/1.9.1/gems/arcadia-1.1.0/lib/a-commons.rb:701:in `block in process_event'
/home/mateusz/.gem/ruby/1.9.1/gems/arcadia-1.1.0/lib/a-commons.rb:699:in `each'
/home/mateusz/.gem/ruby/1.9.1/gems/arcadia-1.1.0/lib/a-commons.rb:699:in `process_event'
/home/mateusz/.gem/ruby/1.9.1/gems/arcadia-1.1.0/lib/a-core.rb:1490:in `block in initialize'
/usr/lib/ruby/1.9.1/tk.rb:1451:in `call'
/usr/lib/ruby/1.9.1/tk.rb:1451:in `eval_cmd'
/usr/lib/ruby/1.9.1/tk.rb:1451:in `cb_eval'
/usr/lib/ruby/1.9.1/tk.rb:1398:in `call'
/usr/lib/ruby/1.9.1/tk.rb:1594:in `block in callback'
/usr/lib/ruby/1.9.1/tk.rb:1593:in `catch'
/usr/lib/ruby/1.9.1/tk.rb:1593:in `callback'
/usr/lib/ruby/1.9.1/tk.rb:1300:in `mainloop'
/usr/lib/ruby/1.9.1/tk.rb:1300:in `block in <module:TkCore>'
---< backtrace of Tk side >-------
    invoked from within
"rb_out c00395"
    invoked from within
".w00000.topf.tb0.w00266 invoke "
    invoked from within
".w00000.topf.tb0.w00266 instate !disabled { .w00000.topf.tb0.w00266 invoke } "
    invoked from within
".w00000.topf.tb0.w00266 instate pressed { .w00000.topf.tb0.w00266 state !pressed; .w00000.topf.tb0.w00266 instate !disabled { .w00000.topf.tb0.w00266 ..."
    (command bound to event)

Running this file from command line works.

@angal angal self-assigned this Sep 28, 2015
angal added a commit that referenced this issue Sep 29, 2015
@angal
Copy link
Owner

angal commented Sep 29, 2015

Bug Fixed and new version released.
Thanks for support

@angal angal closed this as completed Sep 29, 2015
@matkoniecz matkoniecz changed the title after following installation istruction Arcadia start but is unable to run hello world programs after following installation instruction Arcadia start but is unable to run hello world programs Sep 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants