RE: [Vnc2swf-users] memory error using localhost
Status: Alpha
Brought to you by:
euske
From: Bill S. <bil...@ly...> - 2005-10-16 17:53:00
|
Many thanks for the reply. No worries on the delay, the tool is worth the short wait! The memory problem does seem to be confined to my laptop. The unusual feature of my laptop is the screen resolution. At 1900x1440 it is larger than most? Only thinking to try now, I've not been able to get the VNC viewer to view my machine from another either, though viewing my own machine - what a screen mess - works OK. Regards Bill -----Original Message----- From: Yusuke Shinyama [mailto:yu...@cs...]=20 Sent: 16 October 2005 18:12 To: Bill Seddon Cc: vnc...@li... Subject: Re: [Vnc2swf-users] memory error using localhost Bill, sorry for the late reply. Bill Seddon <bil...@ly...> wrote: > I've been able to record a VNC session from remote servers running on > both Windows 2000 and Windows 2003. As a result, I have three questions > I'd welcome your comments on: >=20 > 1) Memory error Well, I've heard some people still get MemoryError even after they turned on the local connection. I know that MemoryError occurs when it tries to read negative length of data from sockets. So still something gets wrong here... But so far I couldn't replay this error on my environment. As you said, I don't think the actual memory size is a problem. I'm still trying to figure this out, so if you find it works on some other machines and discover some difference, please let me know. > 2) Record clipping not yet supported? >=20 > I've tried using the clipping region option on the stream from one of > the remote servers and it appears to be ignored when recording using the > VNC recording mode. Is that right? Oh, sorry, I just noticed there's a silly bug. Problem 2) and 3) should be fixed with the following patch. I'll release the fixed version as soon as possible. Thanks for reporting. Yusuke Index: movie.py =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/vnc2swf/pyvnc2swf/movie.py,v retrieving revision 1.8 diff -u -r1.8 movie.py --- movie.py 3 Oct 2005 20:00:11 -0000 1.8 +++ movie.py 16 Oct 2005 16:53:47 -0000 @@ -64,12 +64,14 @@ # THIS MUST BE CALLED BEFORE MovieOutputStream.open() if not self.clipping: self.clipping =3D (0,0,w0,h0) + else: + (w0,h0) =3D (self.clipping[2], self.clipping[3]) if self.scaling: (w0,h0) =3D (int(w0*self.scaling), int(h0*self.scaling)) if self.width !=3D None and (self.width !=3D w0 or self.height !=3D = h0): print >>stderr, 'Warning: movie size already set: %dx%d' % (self.width, self.height) elif self.width =3D=3D None: - (self.width, self.height) =3D (w0, h0) + (self.width, self.height) =3D (w0,h0) print >>stderr, 'Output movie size: %dx%d' % (self.width, self.height) if not self.framerate: self.framerate =3D 12.0 |