castro icon indicating copy to clipboard operation
castro copied to clipboard

Facing issues working with castro

Open Jay011191 opened this issue 8 years ago • 1 comments

Here's my code--- import castro video = castro.Castro() video.start()

The error is -

Socket error: [Errno 111] Connection refused Process Process-1: Traceback (most recent call last): File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(_self._args, *_self._kwargs) File "/usr/local/lib/python2.7/dist-packages/castro-1.0.6-py2.6.egg/castro/lib/pyvnc2swf/vnc2swf.py", line 611, in main merge=merge, debug=debug, reconnect=reconnect) File "/usr/local/lib/python2.7/dist-packages/castro-1.0.6-py2.6.egg/castro/lib/pyvnc2swf/vnc2swf.py", line 429, in vnc2swf client.loop() File "/usr/local/lib/python2.7/dist-packages/castro-1.0.6-py2.6.egg/castro/lib/pyvnc2swf/rfb.py", line 489, in loop if not self.loop1(): break File "/usr/local/lib/python2.7/dist-packages/castro-1.0.6-py2.6.egg/castro/lib/pyvnc2swf/rfb.py", line 276, in loop1 self.request_update() File "/usr/local/lib/python2.7/dist-packages/castro-1.0.6-py2.6.egg/castro/lib/pyvnc2swf/rfb.py", line 551, in request_update self.send('\x03\x01' + pack('>HHHH', *self.clipping)) AttributeError: RFBNetworkClient instance has no attribute 'clipping'

Jay011191 avatar Mar 31 '16 06:03 Jay011191

This is the issue of connecting to vnc server. You need to check your vnc connection first

legna84426644 avatar Dec 11 '17 09:12 legna84426644