Hi Matt,

Many Thanks for your help. It works until a 8/08/2012 and then i get the below 
error message:

Traceback (most recent call last):
  File "skype-info.py", line 11, in <module>
    when     = call.Datetime
  File "/usr/lib/pymodules/python2.7/Skype4Py/call.py", line 250, in 
_GetDatetime
    return datetime.fromtimestamp(self.Timestamp)
  File "/usr/lib/pymodules/python2.7/Skype4Py/call.py", line 465, in 
_GetTimestamp
    return float(self._Property('TIMESTAMP'))
  File "/usr/lib/pymodules/python2.7/Skype4Py/call.py", line 138, in _Property
    return self._Owner._Property('CALL', self.Id, PropName, Set, Cache)
  File "/usr/lib/pymodules/python2.7/Skype4Py/skype.py", line 296, in _Property
    value = self._DoCommand('GET %s' % jarg, jarg)
  File "/usr/lib/pymodules/python2.7/Skype4Py/skype.py", line 276, in _DoCommand
    self.SendCommand(command)
  File "/usr/lib/pymodules/python2.7/Skype4Py/skype.py", line 778, in 
SendCommand
    self._Api.send_command(Command)
  File "/usr/lib/pymodules/python2.7/Skype4Py/api/posix_x11.py", line 445, in 
send_command
    raise SkypeAPIError('Skype command timeout')
Skype4Py.errors.SkypeAPIError: Skype command timeout

Thanks for your help again.

ABdul

Date: Fri, 2 Nov 2012 10:50:11 +0000
From: [email protected]
To: [email protected]
Subject: Re: [ubuntu-uk] Skype Log on Ubuntu

On 1 November 2012 22:40, Abduljaber Abdulqader <[email protected]> 
wrote:




abdul@abdul-OptiPlex-GX520:~$ python skype-info.py
Segmentation fault

OK, now I've tested this on another box of mine, and also saw seg faults.  the 
versions of software on this box is much closer to yours:

$ python --versionPython 2.7.3$ skype --versionSkype 2.2.0.35$ python -c"import 
Skype4Py;print Skype4Py.__version__"1.0.32.0

Try the attached, I've changed only one line (line 7) to use X11 to connect 
rather than DBUS...  in accordance with some advice from StackOverflow [1] and 
now it works fine on this box.

hope that helps,matt
[1] http://stackoverflow.com/questions/7827108/unexplained-segfault-in-python 


-- 
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/                                           
-- 
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to