Mailinglist Archive: yast-devel (62 mails)

< Previous Next >
[yast-devel] Re: Run YaST Module with GUI
On Wed, Mar 05, 2014 at 01:48:46PM +0100, Julian Zwickl wrote:
Hi Martin,

i have a problem. I modified the yast-cio source but when i
type the command rake run the Module doesn't show a window or anything
else.

Can you take a look?
https://github.com/hhetter/yast2-smbta/blob/master/src/lib/smbtad/smbta_dialog.rb

Hi Julian,

I am forwarding this to the public mailing list, hope you don't mind
since the repo is public anyay :)

y2log (/var/log/YaST2/y2log for sudo rake run, or ~/.y2log) says:

2014-03-05 14:34:35 <3> mrakoplas.suse.cz(6936) [liby2]
Y2ProgramComponent.cc(receiveFromExternal):370 External program
src/clients/smbta.rb returned invalid data. (No other error means no
data at all)

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.

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

Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
< Previous Next >
Follow Ups