[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

FreeRIDE Corrupted by Rails?

jzakiya

4/6/2006 5:12:00 PM

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]$

2 Answers

Phil Duby

4/7/2006 2:13:00 AM

0

<jzakiya@mail.com> wrote in message
news:1144343530.209193.258970@e56g2000cwe.googlegroups.com...
> 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&g...

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.

--
Phil
remove all of the (at)'s to send email


jzakiya

4/7/2006 6:19:00 AM

0

Thanks alot Phil, that solved the problem.

jabari