Comment 7 for bug 1350735

Revision history for this message
Lev (levent-atasoy) wrote :

OK. I did not realize the beta release was the one being updated nightly.

I tried it with the updated jar. It could not get it to work.
Below is the code I added (I also tried strings 'info' instead of symbols :info):
$log.info $log.methods.include?(:info)
Debug.setLoggerNoPrefix($log)
Debug.setLoggerInfo(:info)
Debug.setLoggerDebug(:debug)
Debug.setLoggerAction(:info)
Debug.setLoggerError(:error)

When I run this, I get the following:

INFO 14-08-02 15:26:22 TrueClass: true
[error] Debug: setLoggerInfo: redirecting to info failed:
org.jruby.RubyObject.info(java.lang.String)
[log] CLICK on L(27,10)@S(0)[0,0 1440x900]
[log] CLICK on L(306,707)@S(0)[0,0 1440x900]

I also tried the following, but get the same results:
  Debug.setLogger($log)
  Debug.setLoggerAll('info')

On the gem front, something is really strange. I cleaned up and reinstalled the gem repeatedly, but the newly installed gem always has the capital 'SikuliX', even the the source on the rubygems.org displays 'Sikulix'.
I manually downloaded and installed the gem with the same result.
The source and downloaded gem both have version 1.1.01.
Is it possible that the source code was updated without updating the gem version and the updated source not pushed to the repository properly?