A teacher reported that they are not able to upload the exam documents. The progress bar gets stuck at 0%. In the management-console-module-schoolexam.log we found the following error for the relevant time frame: > 06.04.16 07:45:48.826 MODULE ( ERROR ) : Failed to create cachedir: [Errno 17] Die Datei existiert bereits: '/var/lib/ucs-school-umc-schoolexam/inf_0604.data' I think we should catch this and work around it automatically. Ticket#2016040821000294
@Michael Which UCS@school version was used? How is it reproducible? Is there the full logfile available (with debug infos)? The error message is unrelevant as the error is catched. We should hide the false positive error message nevertheless.
(In reply to Florian Best from comment #1) > @Michael > Which UCS@school version was used? ucsschool_20160115 (UCS 4.0-4 or 4.0-5) > How is it reproducible? Unfortunately, I was not able to reproduce it myself. It only happened at this very school when the teacher tried to upload the exam documents. There were also some lingering files underneath /var/lib/ucs-school-umc-schoolexam/ that belonged to old, already finished exams. Maybe that's related? > Is there the full logfile available (with debug infos)? I added the full log (without debug infos) at the mentioned Ticket (last note).
Fixed in r71280: _createCacheDir() was called twice when creating am exam.
It is nicer to use "errno.EEXIST" instead of "17"!
74483: updated source code to use symbol instead of number 74484: changed wording in advisory
We couldn't reproduce the original problem but we fixed the error message. If you have more concrete information on how to reproduce this (e.g. the browser, what kind of files) please create a new bug. OK: the error message is not shown anymore OK: YAML
UCS@school 4.1 R2 v9 has been released. http://docs.software-univention.de/changelog-ucsschool-4.1R2v9-de.html