Results 1 to 7 of 7
Has anybody successfully installed Blink SIP client on Fedora?
I have installed it from the source (devel.ag-projects.com/repositories/blink-qt), but trying to run it produces a seemingly never ending stream of dependencies. ...
- 06-30-2011 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 7
blink sip client on fedora
Has anybody successfully installed Blink SIP client on Fedora?
I have installed it from the source (devel.ag-projects.com/repositories/blink-qt), but trying to run it produces a seemingly never ending stream of dependencies. Eventually stuck at trying to resolve "ImportError: cannot import name Null".
Is it worth trying to "alien" the .deb?
- 06-30-2011 #2Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
Installing the dependencies for it *might* be easier than you think. Did you read this installer readme, particularly the bit under Manual Installation?
I casually looked for the first few packages it lists there and they are all in the Fedora repo (for 10 - 15 anyway, you didn't mention your version).
So it might be as straight forward as doing a few "yum install python-*" commands.
If you already have all those packages installed, and are running into something else, maybe post the output of your errors.
hth
- 06-30-2011 #3Just Joined!
- Join Date
- Sep 2008
- Posts
- 7
No, I missed the readme. I was looking for something like that, but obviously didn't look deeply enough.
Anyway, I had tried installing those packages, as they cropped up one by one in a test run. The first few indeed are in the repositories. It's the last 2 that are the problem (or appear to be part of it, anyway).
$ sudo yum install python-sipsimple python-zope.interface
[sudo] password for igc:
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
No package python-sipsimple available.
No package python-zope.interface available.
Error: Nothing to do
I will look further for them.
Thanks for the pointer to the readme.
Oh yes, I am currently on Fedora 12. (Soon to be 15, I think).
- 06-30-2011 #4Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
did you try python-zope-interface? (note the '-' instead of the '.').
don't know about the other one, you may have to build it from scratch.
- 06-30-2011 #5Just Joined!
- Join Date
- Sep 2008
- Posts
- 7
Yes, I eventually worked out python-zope-interface.
Now got a tarball for python-sipsimple from the Blink people, but it has another layer of dependencies. Currently grappling with dnspython, but I can see a faint light somewhere up the tunnel.
- 06-30-2011 #6Just Joined!
- Join Date
- Sep 2008
- Posts
- 7
Nope! I'm giving up, unless someone can tell me that they have done it.
[igc@banquo blink-qt]$ blink
Traceback (most recent call last):
File "/usr/bin/blink", line 24, in <module>
from blink import Blink
File "/usr/lib/python2.6/site-packages/blink/__init__.py", line 19, in <module>
from application.python import Null
ImportError: cannot import name Null
It's too convoluted for me.
Maybe I'll have to ditch Fedora, install Debian ;-( .... or use the Windoze version. That works fine.
- 01-06-2012 #7Just Joined!
- Join Date
- Jan 2012
- Posts
- 1
Solution !
Hi,
I solved that one and few others.
You had to install another version of "python-application" that the one shipped with your distribution (i had the same trouble running on ubuntu).
See at the web page : sipsimpleclient.com/wiki/SipInstallation the section "Dependencies". They tell using a version python-application higher than 1.2.8, otherwise you run into trouble either for "limit" or "Null" from my past experience.
This was why. Because solving it didn't make sipsimplesdk running i am posting there the whole process that lead me to having it working.
I am running a python version 2.7
I had to install all the following packages (this is debian-alike but you may
translate within your preferred distrib engine installer)
sudo apt-get install python-lxml
sudo apt-get install cython
sudo apt-get install libssl-dev
sudo apt-get install python-dev
sudo apt-get install python-util
sudo apt-get install python-django
sudo apt-get install python-zope
sudo apt-get install python-zope.interface
sudo apt-get install python-gnutls
(
or you get this error :
File "/usr/local/lib/python2.7/dist-packages/sipsimple/account/__init__.py", line 30, in <module>
from gnutls.crypto import X509Certificate, X509PrivateKey
ImportError: No module named gnutls.crypto
)
sudo apt-get install python-xcaplib
sudo apt-get install python-testtools
sudo apt-get install python-dnspython
(
or you get this error :
File "/usr/local/lib/python2.7/dist-packages/sipsimple/account/xcap/__init__.py", line 40, in <module>
from sipsimple.lookup import DNSLookup, DNSLookupError
File "/usr/local/lib/python2.7/dist-packages/sipsimple/lookup.py", line 19, in <module>
import dns
ImportError: No module named dns
)
For all the others package (python-xcaplib, python-backports, python-msrplib, python-eventlet) you need to download them, extract and run those commands :
python ./setup.py build
sudo python ./setup.py install (if not sudo do "su" or log as root)
wget pypi.python.org/packages/source/p/python-application/python-application-1.2.9.tar.gz#md5=6595dc35ffde6a3bc44e178fe8788feb[/url]
-- yes this the one of this thread
wget download.ag-projects.com/XCAP/python-xcaplib-1.0.16.tar.gz
(
or you get this error :
File "/usr/local/lib/python2.7/dist-packages/sipsimple/account/xcap/__init__.py", line 32, in <module>
from xcaplib.green import XCAPClient
ImportError: No module named xcaplib.green
)
wget download.ag-projects.com/SipClient/python-backports-1.0.0.tar.gz
(
or you get this error :
File "/usr/local/lib/python2.7/dist-packages/sipsimple/configuration/__init__.py", line 20, in <module>
from backports.weakref import WeakSet
ImportError: No module named backports.weakref
)
wget download.ag-projects.com/SipClient/python-msrplib-0.14.2.tar.gz
(
or you get this error :
from msrplib.connect import DirectConnector, DirectAcceptor, RelayConnection, MSRPRelaySettings
ImportError: No module named msrplib.connect
)
wget download.ag-projects.com/SipClient/python-eventlet-0.8-0.8.11.tar.gz
(
or you get this error :
from eventlet import api, coros, proc
ImportError: No module named eventlet
or this one :
$ python sip-register
using set_wakeup_fd
Traceback (most recent call last):
File "sip-register", line 22, in <module>
from sipsimple.application import SIPApplication
File "/usr/local/lib/python2.7/dist-packages/sipsimple/application.py", line 32, in <module>
from sipsimple.session import SessionManager
File "/usr/local/lib/python2.7/dist-packages/sipsimple/session.py", line 39, in <module>
from sipsimple.streams import AudioStream, MediaStreamRegistry, InvalidStreamError, UnknownStreamError
File "/usr/local/lib/python2.7/dist-packages/sipsimple/streams/__init__.py", line 97, in <module>
from sipsimple.streams import rtp, msrp
File "/usr/local/lib/python2.7/dist-packages/sipsimple/streams/msrp.py", line 37, in <module>
from msrplib.connect import DirectConnector, DirectAcceptor, RelayConnection, MSRPRelaySettings
File "/usr/local/lib/python2.7/dist-packages/msrplib/connect.py", line 360, in <module>
class Notifier(coros.event):
TypeError: Error when calling the metaclass bases
function() argument 1 must be code, not str


Reply With Quote