Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-N NameError: global name 'w' is not defined #3

Open
inlineHamed opened this issue Sep 2, 2017 · 0 comments
Open

-N NameError: global name 'w' is not defined #3

inlineHamed opened this issue Sep 2, 2017 · 0 comments

Comments

@inlineHamed
Copy link

When I am using -N I got this error and no output is generated:

[This is the debug log]

Connected: vnc-server:5901
feed: state=<bound method RFBNetworkClient.init_1 of <vnc2flv.rfb.RFBNetworkClient object at 0x7f966c29d650>>, data='RFB 003.00'
protocol_version: 3.8
feed: state=<bound method RFBNetworkClient.auth7_1 of <vnc2flv.rfb.RFBNetworkClient object at 0x7f966c29d650>>, data='\x02'
feed: state=<bound method RFBNetworkClient.auth7_2 of <vnc2flv.rfb.RFBNetworkClient object at 0x7f966c29d650>>, data='\x02\x10'
server_securities: '\x02\x10'
feed: state=<bound method RFBNetworkClient.crauth_1 of <vnc2flv.rfb.RFBNetworkClient object at 0x7f966c29d650>>, data='\x196R\xf8E\xad\xdf\x9e\xd4P'
challange: '\x196R\xf8E\xad\xdf\x9e\xd4P\xe2g\x195\x99*'
response: '\x8bj$VK\xc6\x15EE\xa5\x80\x99yB\x0c\x8d'
feed: state=<bound method RFBNetworkClient.crauth_2 of <vnc2flv.rfb.RFBNetworkClient object at 0x7f966c29d650>>, data='\x00\x00\x00\x00'
server_result: 0
feed: state=<bound method RFBNetworkClient.start_1 of <vnc2flv.rfb.RFBNetworkClient object at 0x7f966c29d650>>, data='\x084\x03\xe8 \x18\x00\x01\x00\xff'
feed: state=<bound method RFBNetworkClient.start_2 of <vnc2flv.rfb.RFBNetworkClient object at 0x7f966c29d650>>, data="root's X d"
Server Encoding:
width=2100, height=1000, name="root's X desktop (70c1da220863:1)"
pixelformat= (32, 24, 0, 1)
rgbmax= (255, 255, 255)
rgbshift= (16, 8, 0)
init_screen: 2100x1000, name="root's X desktop (70c1da220863:1)"
start: 0,0 (2100x1000)
set_screen_size: 2100x1000
FrameBufferUpdateRequest
feed: state=<bound method RFBNetworkClient.loop_1 of <vnc2flv.rfb.RFBNetworkClient object at 0x7f966c29d650>>, data='\x00'
feed: state=<bound method RFBNetworkClient.frame_1 of <vnc2flv.rfb.RFBNetworkClient object at 0x7f966c29d650>>, data='\x0c\x00\x03'
FrameBufferUpdate: nrects=3
feed: state=<bound method RFBNetworkClient.framerect_1 of <vnc2flv.rfb.RFBNetworkClient object at 0x7f966c29d650>>, data='\x00\x01\x00\x01\x00\n\x00\x10\xff\xff'
10 x 16 at (1,1), enc=-239
feed: state=<bound method RFBNetworkClient.richcursor_1 of <vnc2flv.rfb.RFBNetworkClient object at 0x7f966c29d650>>, data='\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff'
RichCursor: 10x16 at 1,1
update(0): changes=2112 [(0, .....)]
write_video_frame: timestamp=0, data=57029
close
Traceback (most recent call last):
File "/usr/local/bin/flvrec.py", line 125, in
if name == "main": sys.exit(main(sys.argv))
File "/usr/local/bin/flvrec.py", line 123, in main
debug=debug, verbose=verbose)
File "/usr/local/bin/flvrec.py", line 51, in flvrec
client.idle()
File "/usr/local/lib/python2.7/dist-packages/vnc2flv/rfb.py", line 492, in idle
self.feed(data)
File "/usr/local/lib/python2.7/dist-packages/vnc2flv/rfb.py", line 107, in feed
(self._length, self._state) = self._state(x)
File "/usr/local/lib/python2.7/dist-packages/vnc2flv/rfb.py", line 411, in richcursor_1
mask = str2bitmap(mask, w, h, rowbytes)
NameError: global name 'w' is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant