#49 ✓resolved
Zac Zheng

crashes on edit after changing appearance

Reported by Zac Zheng | March 11th, 2009 @ 06:15 PM

I had one file open, then changed the appearance to 'pastel on black', and it crashed with the error message below.

Before I paste the error, I'd like to say I love what you're trying to do with Redcar. I would love to use Textmate-compatible editor on Ubuntu. Thank you!

I am not sure where this error begins, so I have pasted it from the very beginning.

Error message: no file: * Error in command: Redcar::AddDirectoryToProjectCommand @dirname="/home/xin/apps/goldminer2" trace: undefined method add_directory' for nil:NilClass /home/xin/apps/opensource/redcar/bin/../plugins/project/commands/add_directory_to_project_command.rb:17:inexecute' /home/xin/apps/opensource/redcar/bin/../plugins/core/lib/core/command.rb:332:in do' /home/xin/apps/opensource/redcar/bin/../plugins/core/lib/core/menu.rb:292:inconnect_item_signal' ./bin/../lib/gtk.rb:28:in call' ./bin/../lib/gtk.rb:28:inmain' ./bin/../lib/gtk.rb:28:in main_with_queue' /home/xin/apps/opensource/redcar/bin/../plugins/core/lib/core/gui.rb:24:inset_main_loop' ./bin/../freebase2/lib/freebase/databus.rb:962:in call' ./bin/../freebase2/lib/freebase/databus.rb:962:incall' ./bin/../freebase2/lib/freebase/databus.rb:572:in call' ./bin/../freebase2/lib/freebase/core.rb:74:ininitialize' ./bin/../freebase2/lib/freebase/core.rb:73:in new' ./bin/../freebase2/lib/freebase/core.rb:73:ininitialize' ./bin/../freebase2/lib/freebase/core.rb:35:in new' ./bin/../freebase2/lib/freebase/core.rb:35:instartup' ./bin/redcar:108:in startup' ./bin/redcar:128 no file: /home/xin/apps/opensource/redcar/bin/../plugins/core/lib/core/tab.rb:126:intext=': destroyed GLib::Object

 from /home/xin/apps/opensource/redcar/bin/../plugins/core/lib/core/tab.rb:126:in `title='
 from /home/xin/apps/opensource/redcar/bin/../plugins/edit_tab/tabs/edit_tab.rb:105:in `modified='
 from /home/xin/apps/opensource/redcar/bin/../plugins/edit_tab/tabs/edit_tab.rb:113:in `connect_signals'
 from ./bin/../lib/gtk.rb:28:in `call'
 from ./bin/../lib/gtk.rb:28:in `main'
 from ./bin/../lib/gtk.rb:28:in `main_with_queue'
 from /home/xin/apps/opensource/redcar/bin/../plugins/core/lib/core/gui.rb:24:in `set_main_loop'
 from ./bin/../freebase2/lib/freebase/databus.rb:962:in `call'
 from ./bin/../freebase2/lib/freebase/databus.rb:962:in `call'
 from ./bin/../freebase2/lib/freebase/databus.rb:572:in `call'
 from ./bin/../freebase2/lib/freebase/core.rb:74:in `initialize'
 from ./bin/../freebase2/lib/freebase/core.rb:73:in `new'
 from ./bin/../freebase2/lib/freebase/core.rb:73:in `initialize'
 from ./bin/../freebase2/lib/freebase/core.rb:35:in `new'
 from ./bin/../freebase2/lib/freebase/core.rb:35:in `startup'
 from ./bin/redcar:108:in `startup'
 from ./bin/redcar:128

Redcar has crashed.

Please report this error message to the Redcar mailing list, along with the actions you were taking at the time:

Time: Wed Mar 11 18:08:35 +0000 2009 Message: exit Backtrace:

/usr/lib/ruby/1.8/glib2.rb:37:in `exit'
/usr/lib/ruby/1.8/glib2.rb:37:in `exit_application'
/home/xin/apps/opensource/redcar/bin/../plugins/core/lib/core/tab.rb:126:in `main'
./bin/../lib/gtk.rb:28:in `main_with_queue'
/home/xin/apps/opensource/redcar/bin/../plugins/core/lib/core/gui.rb:24:in `set_main_loop'
./bin/../freebase2/lib/freebase/databus.rb:962:in `call'
./bin/../freebase2/lib/freebase/databus.rb:962:in `call'
./bin/../freebase2/lib/freebase/databus.rb:572:in `call'
./bin/../freebase2/lib/freebase/core.rb:74:in `initialize'
./bin/../freebase2/lib/freebase/core.rb:73:in `new'
./bin/../freebase2/lib/freebase/core.rb:73:in `initialize'
./bin/../freebase2/lib/freebase/core.rb:35:in `new'
./bin/../freebase2/lib/freebase/core.rb:35:in `startup'
./bin/redcar:108:in `startup'

Uname -a: Linux superaffiliate 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux

Comments and changes to this ticket

  • Zac Zheng

    Zac Zheng March 11th, 2009 @ 06:20 PM

    • Assigned user set to “Daniel Lucraft”
  • Daniel Lucraft

    Daniel Lucraft March 14th, 2009 @ 08:41 AM

    • Tag set to project, tab
    • State changed from “new” to “open”

    Thanks for your support! And thanks for taking the time to file this one too.

    This is a similar problem to your other bug, in that it can't find the ProjectTab. Same question as the other then: is it reproducible and what is the exact sequence of commands from a clean Redcar load to reproduce it.

    Thanks for your help.

  • Daniel Lucraft

    Daniel Lucraft March 14th, 2009 @ 09:05 AM

    OK, the first part of the error message is from when you selected "Add directory to project" without a ProjectTab open. That would have opened the project tab but fail to add your directory. This is now fixed in HEAD.

    Now moving on to the second part, which is an unrelated error.

  • Zac Zheng

    Zac Zheng March 16th, 2009 @ 09:25 AM

    I'll get back to you tomorrow on this.

  • Zac Zheng

    Zac Zheng March 17th, 2009 @ 09:53 AM

    I cannot reproduce this error.

  • Daniel Lucraft

    Daniel Lucraft March 17th, 2009 @ 12:19 PM

    • State changed from “open” to “resolved”

    OK thanks.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket