Mailinglist Archive: yast-devel (62 mails)

< Previous Next >
Re: [yast-devel] Re: Run YaST Module with GUI
On Wed, Mar 05, 2014 at 02:48:33PM +0100, Martin Vidner wrote:
Well, that is not of much help, but "strace -f -efile rake run"
reveals that YaST tries to simply exec src/clients/smbta.rb.
Removing the executable bit helps.

Please file an issue on https://github.com/yast/yast-ruby-bindings
or BNC about the executable bit.

I made some other fixes to see the dialog. see the attachment.

--
Martin Vidner, Cloud & Systems Management Team
http://en.opensuse.org/User:Mvidner

Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
diff --git a/src/clients/smbta.rb b/src/clients/smbta.rb
old mode 100755
new mode 100644
diff --git a/src/lib/smbtad/smbta_dialog.rb b/src/lib/smbtad/smbta_dialog.rb
index 8ae4650..1672fa0 100644
--- a/src/lib/smbtad/smbta_dialog.rb
+++ b/src/lib/smbtad/smbta_dialog.rb
@@ -35,7 +35,7 @@ def initialize

def run
return unless create_dialog
-
+ Yast::UI.UserInput
close_dialog
end

@@ -70,11 +70,11 @@ def config_table
end

def content
- Item(
+ [Item(
"foo",
"bar",
"foobar"
- )
+ )]
end

def headings
< Previous Next >
References