Problem
You get this traceback, when you import your users via the graphical import and it always displays the same - not meaningful - error message
Die Prüfung der Daten ist fehlgeschlagen.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/celery/app/trace.py", line 240,
in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/celery/app/trace.py", line 437,
in __protected_call__
return self.run(*args, **kwargs)
File
"/usr/lib/pymodules/python2.7/ucsschool/http_api/import_api/tasks.py",
line 111, in dry_run
run_import_job(self, importjob_id)
File
"/usr/lib/pymodules/python2.7/ucsschool/http_api/import_api/tasks.py",
line 94, in run_import_job
raise Exception('Import job exited with {}.'.format(res))
Exception: Import job exited with 1.
Possible solutions
-
There are no parts missing in you csv-import file
-
Your csv-import file is UTF8 formatted.
-
You have to check the Logfile on your server:
/var/lib/ucs-school-import/jobs/2018/<Job-ID>/ucs-school-import.log
-
You can restart the following services
service gunicorn restart
service celeryd restart
service celery-worker-ucsschool-import restart