Re: [Vnc2swf-users] Problem with pyvnc2swf
Status: Alpha
Brought to you by:
euske
From: Yusuke S. <yu...@cs...> - 2005-07-27 16:19:33
|
Could you try adding 'server_result = 0' just after the "auth" (l.126) function in rfb.py by hand? ... def auth(self): + server_result = 0 if self.server_version.startswith('RFB 003.003'): ... I'll fix this in the next version. Thanks Yusuke Florian Sailer <Flo...@no...> wrote: > Hi Everyone, > > i'm trying to use pyvnc2swf but at startup i get the following message: > > ------------------------------------------------------------------------------------------ > Connected: 149.44.174.220:5900, preferred_encoding=(0,) > Traceback (most recent call last): > File "./vnc2swf.py", line 332, in ? > if __name__ == "__main__": main(sys.argv[1:]) > File "./vnc2swf.py", line 327, in main > subprocess=subprocess, debug=debug) > File "./vnc2swf.py", line 239, in vnc2swf > client.init().auth().start() > File "/tmp/pyvnc2swf-0.6.2/rfb.py", line 161, in auth > if server_result != 0: > UnboundLocalError: local variable 'server_result' referenced before assignment > ------------------------------------------------------------------------------------------ > > I'm running a SUSE 9.3 (Python 3.4, pygame 1.6.2) > > Any ideas? > > > thanks, > > Florian > > > -- > Florian Sailer, Linux Curriculum Developer > Novell Worldwide Training Services |