Bug 20178 - Funktionsparameter "socket" führt zu Traceback in UMC
Summary: Funktionsparameter "socket" führt zu Traceback in UMC
Status: CLOSED FIXED
Alias: None
Product: UCS@school
Classification: Unclassified
Component: UMC
Version: UCS@school for UCS 2.4
Hardware: Other Linux
: P5 normal
Target Milestone: UCS@school UCS 2.4
Assignee: Sönke Schwardt-Krummrich
QA Contact: Andreas Büsching
URL:
Keywords:
Depends on: 20177
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-29 15:42 CEST by Sönke Schwardt-Krummrich
Modified: 2010-11-10 11:11 CET (History)
0 users

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):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2010-09-29 15:42:00 CEST
Dieser Bugfix sollte auch in UCS@school enthalten sein.

+++ This bug was initially created as a clone of Bug #20177 +++

Es gibt in UMC mehrere Stellen, wo einer Funktion der Parameter "socket"
übergeben wird. Dies führt bei der Verwendung des Moduls "socket" zu einem
Konflikt (siehe unten).

29.09.10 14:54:03  DEBUG_INIT
Traceback (most recent call last):
  File "/usr/sbin/univention-management-console-module", line 100, in ?
    notifier.loop()
  File "/usr/lib/python2.4/site-packages/notifier/nf_generic.py", line 272, in
loop
    step()
  File "/usr/lib/python2.4/site-packages/notifier/nf_generic.py", line 258, in
step
    if cond & condition and fd in __sockets[ cond ] and \
  File
"/usr/lib/python2.4/site-packages/univention/management/console/protocol/modserver.py",
line 154, in _recv
    self.handle( msg )
  File
"/usr/lib/python2.4/site-packages/univention/management/console/protocol/modserver.py",
line 223, in handle
    self.__handler.execute( descr.method, msg )
  File
"/usr/lib/python2.4/site-packages/univention/management/console/handlers/__init__.py",
line 170, in execute
    self.signal_emit( 'failure', res )
  File "/usr/lib/python2.4/site-packages/notifier/signals.py", line 68, in
signal_emit
    self.__signals[ signal ].emit( *args )
  File "/usr/lib/python2.4/site-packages/notifier/signals.py", line 34, in emit
    if args: cb( *args )
  File "/usr/lib/python2.4/site-packages/notifier/__init__.py", line 107, in
__call__
    return self._function( *tmp )
  File
"/usr/lib/python2.4/site-packages/univention/management/console/protocol/modserver.py",
line 105, in _reply
    self.response( msg )
  File
"/usr/lib/python2.4/site-packages/univention/management/console/protocol/modserver.py",
line 278, in response
    if self._do_send( self.__comm ):
  File
"/usr/lib/python2.4/site-packages/univention/management/console/protocol/modserver.py",
line 254, in _do_send
    except socket.error, e:
AttributeError: '_socketobject' object has no attribute 'error'
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2010-09-29 16:31:43 CEST
Version aus UCS 2.4-1 wurde gecherrypickt und neu gebaut. Siehe auch Bug 20177.
Changelog-Eintrag wurde gemacht.
Comment 2 Andreas Büsching univentionstaff 2010-09-30 13:04:56 CEST
Der Traceback tritt nicht mehr auf. Nach der erfolgreichen Installation zeigt das webinterface allerdings eine weiße Seite. Liegt vermutlich an dem Neustart von UMC
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2010-11-10 11:11:59 CET
UCS@school 2.4 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer
neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden:
"Clone This Bug".