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:in
execute'
/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:in
connect_item_signal'
./bin/../lib/gtk.rb:28:in call'
./bin/../lib/gtk.rb:28: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' ./bin/redcar:128 no file:
/home/xin/apps/opensource/redcar/bin/../plugins/core/lib/core/tab.rb:126:in
text=':
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'
./bin/redcar:128
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 March 11th, 2009 @ 06:20 PM
- Assigned user set to 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 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.
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.
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.