I use Gentoo and do have Fox 1.0.43, fxscintilla 1.55 and fxruby 1.0.25 installed using Gentoo''s ebuilds. I''m running FreeRIDE by going into freeride-0.6.0 and running sh run.bat. FreeRIDE initally opens up fine. However, whenever I open an editor window (File->New or opening a file, whatever), FreeRIDE quits and outputs: /tmp/freeride-0.6.0/./plugins/rubyide_fox_gui/editpane.rb:165:in `initialize'': uninitialized constant FreeRIDE::FoxRenderer::EditPane::Renderer::FXScintilla (NameError) from /tmp/freeride-0.6.0/./plugins/rubyide_fox_gui/editpane.rb:60:in `new'' from /tmp/freeride-0.6.0/./plugins/rubyide_fox_gui/editpane.rb:60:in `start'' from /tmp/freeride-0.6.0/./plugins/rubyide_fox_gui/editpane.rb:46:in `call'' from /tmp/freeride-0.6.0/freebase/lib/freebase/databus.rb:612:in `notify'' from /tmp/freeride-0.6.0/freebase/lib/freebase/databus.rb:609:in `each_value'' from /tmp/freeride-0.6.0/freebase/lib/freebase/databus.rb:609:in `notify'' from /tmp/freeride-0.6.0/freebase/lib/freebase/databus.rb:618:in `notify'' from /tmp/freeride-0.6.0/freebase/lib/freebase/databus.rb:215:in `initialize'' ... 20 levels... from /tmp/freeride-0.6.0/freebase/lib/freebase/core.rb:35:in `new'' from /tmp/freeride-0.6.0/freebase/lib/freebase/core.rb:35:in `startup'' from freeride.rb:80:in `startup'' from freeride.rb:92 ------------------------------------------------------------------------- And doing the same requires as in plugins/rubyide_fox_gui/editpane.rb in an irb in the freeride-0.6.0 directory: irb(main):003:0> require ''fox'' => true irb(main):004:0> require ''fox/responder'' => false irb(main):005:0> require ''rubyide_fox_gui/fxscintilla/scintilla'' LoadError: No such file to load -- rubyide_fox_gui/fxscintilla/scintilla from (irb):5:in `require'' from (irb):5 So obviously something is wrong there, probably with my install. I''m new to ruby, so I''m not sure how the whole library thing works and certainly not how FreeRIDE does it. In other words, I could use some pointers on how to diagnose the problem (if it isn''t immediately apparent). I can post what files are installed by Fox, fxscintilla or fxruby. Or anything else. Thanks, Ian Monroe http://www.monroe.nu
On Mar 10, 2004, at 6:55 PM, Ian Monroe wrote:> So obviously something is wrong there, probably with my install. I''m > new to ruby, so I''m not sure how the whole library thing works and > certainly not how FreeRIDE does it. In other words, I could use some > pointers on how to diagnose the problem (if it isn''t immediately > apparent). I can post what files are installed by Fox, fxscintilla or > fxruby. Or anything else.Your installation of FXRuby was built without support for FXScintilla. Please see the instructions in this section of the FXRuby User''s Guide: http://www.fxruby.org/doc/scintilla.html for more information. Also note, by the way, that you should probably be using a more recent version of FXRuby. FXRuby-1.0.25 was released in August, 2003; the latest version is 1.0.28.
Yes, that is it. I installed FXRuby before FXScintilla, so that didn''t work out obviously. Today the problem was reported to bugs.gentoo.org. I just installed the new FXRuby. But I''ve been having another crash when trying to debug. I''m getting the following error message when I try to debug. When I searched for part of it on Google, the first thing that came up was the problem FreeRIDE was having while debugging on Windows. /usr/lib/ruby/1.8/open3.rb:20: warning: fork terminates thread at /tmp/freeride-0.6.0/freebase/lib/freebase/core.rb:71 /home/ian/workspace/rssportal/rss_recent.rb on druby://gentoo:36046 attached. /tmp/freeride-0.6.0/redist/drb/drb.rb:497:in `proc'': return jump can''t across threads (ThreadError) from /tmp/freeride-0.6.0/redist/drb/drb.rb:451:in `loop'' from /tmp/freeride-0.6.0/redist/drb/drb.rb:451:in `proc'' from /tmp/freeride-0.6.0/redist/drb/drb.rb:450:in `start'' from /tmp/freeride-0.6.0/redist/drb/drb.rb:450:in `proc'' from /tmp/freeride-0.6.0/redist/drb/drb.rb:419:in `run'' from /tmp/freeride-0.6.0/redist/drb/drb.rb:416:in `start'' from /tmp/freeride-0.6.0/redist/drb/drb.rb:416:in `run'' from /tmp/freeride-0.6.0/redist/drb/drb.rb:377:in `initialize'' ... 23 levels... from /tmp/freeride-0.6.0/freebase/lib/freebase/core.rb:35:in `new'' from /tmp/freeride-0.6.0/freebase/lib/freebase/core.rb:35:in `startup'' from freeride.rb:80:in `startup'' from freeride.rb:92 Lyle Johnson wrote:> > On Mar 10, 2004, at 6:55 PM, Ian Monroe wrote: > >> So obviously something is wrong there, probably with my install. I''m >> new to ruby, so I''m not sure how the whole library thing works and >> certainly not how FreeRIDE does it. In other words, I could use some >> pointers on how to diagnose the problem (if it isn''t immediately >> apparent). I can post what files are installed by Fox, fxscintilla or >> fxruby. Or anything else. > > > Your installation of FXRuby was built without support for FXScintilla. > Please see the instructions in this section of the FXRuby User''s Guide: > > http://www.fxruby.org/doc/scintilla.html > > for more information. Also note, by the way, that you should probably be > using a more recent version of FXRuby. FXRuby-1.0.25 was released in > August, 2003; the latest version is 1.0.28.
Ian Monroe wrote:> Yes, that is it. I installed FXRuby before FXScintilla, so that didn''t > work out obviously. Today the problem was reported to bugs.gentoo.org. > > I just installed the new FXRuby. But I''ve been having another crash when > trying to debug. I''m getting the following error message when I try to > debug. When I searched for part of it on Google, the first thing that > came up was the problem FreeRIDE was having while debugging on Windows. >We have had a bit of difficulty to characterize what the problem is. Surely this was appearing on Windows platform prior to 1.8.1. This one seems to be over. Then Jin Gavin reported on this mailing list that he also had the problem on Mac but that it disappeared when he used the Darwin port of Ruby instead of stock 1.8.1 from ruby-lang. Now your report looks like you are debugging a program that itself uses drb, right? So the problem may come from the fact that FreeRIDE is using its own version of drb which is different from the stock drb. - What version of Ruby do you use? - Could you post a minimal piece of Ruby code and a step by step procedure to follow to reproduce the problem. Thanks! Laurent> /usr/lib/ruby/1.8/open3.rb:20: warning: fork terminates thread at > /tmp/freeride-0.6.0/freebase/lib/freebase/core.rb:71 > /home/ian/workspace/rssportal/rss_recent.rb on druby://gentoo:36046 > attached. > /tmp/freeride-0.6.0/redist/drb/drb.rb:497:in `proc'': return jump can''t > across threads (ThreadError) > from /tmp/freeride-0.6.0/redist/drb/drb.rb:451:in `loop'' > from /tmp/freeride-0.6.0/redist/drb/drb.rb:451:in `proc'' > from /tmp/freeride-0.6.0/redist/drb/drb.rb:450:in `start'' > from /tmp/freeride-0.6.0/redist/drb/drb.rb:450:in `proc'' > from /tmp/freeride-0.6.0/redist/drb/drb.rb:419:in `run'' > from /tmp/freeride-0.6.0/redist/drb/drb.rb:416:in `start'' > from /tmp/freeride-0.6.0/redist/drb/drb.rb:416:in `run'' > from /tmp/freeride-0.6.0/redist/drb/drb.rb:377:in `initialize'' > ... 23 levels... > from /tmp/freeride-0.6.0/freebase/lib/freebase/core.rb:35:in `new'' > from /tmp/freeride-0.6.0/freebase/lib/freebase/core.rb:35:in > `startup'' > from freeride.rb:80:in `startup'' > from freeride.rb:92 > > > Lyle Johnson wrote: > >> >> On Mar 10, 2004, at 6:55 PM, Ian Monroe wrote: >> >>> So obviously something is wrong there, probably with my install. I''m >>> new to ruby, so I''m not sure how the whole library thing works and >>> certainly not how FreeRIDE does it. In other words, I could use some >>> pointers on how to diagnose the problem (if it isn''t immediately >>> apparent). I can post what files are installed by Fox, fxscintilla or >>> fxruby. Or anything else. >> >> >> >> Your installation of FXRuby was built without support for FXScintilla. >> Please see the instructions in this section of the FXRuby User''s Guide: >> >> http://www.fxruby.org/doc/scintilla.html >> >> for more information. Also note, by the way, that you should probably >> be using a more recent version of FXRuby. FXRuby-1.0.25 was released >> in August, 2003; the latest version is 1.0.28. > > > _______________________________________________ > Freeride-users mailing list > Freeride-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/freeride-users >-- Laurent JULLIARD - Xerox Global Services - XDD-G Manager Tel: +33 (0)4 76 61 50 48 - Fax: +33 (0)4 76 61 51 99 >> Host your Xerox Software project on CodeX: http://codex.xerox.com
Laurent Julliard wrote:> Ian Monroe wrote: > > We have had a bit of difficulty to characterize what the problem is. > Surely this was appearing on Windows platform prior to 1.8.1. This one > seems to be over. > > Then Jin Gavin reported on this mailing list that he also had the > problem on Mac but that it disappeared when he used the Darwin port of > Ruby instead of stock 1.8.1 from ruby-lang.Probably since he didn''t compile with socks5 support, but perhaps Darwin did.> Now your report looks like you are debugging a program that itself uses > drb, right? So the problem may come from the fact that FreeRIDE is using > its own version of drb which is different from the stock drb. > > - What version of Ruby do you use?I use Ruby 1.8.1 from Gentoo portage. I just looked at the Ruby install build (which is still marked unstable for Gentoo, but I needed it for something) and it does in fact add a pretty significant patch named ruby-1.8.1-20040206.diff.gz (you can get it from a Google search); 20040206 the ebuild refers to as the snap date. It''s a few days after the release date, so I imagine that''s the Gentoo dev''s throwing in all the fixes the usually occur shortly after a release. There''s another patch that wouldn''t have been patched for me, since its about cjk. I just re-emerged Ruby, commenting out the patch, the same error resulted. I got the original ebuild, emerged but this time with socks5 support (Gentoo also emerged a new package called dante), and now, no crashing! I guess thats the problem, that requirement should be added to documentation if thats really the issue. However, I''m still having issues. For some code that had an invalid header (but runs fine anyway), it wouldn''t start the debug. The message pointed to the line with the invalid require, so its wasn''t a big deal. I fixed it, so for some code of mine that actually runs fine, if I debug without a break point, nothing happens. It just says "Debugger process exited" without giving the scripts output. Once I added a breakpoint, the following error (given within the debugging console) was outputed: (druby://gentoo:32937) /tmp/freeride-0.6.0/redist/drb/drb.rb:118:in `load'': invalid header (TypeError) from (druby://gentoo:32937) /tmp/freeride-0.6.0/redist/drb/drb.rb:164:in `recv_reply'' from (druby://gentoo:32937) /tmp/freeride-0.6.0/redist/drb/drb.rb:298:in `send_message'' from (druby://gentoo:32937) /tmp/freeride-0.6.0/redist/drb/drb.rb:225:in `method_missing'' from (druby://gentoo:32937) /tmp/freeride-0.6.0/redist/drb/drb.rb:224:in `open'' from (druby://gentoo:32937) /tmp/freeride-0.6.0/redist/drb/drb.rb:224:in `method_missing'' The script has the following requires: require "rss/parser" require "rss/1.0" require "rss/2.0" require "rss/syndication" require "rss/dublincore" require ''http-access2'' I can send the whole thing if it would be helpful.> - Could you post a minimal piece of Ruby code and a step by step > procedure to follow to reproduce the problem.I''m guessing just recompile your ruby without socks5 support, it will probably break then. Good thing its that easy, I just started Ruby this week, it would be a bit over my head trying to track down bugs.> Thanks! > > Laurent >