BiorubyScriptingEnginePlugin not working.

8 views
Skip to first unread message

sushri

unread,
Dec 1, 2010, 12:53:29 AM12/1/10
to cytoscape-helpdesk
Hi everyone,

I have installed ScriptingEngineManager plugin and RubyScriptingEngine
(v .0.21) plugin using Plugin manager. However, on selecting :
Plugins-->Scripting Language Consoles-->... , there is no option for
selecting ... -->Open Ruby Console.

So, I am not able to initialize the BioRuby Console.

Below are the specifications of other related softwares and
installations:

O.S. - Windows XP ;
Cytoscape version - Cytoscape_2_7_0_windows_32bit ;
Java SE 6 installed ;
Jruby installed - jruby_windows_1_4_0 ;
Bioruby -1.3.1 (extracted the folder from .tar file and copied to the
location C:\Program Files\bioruby-1.3.1);

Environment variables set are as follows:
PATH : C:\Program Files\jruby-1.4.0\bin;C:\Program Files
\bioruby-1.3.1\bin;C:\Program Files\Ruby186\bin;C:\Program Files
\rubygems-1.3.1\bin
CLASSPATH : C:\Program Files\jruby-1.4.0\lib\jruby.jar;C:\Program Files
\jruby-1.4.0\lib\profile.jar



Here is the start-up error log, which started appearing only after I
installed RubyScriptingEngine plugin:


java.lang.RuntimeException: java.net.URISyntaxException: Illegal
character in opaque part at index 11: jar:file:C:\Documents and
Settings\Admin\.cytoscape\2.7\plugins
\RubyScriptingEngine-0.21\RubyScriptingEngine.jar!/META-INF/jruby.home/
bin/jruby
at org.jruby.embed.ScriptingContainer.<init>(ScriptingContainer.java:
210)
at org.jruby.embed.ScriptingContainer.<init>(ScriptingContainer.java:
169)
at
edu.ucsd.bioeng.idekerlab.rubyengine.RubyEnginePlugin.register(RubyEnginePlugin.java:
110)
at
edu.ucsd.bioeng.idekerlab.rubyengine.RubyEnginePlugin.propertyChange(RubyEnginePlugin.java:
153)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown
Source)
at cytoscape.Cytoscape.firePropertyChange(Cytoscape.java:1783)
at cytoscape.CytoscapeInit.init(CytoscapeInit.java:249)
at cytoscape.CyMain.<init>(CyMain.java:143)
at cytoscape.CyMain.main(CyMain.java:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: java.net.URISyntaxException: Illegal character in opaque
part at index 11: jar:file:C:\Documents and Settings\Admin\.cytoscape
\2.7\plugins\RubyScriptingEngine-0.21\RubyScriptingEngine.jar!/META-
INF/jruby.home/bin/jruby
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
at java.net.URL.toURI(Unknown Source)
at
org.jruby.embed.util.SystemPropertyCatcher.findFromJar(SystemPropertyCatcher.java:
160)
at
org.jruby.embed.util.SystemPropertyCatcher.findJRubyHome(SystemPropertyCatcher.java:
148)
at
org.jruby.embed.util.SystemPropertyCatcher.setJRubyHome(SystemPropertyCatcher.java:
136)
at org.jruby.embed.ScriptingContainer.<init>(ScriptingContainer.java:
207)
... 14 more


Please help me solve this issue.

Thanks.
Reply all
Reply to author
Forward
0 new messages