Univention Bugzilla – Bug 35367
listener-script can't add system to pkgdb
Last modified: 2014-10-30 14:13:56 CET
From the listener.log: 14.07.14 19:59:39.282 LISTENER ( ERROR ) : error while adding system=ae2nd55fho$ to pkgdb Traceback (most recent call last): File "/usr/lib/univention-directory-listener/system/pkgdb.py", line 101, in handler file = open( os.path.join(ADD_DIR, new['uid'][0]), 'w' ) NameError: global name 'os' is not defined Missing import. ./services/univention-pkgdb/pkgdb.py:93: undefined name 'os' ./services/univention-pkgdb/pkgdb.py:101: undefined name 'os' Introduced by svn 36144 where "import os" was removed.
Fixed in Errata 3.2-3 and UCS 4.0-0. Advisory: 2014-10-27-univention-pkgdb.yaml
ucs-test: OK YAML: OK Code review: OK UCS 4.0 merge: OK Test: OK
http://errata.univention.de/ucs/3.2/229.html