Bug #1093

sys-apps/calculate-server-2.1.19-r3 Ошибка в cl-backup-server

Added by Vladimir Ts about 1 month ago. Updated 26 days ago.

Status:Closed Start:09/19/2018
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:- Spent time: -
Target version:-
Votes: 0

Description

При запуске cl-backup-server -b вываливается с ошибкой:

Traceback (most recent call last):
  File "/usr/bin/cl-backup-server", line 36, in <module>
    if obj.backupLdapServer(optObj.opt):
  File "/usr/lib/calculate/calculate-server/pym/cl_ldap.py", line 8465, in backupLdapServer
    return self.backupServer()
  File "/usr/lib/calculate/calculate-server/pym/cl_ldap.py", line 8087, in backupServer
    backupFile = "%s.tar.bz2" %strData
NameError: global name 'strData' is not defined

Скопировал строчку

strData = time.strftime("%Y%m%d%H%M%S",time.localtime(time.time()))

из backupNotLdap и всё нормально отработало

cl_ldap.py.patch (542 Bytes) Vladimir Ts, 09/19/2018 02:02 pm

History

Updated by Mikhail Hiretsky about 1 month ago

Спасибо. Исправили в calculate-server-2.1.19-r4

Updated by Mikhail Hiretsky about 1 month ago

  • Status changed from New to Resolved

Updated by Alexander Tratsevskiy 26 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Thank you!