Bug 19729 - Traceback durch überlagertes Modul
Summary: Traceback durch überlagertes Modul
Status: RESOLVED DUPLICATE of bug 20177
Alias: None
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
Version: UCS 2.4
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 2.x
Assignee: Bugzilla Mailingliste
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-27 16:13 CEST by Sönke Schwardt-Krummrich
Modified: 2010-10-13 15:17 CEST (History)
1 user (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):
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-08-27 16:13:10 CEST
Aufgetreten in Ticket#2010082610001952:

Der Parameter "socket" sollte umbenannt werden, damit er nicht das Modul "socket" überlagert und zu dem Traceback führt.

error in socket callback
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/notifier/nf_generic.py", line 221, in step
    if not __sockets[ condition ][ sock ]( sock ):
  File "/usr/lib/python2.4/site-packages/univention/management/console/protocol/modserver.py", line 152, in _recv
    self.handle( msg )
  File "/usr/lib/python2.4/site-packages/univention/management/console/protocol/modserver.py", line 205, in handle
    self.response( resp )
  File "/usr/lib/python2.4/site-packages/univention/management/console/protocol/modserver.py", line 276, in response
    if self._do_send( self.__comm ):
  File "/usr/lib/python2.4/site-packages/univention/management/console/protocol/modserver.py", line 252, in _do_send
    except socket.error, e:
AttributeError: '_socketobject' object has no attribute 'error'


univention-management-console/modules/univention/management/console/protocol/modserver.py:249

	def _do_send( self, socket ):
		if len(self.__queue) > 0:
			length = len( self.__queue )
			try:
				ret = self.__comm.send( self.__queue )
			except socket.error, e:
				if e[0] == 11:
					return True
				raise
Comment 1 Stefan Gohmann univentionstaff 2010-10-13 14:34:11 CEST
Das ist in einer Kundenumgebung erneut aufgetreten:

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 207, in handle
    self.response( resp )
  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'
13.10.10 14:20:13  ADMIN       ( WARN    ) : socket died (module=uvmm)
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2010-10-13 15:17:45 CEST

*** This bug has been marked as a duplicate of bug 20177 ***