Bug #1002
cl-core-variables-show IndexError:list index out of
Статус: | Resolved | Начата: | 11.07.2017 | |
---|---|---|---|---|
Приоритет: | Normal | Дата выполнения: | ||
Назначена: | - | Готовность в %: | 0% |
|
Категория: | Calculate Utilities | Затраченное время: | - | |
Версия: | - | |||
Голоса: | 0 |
Описание
sudo cl-core-variables-show Пароль: * Список переменных Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/calculate/core/server/func.py", line 690, in run res = method(*args) File "/usr/lib64/python2.7/site-packages/calculate/core/set_vars.py", line 109, in showVariables self.printTable(_("List of variables"), head, body) File "/usr/lib64/python2.7/site-packages/calculate/core/result_viewer.py", line 691, in printTable self.task_state.printTable(table_name, head, body) File "/usr/lib64/python2.7/site-packages/calculate/core/result_viewer.py", line 337, in printTable self.parent.printer(printTable(body, head)) File "/usr/lib64/python2.7/site-packages/calculate/core/result_viewer.py", line 80, in printTable return Table(None, header, data, colSpan=0).printTable() File "/usr/lib64/python2.7/site-packages/calculate/core/result_viewer.py", line 66, in __init__ tableReport.__init__(self, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/calculate/lib/utils/text.py", line 127, in __init__ dataList) File "/usr/lib64/python2.7/site-packages/calculate/lib/utils/text.py", line 126, in <lambda> map(lambda y: y or "", x)), File "/usr/lib64/python2.7/site-packages/calculate/lib/utils/text.py", line 125, in <lambda> self.dataList = map(lambda x: map(lambda y: str(y).expandtabs(), File "/usr/lib64/python2.7/site-packages/calculate/core/variables/variable.py", line 188, in __str__ return self() File "/usr/lib64/python2.7/site-packages/calculate/core/variables/variable.py", line 183, in __call__ var_val = self.dv.Get(self.var) File "/usr/lib64/python2.7/site-packages/calculate/lib/datavars.py", line 1434, in Get var = self.__Get(varname, humanreadable) File "/usr/lib64/python2.7/site-packages/calculate/lib/datavars.py", line 1494, in __Get res = varObj._get() File "/usr/lib64/python2.7/site-packages/calculate/lib/datavars.py", line 412, in _get value = self.get() File "/usr/lib64/python2.7/site-packages/calculate/core/variables/request.py", line 160, in get if line.split()[0] == str(req_id): IndexError: list index out of range * IndexError:list index out of range(calculate.core.variables.request:160)
Если не от рута запустить, то выдаёт:
IndexError:list index out of range(calculate.core.variables.request:160)
calculate-utils-3.5.5.9 USE="backup console desktop install qt4"
История
Обновлено Фёдор Ратиев больше 7 лет назад
Дело было в кривом сертификате. Установил ночную сборку. Почему-то сертификат криво сгенерировался.
Решилось так:
/etc/init.d/calculate-core stop rm -r /var/calculate/server rm -r /home/user/.calculate/client_cert cl-core -b cl-core -u user /etc/init.d/calculate-core start
Обновлено Mikhail Hiretsky больше 7 лет назад
Проблема отображения переменных будет исправлена в calculate-utils-3.5.5.11
.
Обновлено Mikhail Hiretsky больше 7 лет назад
- Параметр Статус изменился с New на Resolved