Where can I find meaningful error messages for problems with the graphical importtool

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

  1. There are no parts missing in you csv-import file

  2. Your csv-import file is UTF8 formatted.

  3. You have to check the Logfile on your server:
    /var/lib/ucs-school-import/jobs/2018/<Job-ID>/ucs-school-import.log

  4. You can restart the following services

service gunicorn restart
service celeryd restart
service celery-worker-ucsschool-import restart

Will be fixed (→ useful messages), once https://forge.univention.org/bugzilla/show_bug.cgi?id=45165 has been published.

Mastodon