Univention Bugzilla – Bug 33799
create-archivefolder.py traceback
Last modified: 2015-05-08 13:40:13 CEST
The following traceback happens if univention-mail-postfix is installed and univention-mail-cyrus is not installed. Ticket #2013121921001566 Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py", line 204, in execute func( request ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/ucr/__init__.py", line 107, in put ucr.handler_set( arg ) File "/usr/lib/pymodules/python2.6/univention/config_registry/frontend.py", line 162, in handler_set None if quiet else 'W: %s is overridden by scope "%s"') File "/usr/lib/pymodules/python2.6/univention/config_registry/frontend.py", line 203, in _run_changed handlers(changed.keys(), (ucr, changed)) File "/usr/lib/pymodules/python2.6/univention/config_registry/handler.py", line 795, in __call__ handler(arg) File "/usr/lib/pymodules/python2.6/univention/config_registry/handler.py", line 430, in __call__ run_module(self.module, 'generate', ucr, changed) File "/usr/lib/pymodules/python2.6/univention/config_registry/handler.py", line 162, in run_module arg2meth[arg](module)(ucr, changes) File "/etc/univention/templates/modules/create-archivefolder.py", line 42, in handler subprocess.call([cmd, folder]) File "/usr/lib/python2.6/subprocess.py", line 470, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.6/subprocess.py", line 623, in __init__ errread, errwrite) File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child raise child_exception OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden
This traceback occurs when setting the UCR variable mail/archivefolder. It was reported by the UMC traceback feedback formular. The script calls /usr/sbin/univention-cyrus-mkdir which doesn't exists.
Reported also via Traceback feedback 3.2-3 errata234 (Borgfeld) Traceback: Die Ausführung des Kommandos ucr/put ist fehlgeschlagen: Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py", line 218, in execute func( request ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/ucr/__init__.py", line 107, in put ucr.handler_set( arg ) File "/usr/lib/pymodules/python2.6/univention/config_registry/frontend.py", line 162, in handler_set None if quiet else 'W: %s is overridden by scope "%s"') File "/usr/lib/pymodules/python2.6/univention/config_registry/frontend.py", line 203, in _run_changed handlers(changed.keys(), (ucr, changed)) File "/usr/lib/pymodules/python2.6/univention/config_registry/handler.py", line 835, in __call__ handler(arg) File "/usr/lib/pymodules/python2.6/univention/config_registry/handler.py", line 467, in __call__ run_module(self.module, 'generate', ucr, changed) File "/usr/lib/pymodules/python2.6/univention/config_registry/handler.py", line 164, in run_module arg2meth[arg](module)(ucr, changes) File "/etc/univention/templates/modules/create-archivefolder.py", line 42, in handler subprocess.call([cmd, folder]) File "/usr/lib/python2.6/subprocess.py", line 470, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.6/subprocess.py", line 623, in __init__ errread, errwrite) File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child raise child_exception OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden
Fix is in revision 60591.
(In reply to Daniel Tröder from comment #3) > Fix is in revision 60591. Ok, this is in the component/dovecot branch. You are working on Bug #38477, as this bug does not have a target milestone i will mark it as duplicate of the bug you are working on ;) *** This bug has been marked as a duplicate of bug 38477 ***