Bug 39031 - SystemExit traceback when shutting down UMC-Server
SystemExit traceback when shutting down UMC-Server
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.1
Assigned To: Florian Best
Alexander Kramer
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-28 11:46 CEST by Florian Best
Modified: 2015-11-17 12:12 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2015-07-28 11:46:25 CEST
Reported, 4.0-2 errata246 (Walle)

Die Ausführung des Kommandos ucr ist fehlgeschlagen:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/base.py",line 282, in execute
    function(self, request)
  File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/session.py", line 353, in handle_request_get
    ucr.load()
  File "/usr/lib/pymodules/python2.7/univention/config_registry/backend.py", line 105, in load
    reg.load()
  File "/usr/lib/pymodules/python2.7/univention/config_registry/backend.py", line 335, in load
    self[key] = value
  File "/usr/lib/pymodules/python2.7/univention/config_registry/backend.py", line 418, in __setitem__
    key.decode('UTF-8')  # only accept valid UTF-8 encoded bytes
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
  File "/usr/sbin/univention-management-console-server", line 207, in signal_terminate
    raise SystemExit( 'Shutting down UMC server' )
SystemExit: Shutting down UMC server
Comment 1 Florian Best univentionstaff 2015-07-28 14:29:04 CEST
I fixed this in a commit in UCS 4.1 (svn r62467 base.py).
Instead a friendly error message is shown.
Comment 2 Alexander Kramer univentionstaff 2015-11-05 17:41:59 CET
OK - Instead of traceback a user friendly error message is shown and preventing umc from freezing

OK - changelog
Comment 3 Stefan Gohmann univentionstaff 2015-11-17 12:12:12 CET
UCS 4.1 has been released:
 https://docs.software-univention.de/release-notes-4.1-0-en.html
 https://docs.software-univention.de/release-notes-4.1-0-de.html

If this error occurs again, please use "Clone This Bug".