Univention Bugzilla – Bug 44087
ucs-school-exam-cleanup fails if there hasn't been an exam yet
Last modified: 2023-06-12 15:39:30 CEST
> 27.03.17 16:01:02.397 DEBUG_INIT > 27.03.17 16:01:02.402 MAIN ( INFO ) : Opening UMCP connection to sedu011-01 with machine account > 27.03.17 16:01:02.610 MAIN ( INFO ) : Opening LDAP connection > 27.03.17 16:01:03.857 MAIN ( INFO ) : Skipping remove_exam_user: system/role does not match > Traceback (most recent call last): > File "/usr/share/ucs-school-exam/exam-and-room-cleanup", line 279, in <module> > main() > File "/usr/share/ucs-school-exam/exam-and-room-cleanup", line 275, in main > helper.cleanup() > File "/usr/share/ucs-school-exam/exam-and-room-cleanup", line 234, in cleanup > self.remove_exam_file_debris() > File "/usr/share/ucs-school-exam/exam-and-room-cleanup", line 200, in remove_exam_file_debris > for entry in os.listdir(self.DIR_EXAMS): > OSError: [Errno 2] No such file or directory: '/var/lib/ucs-school-umc-schoolexam' Happens only until the first exam is acutally started ('/var/lib/ucs-school-umc-schoolexam' is created then). +++ This bug was initially created as a clone of Bug #40213 +++ A customer suggested that it would be great if the exam mode is automatically stopped during the night hours (similar to computer room settings which are also reset during the night).
This issue has been filled against UCS@school 4.1 (R2). The maintenance with bug and security fixes for UCS@school 4.1 (R2) has ended on 5th of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3 (or later). Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.