Results 1 to 5 of 5

Thread: YaST modules not working on GUI modes

  1. #1

    Exclamation YaST modules not working on GUI modes

    Greetings. Since I upgraded to openSUSE 13.1 (from openSUSE 12.3), YaST stopped working on GUI mode. I can still use the console interface, and I can also use WebYaST. But when I start YaST from the application menu (my desktop environment is KDE), or when I execute
    Code:
    yast2 --qt
    on a root console, I get to see the initial screen, the one that lists all the module, but when I click on any of them, none will start. If I execute, say
    Code:
    yast2 repositories
    , I immediately get the prompt back and the module doesn't start, without giving any output (it doesn't matter if I use the --qt flag). I if execute
    Code:
    echo $?
    immediately after, I get 16, which according to the yast2 man pages means 'Generic module error'. It's the same with every other module.

    That's all the info I've got, and I don't know where can I get more detailed error information. I'd be happy to provide more info if you tell me where to look.

    I'm running openSUSE 13.1 64 bits on a Dell N4050 laptop, Core I5 processor, Intel HD 3000 integrated graphics.

    Any help is appreciated. Thanks in advance.

  2. #2

    Default Re: YaST modules not working on GUI modes

    Quote Originally Posted by alejorro70 View Post
    That's all the info I've got, and I don't know where can I get more detailed error information. I'd be happy to provide more info if you tell me where to look.
    Please post the last lines of /var/log/YaST2/y2log or upload the whole file to http://susepaste.org/. This should provide a clue.

    Also post your repo list please:
    Code:
    zypper lr -d

  3. #3

    Talking Re: YaST modules not working on GUI modes

    wolfi323 thank you for answering! I took a look at /var/log/YaST2/y2log and I was getting ruby related errors, especifically:

    Code:
    [Y2Ruby] binary/YRuby.cc(callClient):238 cannot require yast:cannot load such file -- fast_gettext at /usr/lib64/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
    Turns out rvm was overriding the system ruby and messing up the gems, and that seemed to be the reason why YaST was failing. I uninstalled rvm (I don't need it right now), restarted my laptop and YaST is working again now!

    I think this was my fault, because I had some folders with root permission on my ~/.rvm. If I need rvm again I'll be careful and looking for this not to happen again.

    Thanks again, wolfi323!

  4. #4

    Default Re: YaST modules not working on GUI modes

    Quote Originally Posted by alejorro70 View Post
    Turns out rvm was overriding the system ruby and messing up the gems, and that seemed to be the reason why YaST was failing. I uninstalled rvm (I don't need it right now), restarted my laptop and YaST is working again now!

    I think this was my fault, because I had some folders with root permission on my ~/.rvm. If I need rvm again I'll be careful and looking for this not to happen again.
    Well, you're not the first one that stumbled over this:
    http://forums.opensuse.org/showthrea...86#post2611686

    If you do want to use rvm again in the future, you should remove those env vars from the login scripts (~/.bashrc f.e.), put them in a separate script, and call this whenever you want to use it, I'd say, so that the system's ruby path is not overridden by default.

    YaST has been translated to ruby for 13.1, it needs a working ruby installation with some additional gems, f.e rubygem-fast_gettext.
    In your case this could not be loaded, because your rvm installation apparently did not include that (otherwise it would have even worked I guess).

  5. #5

    Default Re: YaST modules not working on GUI modes

    to clarify it was a bug in yast not resetting environment variables => http://lists.opensuse.org/opensuse-u.../msg00030.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •