<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Saúl<br>
<br>
Thanks for replying<br>
<br>
So I have started again using Python 2.7 and adding all the
dependencies for "sipsimple" in the "Dependencies.txt"<br>
<br>
Plus - I have now installed ALSA library<br>
<br>
<blockquote>yum install alsa-lib alsa-lib-devel<br>
</blockquote>
<br>
And now "sipsimple" builds/installs ok<br>
<br>
However now when I run "sylkserver" I get<br>
<br>
<blockquote> File
"/usr/local/lib/python2.7/site-packages/sipsimple/account/xcap/__init__.py",
line 29, in <module><br>
from xcaplib.green import XCAPClient<br>
ImportError: No module named xcaplib.green<br>
</blockquote>
Looking at this link <a
href="http://www.linuxforums.org/forum/red-hat-fedora-linux/180226-blink-sip-client-fedora.html">http://www.linuxforums.org/forum/red-hat-fedora-linux/180226-blink-sip-client-fedora.html</a>
indicates I need
"download.ag-projects.com/XCAP/python-xcaplib-1.0.16.tar.gz"
however the only file in this XCAP directory (yours) is an
"openxcap" library (which I have installed) and no "python-xcaplib"
<br>
<br>
Any pointers? feel I might be close (but not cigar currently)<br>
<br>
Regards<br>
David<br>
<br>
<div class="moz-cite-prefix">On 27/09/2013 08:30, Saúl Ibarra
Corretgé wrote:<br>
</div>
<blockquote
cite="mid:82C3F631-8647-43F5-B27F-A97E3A7880EA@ag-projects.com"
type="cite">
<pre wrap="">
On Sep 26, 2013, at 5:26 PM, David Hubbard wrote:
</pre>
<blockquote type="cite">
<pre wrap="">An update
I have got a little further - I realised that my changing of header file to
#define PJMEDIA_AUDIO_DEV_HAS_ALSA 0
</pre>
</blockquote>
<pre wrap="">
You can't just change that and hope things will work, python-sipsimple needs ALSA on Linux systems, it's a requirement, not optional. Did you install ALSA header files? (they are called libasound-dev on Debian-like systems).
</pre>
<blockquote type="cite">
<pre wrap="">was actually done part way through compile/link - so some code was compiled with this set to 1 (items using the factory rather than providing).
So I removed the simsimple folder and unpacked again
As this header appears to be generated by the PJSIP configure stage I killed the setup just after this stage and made the change again, before re-running setup and getting a clean compile/install.
Now when I run sylkserver I get
Starting SylkServer 2.5.0, with no configuration file
fatal error: failed to create SylkServer: cannot import name WeakSet
Traceback (most recent call last):
File "./sylk-server", line 68, in main
from sylk.server import SylkServer
File "/tmp/sylkserver/sylk/server.py", line 13, in <module>
from sipsimple.account import Account, BonjourAccount, AccountManager
File "/usr/lib64/python2.6/site-packages/sipsimple/account/__init__.py", line 25, in <module>
from sipsimple.account.bonjour import BonjourServices, _bonjour
File "/usr/lib64/python2.6/site-packages/sipsimple/account/bonjour/__init__.py", line 24, in <module>
from sipsimple.configuration.settings import SIPSimpleSettings
File "/usr/lib64/python2.6/site-packages/sipsimple/configuration/__init__.py", line 15, in <module>
from weakref import WeakSet
ImportError: cannot import name WeakSet
Clearly a dependancy I'm missing somewhere
I've found the "Dependencies.txt" and "Install.linux" docs in "./python-sipsimple-1.0.0/docs" - so I'm going to try a clean install following these a bit more closely for this module
</pre>
</blockquote>
<pre wrap="">
Python 2.6 is no longer supported, you need Python 2.7.
Regards,
--
Saúl Ibarra Corretgé
AG Projects
_______________________________________________
SIPBeyondVoIP mailing list
<a class="moz-txt-link-abbreviated" href="mailto:SIPBeyondVoIP@lists.ag-projects.com">SIPBeyondVoIP@lists.ag-projects.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip">http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip</a>
</pre>
</blockquote>
<br>
</body>
</html>