Bug #285

ошибка cl-install на ml370 g5

Added by Dmitry Efimov almost 8 years ago. Updated almost 8 years ago.

Status:Closed Start:05/05/2011
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Calculate Directory Server Spent time: -
Target version:-
Votes: 0

Description

При выполнении команды:

cl-install -d /dev/cciss/c0d0

Вместо диска без разницы что вбить, пишет:

Traceback (most recent call last):
  File "/usr/bin/cl-install", line 53, in <module>
    options.u):
  File "/usr/lib/calculate-2.2/calculate-install/pym/cl_install_cmd.py", line 321, in checkAndSetInstallOptions
    self.optobj.values.mbr):
  File "/usr/lib/calculate-2.2/calculate-install/pym/cl_install.py", line 1372, in setInstallOptions
    self.setDisks(listDisks,listBinds,listSwaps) and \
  File "/usr/lib/calculate-2.2/calculate-install/pym/cl_install.py", line 1049, in setDisks
    convObj = convertDictOpt(self.clVars)
  File "/usr/lib/calculate-2.2/calculate-install/pym/cl_install.py", line 405, in __init__
    'os_disk_part', 'os_disk_size')
  File "/usr/lib/calculate-2.2/calculate-install/pym/cl_install.py", line 559, in _zipVars
    return zip(*map(self.clVars.Get, argvVarNames))
  File "/usr/lib/calculate-2.2/calculate-lib/pym/cl_datavars.py", line 253, in Get
    return self.__Get(nameVar)
  File "/usr/lib/calculate-2.2/calculate-lib/pym/cl_datavars.py", line 238, in __Get
    ret = getattr(self, nameVar).Get()
  File "/usr/lib/calculate-2.2/calculate-lib/pym/cl_datavars.py", line 93, in Get
    self.value = self.Fill()
  File "/usr/lib/calculate-2.2/calculate-install/pym/cl_fill_install.py", line 353, in get_os_disk_dev
    return sorted(self.Get('os_disk_hash').keys(),
  File "/usr/lib/calculate-2.2/calculate-lib/pym/cl_datavars.py", line 253, in Get
    return self.__Get(nameVar)
  File "/usr/lib/calculate-2.2/calculate-lib/pym/cl_datavars.py", line 238, in __Get
    ret = getattr(self, nameVar).Get()
  File "/usr/lib/calculate-2.2/calculate-lib/pym/cl_datavars.py", line 93, in Get
    self.value = self.Fill()
  File "/usr/lib/calculate-2.2/calculate-install/pym/cl_fill_install.py", line 191, in get_os_disk_hash
    elif metch.groups()[2] in devicesHash:
NameError: global name 'metch' is not defined

Обновление python до 2.7 и системы не помогло решить проблему.

History

Updated by Alexander Tratsevskiy almost 8 years ago

Обновите утилиты и выполните повторно:

emerge -1 calculate-utilities

Updated by Mikhail Hiretsky almost 8 years ago

  • Status changed from New to Feedback

Updated by Dmitry Efimov almost 8 years ago

Работает, благодарю.

Updated by Mikhail Hiretsky almost 8 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF

Thank you!