FreeRIDE Corrupted by Rails?

J

jzakiya

Last week I upgraded to Rails 1.1 using gem. Since then, I have been
unable
to run FreeRIDE 0.95. Below is the error output generated when
attempting
to run FreeRIDE 0.95. However, I am still able to run FreeRIDE 0.94
with no
problems. So, apparently the Rails 1.1 upgrade (with dependicies)
corrupted
something FR 0.95 uses but FR 0.94 doesn't.

Can anybody figure out what the problem is, our what other diagnostics
I should
perform to track the problem down?

Jabari
----------------------------------------------------------------------------------------------------
[jabari@localhost Ruby Stuff]$ /usr/local/FreeRIDE/freeride
/home/jabari/Ruby Stuff
/usr/local/FreeRIDE/./plugins/rubyide_project/project.rb:80:in
`attach_editpane`: undefined method `[]'
for nil:NilClass (NoMethodError)
from
/usr/local/FreeRIDE/./plugins/rubyide_project/project.rb:97:in
`reopen_files'
from
/usr/local/FreeRIDE/./plugins/rubyide_project/project.rb:95:in
`reopen_files'
from
/usr/local/FreeRIDE/./plugins/rubyide_project/project.rb:54:in
`initialize'
from
/usr/local/FreeRIDE/./plugins/rubyide_project/project_manager.rb:82:in
`open_project'
from
/usr/local/FreeRIDE/./plugins/rubyide_project/project_manager.rb:152:in
`open_default_project'
from
/usr/local/FreeRIDE/./plugins/rubyide_project/project_manager.rb:47:in
`initialize'
from
/usr/local/FreeRIDE/freebase/lib/freebase/databus.rb:612:in `notify'
from
/usr/local/FreeRIDE/freebase/lib/freebase/databus.rb:609:in `notify'
from
/usr/local/FreeRIDE/freebase/lib/freebase/databus.rb:385:in `data='
from
/usr/local/FreeRIDE/freebase/lib/freebase/core.rb:66:in `initialize'
from
/usr/local/FreeRIDE/freebase/lib/freebase/core.rb:35:in `startup'
from /usr/local/FreeRIDE/freeride.rb:77:in `startup'
from /usr/local/FreeRIDE/freeride.rb:116
[jabari@localhost Ruby Stuff]$
 
P

Phil Duby

Last week I upgraded to Rails 1.1 using gem. Since then, I have been
unable
to run FreeRIDE 0.95. Below is the error output generated when
attempting
to run FreeRIDE 0.95. However, I am still able to run FreeRIDE 0.94
with no
problems. So, apparently the Rails 1.1 upgrade (with dependicies)
corrupted
something FR 0.95 uses but FR 0.94 doesn't.

Can anybody figure out what the problem is, our what other diagnostics
I should
perform to track the problem down?

Jabari
----------------------------------------------------------------------------------------------------
[jabari@localhost Ruby Stuff]$ /usr/local/FreeRIDE/freeride
/home/jabari/Ruby Stuff
/usr/local/FreeRIDE/./plugins/rubyide_project/project.rb:80:in
`attach_editpane`: undefined method `[]'
[ snip .. snip ]

The problem probably has nothing to do with either rails of the
specific FR version. I got the same error after running FR 0.9.5
for awhile. It broke without any specific new install. It appears
to be from corruption of the project / property / configuration files.

See:
http://rubyforge.org/tracker/?func=detail&atid=202&aid=3558&group_id=31

An interm fix that worked for me is:

in ...\ruby\freeride\plugins\rubyide_project\project.rb
# $Id: project.rb,v 1.6 2005/12/16 11:11:40 jonathanm Exp $
line 97
change
attach_editpane(ep_slot)
to
attach_editpane(ep_slot) unless ep_slot.nil?

The tracker page shows that Jonathan fixed the problem in the CVS, but
I have not looked to see if his fix was the same as mine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top