eric ide

Message95

Author: bdjnk
Recipients:
Date: 2011-08-23.21:24:25
Content
Eric Version: 5.1.4
When using the Shell pane context menu to start Ruby I get the following output
in said pane:


SyntaxError:  syntax error, unexpected $end
Capabilities<
             ^
/usr/lib/python3.2/site-packages/eric5/DebugClients/Ruby/DebugClientBaseModule.rb:477:in
`eval'
/usr/lib/python3.2/site-packages/eric5/DebugClients/Ruby/DebugClientBaseModule.rb:477:in
`handleLine'
/usr/lib/python3.2/site-packages/eric5/DebugClients/Ruby/AsyncIO.rb:73:in
`readReady'
/usr/lib/python3.2/site-packages/eric5/DebugClients/Ruby/DebugClientBaseModule.rb:619:in
`eventLoop'
/usr/lib/python3.2/site-packages/eric5/DebugClients/Ruby/DebugClientBaseModule.rb:595:in
`interact'
/usr/lib/python3.2/site-packages/eric5/DebugClients/Ruby/DebugClientBaseModule.rb:1172:in
`main'
/usr/lib/python3.2/site-packages/eric5/DebugClients/Ruby/DebugClient.rb:44:in
`<main>'
SyntaxError:  syntax error, unexpected $end
Banner<
       ^
/usr/lib/python3.2/site-packages/eric5/DebugClients/Ruby/DebugClientBaseModule.rb:477:in
`eval'
/usr/lib/python3.2/site-packages/eric5/DebugClients/Ruby/DebugClientBaseModule.rb:477:in
`handleLine'
/usr/lib/python3.2/site-packages/eric5/DebugClients/Ruby/AsyncIO.rb:73:in
`readReady'
/usr/lib/python3.2/site-packages/eric5/DebugClients/Ruby/DebugClientBaseModule.rb:619:in
`eventLoop'
/usr/lib/python3.2/site-packages/eric5/DebugClients/Ruby/DebugClientBaseModule.rb:595:in
`interact'
/usr/lib/python3.2/site-packages/eric5/DebugClients/Ruby/DebugClientBaseModule.rb:1172:in
`main'
/usr/lib/python3.2/site-packages/eric5/DebugClients/Ruby/DebugClient.rb:44:in
`<main>'


----------

I also tried ruby -w to see what information I could gather:


$ ruby -w DebugClientBaseModule.rb 

DebugClientBaseModule.rb:307: warning: shadowing outer local variable - line
DebugClientBaseModule.rb:335: warning: shadowing outer local variable - line
DebugClientBaseModule.rb:772: warning: mismatched indentations at 'end' with
'if' at 767
DebugClientBaseModule.rb:830: warning: shadowing outer local variable - i
DebugClientBaseModule.rb:551: warning: duplicated when clause is ignored
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load --
DebugQuit (LoadError)
	from <internal:lib/rubygems/custom_require>:29:in `require'
	from DebugClientBaseModule.rb:17:in `<main>'


----------

Then I found this post (
http://stackoverflow.com/questions/542845/how-to-rescue-an-eval-in-ruby ) and
decided whatever issue it's having is over my head.
History
Date User Action Args
2011-08-23 21:24:25bdjnksetmessageid: <1314134665.93.0.0520155510911.issue28@eric-ide.python-projects.org>
2011-08-23 21:24:25bdjnklinkissue28 messages
2011-08-23 21:24:25bdjnkcreate