Mailinglist Archive: opensuse-bugs (4214 mails)

< Previous Next >
[Bug 705417] ruby-bindings: lower-cased module not found by ycp

https://bugzilla.novell.com/show_bug.cgi?id=705417

https://bugzilla.novell.com/show_bug.cgi?id=705417#c18


Jiří Suchomel <jsuchome@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
InfoProvider|jsuchome@xxxxxxxx |

--- Comment #18 from Jiří Suchomel <jsuchome@xxxxxxxx> 2012-01-18 10:59:01 UTC
---
It is not clear how should it be used. I'm creating symlink


ln -s /usr/lib64/ruby/vendor_ruby/1.8/y_lib /usr/share/YaST2/modules/y_lib

And calling from ycp


import "YLib::KerberosClient";

y2internal ("read: %1", YLib::KerberosClient::read ($[]));


Which ends with

2012-01-18 11:58:43 <1> dhcp74.suse.cz(18665) [liby2]
genericfrontend.cc(main):675 Launched YaST2 component 'y2base' './kerberos.ycp'
'qt'
2012-01-18 11:58:43 <1> dhcp74.suse.cz(18665) [ui-component]
YUIComponentCreator.cc(createInternal):134 Creating UI component for ""
2012-01-18 11:58:43 <1> dhcp74.suse.cz(18665) [ui-component]
YUIComponentCreator.cc(createInternal):149 Returning existing UI component for
"qt"
2012-01-18 11:58:43 <3> dhcp74.suse.cz(18665) [Interpreter]
examples/kerberos.ycp:31 Loading module 'YLib::KerberosClient' failed
2012-01-18 11:58:43 <3> dhcp74.suse.cz(18665) [libycp] Import.cc(import):97 No
matching component found
2012-01-18 11:58:43 <3> dhcp74.suse.cz(18665) [Parser] examples/kerberos.ycp:31
Can't load module 'YLib::KerberosClient'.
2012-01-18 11:58:43 <3> dhcp74.suse.cz(18665) [Parser] examples/kerberos.ycp:34
Unknown namespace 'YLib::KerberosClient'. Missing 'import'?
2012-01-18 11:58:43 <3> dhcp74.suse.cz(18665) [Parser] examples/kerberos.ycp:34
syntax error, unexpected SCANNER_ERROR
2012-01-18 11:58:43 <1> dhcp74.suse.cz(18665) [wfm]
Y2CCWFM.cc(createInLevel):148 Parsing finished
2012-01-18 11

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >