ruby on rails - error with shoes no superclass method -


I am developing an interface with ads for green_shoes (GUI).

To connect my script to the LDAP server and check the presence of the user, I can enter the login and password.
When I click on the "login" button with or without logging in, I get an error.

Error:

  can not work as expected / Yes / Zirius /. RVM / Games / Ruby-1.9.3-P484 / Games / Green_Shares -1.1.374 / Leib / Shoes / Ruby RB: 14: In 'Exit Operation': Super: No Super Class Method for GLIB 'Exit App Application': /home/zyriuse/.rvm/gems/ruby-1.9 Modules (Nomhaetire error). 3-P 484 / gemstone / green_short-1.1.374 / Leib / shoes / main RB: 123: In 'main',  script   'green_shores' requires 'Net / LDAP' shoes.app (title = & Gt; "Authentication" ,: width => 300,: height = & gt; 300) Class ConnectLdap @myApp def initialize (Myapp, connect = Zero) @connect = connect @myApp = myapp end def connect (Login, pwd) @ myApp.app ldap = net :: LDAP.new ldap.host = "78.110.xx.xx" ldap.port = 38 9 Ldap.auth "cn = admin, dc = domaine, dc = Com "," password "filter = Net :: LDAP :: Filter.eq (" uid "," # {login} ") dn = [" dn "] @ connect = ldap.bind_as (: base = & gt; "DC = Dominin, DC = Com" ,: filter => gt; ; Filters ,: Attributes = & gt; DN ,: Password = & gt; "# {Pwd}") End End DIF Connect? if! @ Connect == true alert "successful login" Other warning "wrong password or login" end end and stack @ myActions = "Login" for ConnectLdap.new (self) login = edit_line paragraph "password" password = edit_line button "Login "Do @ myactions.connect (login.text, password, text) and end  

I do not know that it is still relevant, but I have just seen it ... have you tried with green_shores 1.1.367?

is concerned, Seba


Comments

Popular posts from this blog

Editing Python Class in Shell and SQLAlchemy -

import - Python ImportError: No module named wmi -

uislider - In a MATLAB GUI, how does one implement a continuously varying slider from a GUIDE created .m file? -