两台机器,yast2-hwinfo 无响应,求赐教!

两台机器,硬件不一样,dup 后均在 DSL 检测界面无响应,已经存在很长时间了,y2log 显示:
[Interpreter] bin/y2start:60 Calling YaST client hwinfo# [Ruby] yast/wfm.rb(run_client):341 Call client /usr/share/YaST2/clients/hwinfo.rb
[Ruby] modules/CommandLine.rb(Run):1530 ----------------------------------------
[Ruby] modules/CommandLine.rb(Run):1531 Command line interface started
[ui] YPushButton.cc(setFunctionKey):202 Guessing button role YCancelButton for YPushButton “中止 ®” at 0x7f29784e0da0 from function key F9
[Ruby] clients/hwinfo.rb(buildHwTree):203 Probing probe ()…
[Ruby] hwinfo/routines.rb(trans_str):846 Cannot translate string ‘fingerprint’
[Ruby] clients/hwinfo.rb(buildHwTree):203 Probing fingerprint (fingerprint)…
[Interpreter] clients/hwinfo.rb:210 SCR::Dir() failed
[Ruby] clients/hwinfo.rb(buildHwTree):203 Probing DSL (DSL)…
[Interpreter] clients/hwinfo.rb:210 SCR::Dir() failed

一路找到 hwinfo.rb:210 :
def buildHwTree(p, progMin, progMax)
Builtins.y2debug(“buildHwTree path: %1”, p)

  a = UI.PollInput
  if a == :cancel || a == :abort
    @abortPressed = true
    return nil
  end

  node = afterLast(p)
  node_translated = trans_str(node)

  UI.ChangeWidget(Id(:initProg), :Label, node_translated)
  Builtins.y2milestone("Probing %1 (%2)...", node, node_translated)
  pat = Builtins.topath(p)

  Builtins.y2debug("Reading path: %1", p)

  return nil if Builtins.contains(@exclude_list, pat)

 dir = SCR.Dir(pat)

  if dir == nil
    val = SCR.Read(pat)

    # SMBIOS entries cleanup

210 行显示 : dir = SCR.Dir(pat)

后面就不知道如何修改了,请大神们有空帮看一下什么问题,先谢过了!

多谢,我去看一下,这够我看很多天了 :blush:

多谢几位相助,我去试试

def BuildHWTree(p, progMin, progMax)

这行底下加:

puts “reading path...”
puts p

终端运行就有输出了,不用再删了就行…ruby debug 没有那么麻烦…

1赞

我还没弄明白,升级就自动好了 :joy:

本主题在最后一个回复创建后60分钟后自动锁定。不再允许添加新回复。