Crash if Last used Directory is not existent
Reported by Jakob | May 6th, 2010 @ 08:16 PM
If the last used folder doesn't exist anymore redcar crashes
Gem Version 0.3.5
OS Kubuntu 9.5
Reinstall (sudo gem install redcar, sudo redcar install)
me@mybox:~/home/me/$ redcar
Redcar 0.3.5 ( i486-linux )
java -Xmx500m -Xss1024k -Djruby.memory.max=500m
-Djruby.stack.max=1024k -cp
"/usr/lib/ruby/gems/1.8/gems/redcar-0.3.5/lib/jruby-complete-1.4.0.jar"
org.jruby.Main
"/usr/lib/ruby/gems/1.8/gems/redcar-0.3.5/lib/redcar/../../bin/redcar"
--no-sub-jruby Redcar 0.3.5 ( java )
loading linux/swt
(:5658): GLib-WARNING **: g_set_prgname() called multiple times
loading plugins took 2.342
EditViewSWT.start took 1.056s
initializing gui took 0.119s
/usr/lib/ruby/gems/1.8/gems/redcar-0.3.5/plugins/project/lib/project.rb:26:in
initialize': Not a directory: /home/me/deletenfolder
(RuntimeError)
from /usr/lib/ruby/gems/1.8/gems/redcar-0.3.5/plugins/project/lib/project/manager.rb:120:in
new'
from /usr/lib/ruby/gems/1.8/gems/redcar-0.3.5/plugins/project/lib/project/manager.rb:120:in
open_project_for_path'
from /usr/lib/ruby/gems/1.8/gems/redcar-0.3.5/plugins/project/lib/project/manager.rb:187:in
restore_last_session'
from /usr/lib/ruby/gems/1.8/gems/redcar-0.3.5/plugins/project/lib/project/manager.rb:24:in
start'
from /usr/lib/ruby/gems/1.8/gems/redcar-0.3.5/plugins/redcar/redcar.rb:865:in
start'
from /usr/lib/ruby/gems/1.8/gems/redcar-0.3.5/lib/redcar/../../bin/redcar:22
Comments and changes to this ticket
-
tim.felgentreff (at student.hpi.uni-potsdam) May 11th, 2010 @ 07:03 PM
I worked around this in my redcar branch on github.
See http://github.com/timfel/redcar/commit/cf3f7c24b16d4b55e893a88439f7...
and the 3 patches before that one. -
tim.felgentreff (at student.hpi.uni-potsdam) May 19th, 2010 @ 06:21 PM
This should be fixed in HEAD.
-
Daniel Lucraft May 26th, 2010 @ 06:06 AM
- State changed from new to resolved
Thanks Jakob and Tim.
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.