Bug 4384 - Traceback in lowxmlrpc.py - global name 'errno' is not defined
Summary: Traceback in lowxmlrpc.py - global name 'errno' is not defined
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Server (show other bugs)
Version: 3.4.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.0.0
Assignee: Peter Åstrand
URL:
Keywords: ossman_tester
Depends on:
Blocks:
 
Reported: 2012-09-04 09:05 CEST by Peter Åstrand
Modified: 2012-11-28 12:39 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2012-09-04 09:05:29 CEST
From Issue 13647:

2012-09-04 08:02:29 WARNING vsmserver.extproc: ['/opt/thinlinc/etc/sessionreconnect.d/tl-limit-printers'] wrote to stderr: Traceback (most recent call last):
  File "/opt/thinlinc/etc/sessionreconnect.d/tl-limit-printers", line 73, in <module>
    sys . exit ( II1i ( sys . argv [ 1 : ] ) )
  File "/opt/thinlinc/etc/sessionreconnect.d/tl-limit-printers", line 59, in II1i
    limit_printers ( IIIiI11ii , os . environ [ 'USER' ] , verbose = II )
  File "/opt/thinlinc/modules/thinlinc/tlprinter.py", line 599, in limit_printers
    OoOoooO = I1ii1iIiii1I ( hive )
  File "/opt/thinlinc/modules/thinlinc/tlprinter.py", line 462, in I1ii1iIiii1I
    return II11IiIi11 . get_sessions ( )
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1570, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1292, in single_request
    self.send_content(h, request_body)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1439, in send_content
    connection.endheaders(request_body)
  File "/usr/lib/python2.7/httplib.py", line 940, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 803, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 755, in send
    self.connect()
  File "/opt/thinlinc/modules/thinlinc/vsm/lowxmlrpc.py", line 24, in connect
    self . _bind_low_port ( )
  File "/opt/thinlinc/modules/thinlinc/vsm/lowxmlrpc.py", line 49, in _bind_low_port
    if oOOoo00O0O [ 0 ] in [ errno . EADDRINUSE , errno . EINVAL ] :
NameError: global name 'errno' is not defined
Comment 1 Peter Åstrand cendio 2012-09-04 09:06:48 CEST
Fixed in 25720.
Comment 2 Pierre Ossman cendio 2012-10-03 11:01:28 CEST
Code review. Looks fine.

Note You need to log in before you can comment on or make changes to this bug.