No worries, I think i know how to fix this. I have added the get_locks because of an exception that occurred in the Linux version (which is more recent I guess). But at the moment i don't have time... Tomorrow.<br><br>
<div class="gmail_quote">2009/1/25 Adrian Georgescu <span dir="ltr"><<a href="mailto:ag@ag-projects.com">ag@ag-projects.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">OK, non SIP related, if I use the provided vncviewer.py against x11vnc I get this traceback on my Mac:<br>
<br><br>adigeo@ag-oxygen:~/work/sipsimpleclient/scripts/sip_desktop_sharing-0.02$sh ./v.py<br>./v.py: line 8:<br>Python VNC Viewer<br>PyGame version<br>(C) 2003 <<a href="mailto:cliechti@gmx.net" target="_blank">cliechti@gmx.net</a>><br>
<br>Python License<br>: command not found<br>from: can't read /var/mail/eventlet<br>./v.py: line 21: import: command not found<br>from: can't read /var/mail/pygame.locals<br>./v.py: line 25: import: command not found<br>
./v.py: line 28: import: command not found<br>./v.py: line 29: import: command not found<br>from: can't read /var/mail/twisted.internet<br>from: can't read /var/mail/select<br>./v.py: line 35: syntax error near unexpected token `('<br>
./v.py: line 35: `POINTER = tuple([(8,8), (4,4)] + list(pygame.cursors.compile(('<br>adigeo@ag-oxygen:~/work/sipsimpleclient/scripts/sip_desktop_sharing-0.02$python ./v.py<br>2009-01-25 17:31:06.366 Python[23693:613] Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz.<br>
wrong protocol version 3.8<br><br>connected
<div class="Ih2E3d"><br><br>Traceback (most recent call last):<br></div> File "/Library/Python/2.5/site-packages/eventlet-0.9pre-py2.5.egg/eventlet/hubs/selects.py", line 57, in wait<br> cb(fileno)<br> File "/Library/Python/2.5/site-packages/eventlet-0.9pre-py2.5.egg/eventlet/api.py", line 156, in cb<br>
current.switch()<br> File "/Library/Python/2.5/site-packages/eventlet-0.9pre-py2.5.egg/eventlet/proc.py", line 503, in _run<br> result = function(*args, **kwargs)<br> File "./v.py", line 412, in sock2vncprotocol<br>
vncprotocol.dataReceived(data)<br> File "/Users/adigeo/Desktop/sip_desktop_sharing-0.02/rfb.py", line 452, in dataReceived<br> self._handler()<br> File "/Users/adigeo/Desktop/sip_desktop_sharing-0.02/rfb.py", line 461, in _handleExpected<br>
self._expected_handler(block, *self._expected_args, **self._expected_kwargs)<br> File "/Users/adigeo/Desktop/sip_desktop_sharing-0.02/rfb.py", line 392, in _handleDecodeHextileRAW<br> self.updateRectangle(tx, ty, tw, th, block)<br>
File "./v.py", line 272, in updateRectangle<br> if self.screen.get_locks(): self.screen.unlock()<br>AttributeError: 'pygame.Surface' object has no attribute 'get_locks'<br>Removing descriptor: 3<br>
<br><br>I have installed pygame using this procedure:<br><br><a href="http://www.pygame.org/wiki/MacCompile" target="_blank">http://www.pygame.org/wiki/MacCompile</a><br><font color="#888888"><br>Adrian<br><br><br><br></font></blockquote>
</div><br>