[SIP SIMPLE client] sip_desktop_sharing script
Adrian Georgescu
ag at ag-projects.com
Sun Jan 25 17:40:41 CET 2009
OK, non SIP related, if I use the provided vncviewer.py against x11vnc
I get this traceback on my Mac:
adigeo at ag-oxygen:~/work/sipsimpleclient/scripts/
sip_desktop_sharing-0.02$sh ./v.py
./v.py: line 8:
Python VNC Viewer
PyGame version
(C) 2003 <cliechti at gmx.net>
Python License
: command not found
from: can't read /var/mail/eventlet
./v.py: line 21: import: command not found
from: can't read /var/mail/pygame.locals
./v.py: line 25: import: command not found
./v.py: line 28: import: command not found
./v.py: line 29: import: command not found
from: can't read /var/mail/twisted.internet
from: can't read /var/mail/select
./v.py: line 35: syntax error near unexpected token `('
./v.py: line 35: `POINTER = tuple([(8,8), (4,4)] +
list(pygame.cursors.compile(('
adigeo at ag-oxygen:~/work/sipsimpleclient/scripts/
sip_desktop_sharing-0.02$python ./v.py
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.
wrong protocol version 3.8
connected
Traceback (most recent call last):
File "/Library/Python/2.5/site-packages/eventlet-0.9pre-py2.5.egg/
eventlet/hubs/selects.py", line 57, in wait
cb(fileno)
File "/Library/Python/2.5/site-packages/eventlet-0.9pre-py2.5.egg/
eventlet/api.py", line 156, in cb
current.switch()
File "/Library/Python/2.5/site-packages/eventlet-0.9pre-py2.5.egg/
eventlet/proc.py", line 503, in _run
result = function(*args, **kwargs)
File "./v.py", line 412, in sock2vncprotocol
vncprotocol.dataReceived(data)
File "/Users/adigeo/Desktop/sip_desktop_sharing-0.02/rfb.py", line
452, in dataReceived
self._handler()
File "/Users/adigeo/Desktop/sip_desktop_sharing-0.02/rfb.py", line
461, in _handleExpected
self._expected_handler(block, *self._expected_args,
**self._expected_kwargs)
File "/Users/adigeo/Desktop/sip_desktop_sharing-0.02/rfb.py", line
392, in _handleDecodeHextileRAW
self.updateRectangle(tx, ty, tw, th, block)
File "./v.py", line 272, in updateRectangle
if self.screen.get_locks(): self.screen.unlock()
AttributeError: 'pygame.Surface' object has no attribute 'get_locks'
Removing descriptor: 3
I have installed pygame using this procedure:
http://www.pygame.org/wiki/MacCompile
Adrian
More information about the SIPBeyondVoIP
mailing list