[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [FR-devel] FreeRIDE Error -- make_currebt is an undefined method.
From: |
NISHIO Mizuho |
Subject: |
Re: [FR-devel] FreeRIDE Error -- make_currebt is an undefined method. |
Date: |
Sun, 14 Jul 2002 09:02:19 +0900 |
User-agent: |
Wanderlust/2.2.15 (More Than Words) EMIKO/1.13.9 (Euglena tripteris) FLIM/1.13.2 (Kasanui) APEL/10.2 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.1 (AOI) |
At Fri, 12 Jul 2002 13:02:50 -0700,
Curt Hibbs <address@hidden> wrote:
>
> Laurent,
>
> I'm getting an error when I try to run FreeRIDE and I was wondering is you
> forgot to check something in. See my console output below.
>
> Curt
>
> R:\freeride>ruby -I. -Iso -Iredist -e "require 'freeride/freeride';
> FreeBASE::Core.startup('./config
> /properties.xml','./config/default.xml')"
> ./plugins/System_GuiCore/EditPanes.rb:158:in `make_current': undefined
> method `make_current' for nil
> (NameError)
> from ./plugins/System_GuiCore/EditPanes.rb:43:in `start'
> from ./plugins/System_GuiCore/EditPanes.rb:40:in `call'
> from ./freebase/databus.rb:407:in `notify'
> from ./freebase/databus.rb:404:in `each_value'
> from ./freebase/databus.rb:404:in `notify'
> from ./freebase/databus.rb:226:in `data='
> from ./plugins/System_GuiCore/EditPanes.rb:129:in `initialize'
> from ./plugins/System_GuiCore/GuiSetup.rb:110:in `new'
> ... 57 levels...
> from ./freebase/core.rb:67:in `initialize'
> from ./freebase/core.rb:35:in `new'
> from ./freebase/core.rb:35:in `startup'
> from -e:1
>
> R:\freeride>
This is the patch.
In my environment, I can use current version of FreeRIDE.
(But, I don't know whether this patch is appropriate or not.)
diff -uNr tmp7/freeride/plugins/System_GuiRenderFox/EditPaneRenderFox.rb
tmp6/freeride/plugins/System_GuiRenderFox
/EditPaneRenderFox.rb
--- tmp7/freeride/plugins/System_GuiRenderFox/EditPaneRenderFox.rb Tue Jul
9 22:14:43 2002
+++ tmp6/freeride/plugins/System_GuiRenderFox/EditPaneRenderFox.rb Sun Jul
14 08:47:53 2002
@@ -52,7 +52,7 @@
@log_info = @plugin["./log/info"]
@log_error = @plugin["./log/error"]
@log_info << "EditPane Listener started"
- edit_frame_pool = @base_slot["../pool"]
+ edit_frame_pool = @base_slot
edit_book_slot = plugin["/system/ui/fox/editBook"]
edit_frame_pool.subscribe do |event, slot|
@@ -97,7 +97,7 @@
@log_info = @plugin["./log/info"]
@app = plugin["/system/ui/fox/FXApp"].data
@edit_book = plugin["/system/ui/fox/editBook"].data
- @renderer_slot = slot["../../render/address@hidden"]
+ @renderer_slot = slot #slot["../../render/address@hidden"]
@tab = FXTabItem.new(@edit_book, slot.data)
@scintilla = FXScintilla.new(@edit_book, nil, 0,
LAYOUT_FILL_X|LAYOUT_FILL_Y)
******************************
NISHIO Mizuho
e-mail address@hidden