Skip to content

CRITICAL:root:unsupported operand type(s) for &: 'str' and 'int' #172

Closed
@nandish017

Description

@nandish017

Have you included the following information?

CRITICAL:twisted:Unhandled Error
Traceback (most recent call last):
File "c:\users\appdata\local\programs\python\python3.8\lib\site-packages\twisted\python\log.py", line 103, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "c:\users\appdata\local\programs\python\python3.8\lib\site-packages\twisted\python\log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "c:\users\appdata\local\programs\python\python3.8\lib\site-packages\twisted\python\context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "c:\users\appdata\local\programs\python\python3.8\lib\site-packages\twisted\python\context.py", line 85, in callWithContext
return func(*args,**kw)
--- ---
File "c:\users\appdata\local\programs\python\python3.8\lib\site-packages\twisted\internet\selectreactor.py", line 149, in _doReadOrWrite
why = getattr(selectable, method)()
File "c:\users\appdata\local\programs\python\python3.8\lib\site-packages\twisted\internet\tcp.py", line 243, in doRead
return self._dataReceived(data)
File "c:\users\appdata\local\programs\python\python3.8\lib\site-packages\twisted\internet\tcp.py", line 249, in _dataReceived
rval = self.protocol.dataReceived(data)
File "c:\users\appdata\local\programs\python\python3.8\lib\site-packages\vncdotool\rfb.py", line 685, in dataReceived
self._handler()
File "c:\users\appdata\local\programs\python\python3.8\lib\site-packages\vncdotool\rfb.py", line 694, in _handleExpected
self._expected_handler(block, *self._expected_args, **self._expected_kwargs)
File "c:\users\appdata\local\programs\python\python3.8\lib\site-packages\vncdotool\rfb.py", line 255, in _handleVNCAuth
self.vncRequestPassword()
File "c:\users\appdata\local\programs\python\python3.8\lib\site-packages\vncdotool\command.py", line 52, in vncRequestPassword
self.sendPassword(self.factory.password)
File "c:\users\appdata\local\programs\python\python3.8\lib\site-packages\vncdotool\rfb.py", line 261, in sendPassword
des = RFBDes(pw)
File "c:\users\appdata\local\programs\python\python3.8\lib\site-packages\vncdotool\pyDes.py", line 410, in init
self.setKey(key)
File "c:\users\appdata\local\programs\python\python3.8\lib\site-packages\vncdotool\rfb.py", line 835, in setKey
if bsrc & (1 << i):
builtins.TypeError: unsupported operand type(s) for &: 'str' and 'int'

CRITICAL:root:unsupported operand type(s) for &: 'str' and 'int'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions