#266 ✓resolved
Akshay Gupta

redcar load error

Reported by Akshay Gupta | July 23rd, 2010 @ 06:41 AM

Successfully done!
gem install redcar
redcar install

message echoed as "Done! You are ready to go"

Then I tried to run it and tried several combinations to open single file, directory or no file it always gave this error. Not sure what is this about, can you please help he to rectify this, so that I can once try out REDCAR :)

akshay@anakin:~/Projects/rails_app/REPO/api/trunk$ redcar .
Redcar 0.3.8.2 ( x86_64-linux )
java -Xmx500m -Xss1024k -Djruby.memory.max=500m -Djruby.stack.max=1024k -cp "/home/akshay/ruby/gems/gems/redcar-0.3.8.2/lib/jruby-complete-1.5.0.jar" org.jruby.Main "/home/akshay/ruby/gems/gems/redcar-0.3.8.2/lib/redcar/../../bin/redcar" . --no-sub-jruby --ignore-stdin
Redcar 0.3.8.2 ( java )
loading linux64/swt
Error loading plugin: 0, application_swt>0] 0 files>
cannot load Java class com.redcareditor.mate.Bundle file:/home/akshay/.redcar/jars/jruby/jruby-complete-1.5.0.jar!/builtin/javasupport/java.rb:51:in method_missing' /home/akshay/ruby/gems/gems/redcar-0.3.8.2/plugins/edit_view_swt/vendor/java-mateview.rb:5 /home/akshay/ruby/gems/gems/redcar-0.3.8.2/plugins/edit_view_swt/vendor/java-mateview.rb:10:inrequire' /home/akshay/ruby/gems/gems/redcar-0.3.8.2/plugins/edit_view_swt/lib/edit_view_swt.rb:10 /home/akshay/ruby/gems/gems/redcar-0.3.8.2/plugins/edit_view_swt/lib/edit_view_swt.rb:28:in require' /home/akshay/ruby/gems/gems/redcar-0.3.8.2/lib/plugin_manager/lib/plugin_manager/plugin_definition.rb:28:inload' /home/akshay/ruby/gems/gems/redcar-0.3.8.2/lib/plugin_manager/lib/plugin_manager/plugin_definition.rb:44:in log_requires' /home/akshay/ruby/gems/gems/redcar-0.3.8.2/lib/plugin_manager/lib/plugin_manager/plugin_definition.rb:27:inload' /home/akshay/ruby/gems/gems/redcar-0.3.8.2/lib/plugin_manager/lib/plugin_manager.rb:57:in load' /home/akshay/ruby/gems/gems/redcar-0.3.8.2/lib/redcar.rb:95:inload' /home/akshay/ruby/gems/gems/redcar-0.3.8.2/lib/redcar/../../bin/redcar:22 There was an error loading plugins:
* edit_view_swt loading plugins took 2.778
/home/akshay/ruby/gems/gems/redcar-0.3.8.2/plugins/redcar/redcar.rb:959:in start': undefined methodstart' for Redcar::EditViewSWT:Class (NoMethodError)

from /home/akshay/ruby/gems/gems/redcar-0.3.8.2/lib/redcar/../../bin/redcar:23

Comments and changes to this ticket

  • Daniel Lucraft

    Daniel Lucraft July 23rd, 2010 @ 08:53 AM

    • State changed from “new” to “open”

    Can you please tell me what is in the plugins/edit_view_swt/vendor directory of the redcar gem? It looks like it is missing the java-mateview.jar file. Which is strange because it should have installed it during the install.

  • Akshay Gupta

    Akshay Gupta July 23rd, 2010 @ 09:48 AM

    yeah, you are right java-mateview.jar is missing, there is a symlink to this file

    akshay@anakin:~/ruby/gems/gems/redcar-0.3.8.2/plugins/edit_view_swt/vendor$ ls -l
    total 12
    -rw-r--r-- 1 akshay akshay 6 2010-07-23 10:35 dummy lrwxrwxrwx 1 akshay akshay 79 2010-07-23 10:41 java-mateview.jar -> /home/akshay/.redcar/jars/redcar/plugins/edit_view_swt/vendor/java-mateview.jar
    -rw-r--r-- 1 akshay akshay 1118 2010-07-23 10:35 java-mateview.rb

    when I open this =>

    vi /home/akshay/.redcar/jars/redcar/plugins/edit_view_swt/vendor/java-mateview.jar

    <?xml version="1.0" encoding="UTF-8"?>

    AccessDeniedAccess DeniedC9EF74EBA36BFE6E5A86BCtexhAE82bfZ485ffSgqk+htzcEhm3xPo5tuvG2kyoh86vLDKzaz1xsjcKl

    don't know why this happened. May be :
    1. I installed the gem without sudo. As I'm having all the gems on my local path.

    Comments?

    Thanks

  • Jake Mallory

    Jake Mallory July 24th, 2010 @ 12:00 AM

    My co-worker is getting a similar error on windows.

    Error loading plugin: 0, application_swt>0] 0 files>
    cannot load Java class com.redcareditor.mate.Bundle

  • Erik Ludwig

    Erik Ludwig July 24th, 2010 @ 01:24 AM

    After my initial problem running Redcar on ticket #267, I am now having this same error.

  • Steven Hancock

    Steven Hancock July 24th, 2010 @ 03:25 AM

    I can confirm that this bug happens with a fresh install of 0.3.8.2 (uninstall the gem, remove the ~/.redcar directory, then reinstall and you should hit the bug). If you go through the install process with the 0.3.8 gem, then uninstall the gem (leaving the ~/.redcar directory intact) and install the 0.3.8.2 gem and do a redcar install it works fine.

  • Daniel Lucraft

    Daniel Lucraft July 24th, 2010 @ 08:11 AM

    • State changed from “open” to “resolved”

    Good sleuthing Steve!

    There was a problem with installation in 0.3.8.2. I've released 0.3.8.3 which should have fixed it.

    Thanks

  • Akshay Gupta

    Akshay Gupta July 26th, 2010 @ 06:24 AM

    Thanks a lot! I did the same and finally able to launch it :)

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.

New-ticket Create new ticket

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.

People watching this ticket

Tags

Referenced by

Pages