Bug 53641 - Traceback using migrate_ucsschool_import_user script
Traceback using migrate_ucsschool_import_user script
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - CSV Import
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
Depends on:
  Show dependency treegraph
Reported: 2021-08-10 11:19 CEST by Christina Scheinig
Modified: 2021-08-10 18:30 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.017
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2021080921000355, 2021080921000391
Bug group (optional): Workaround is available
Max CVSS v3 score:
best: Patch_Available+


Note You need to log in before you can comment on or make changes to this bug.
Description Christina Scheinig univentionstaff 2021-08-10 11:19:47 CEST
We deliver a script as described in Bug 50321 to migrate from legacy to new user import.
But there is a traceback trying to use it.

root@school:~# /usr/share/ucs-school-import/scripts/migrate_ucsschool_import_user --help
Traceback (most recent call last):
  File "/usr/share/ucs-school-import/scripts/migrate_ucsschool_import_user", line 46, in <module>
    import attr
ImportError: No module named attr

univention-install python-attr solves this issue
Comment 1 Florian Best univentionstaff 2021-08-10 18:30:53 CEST
patch → git:7704a4ee9