[SIP SIMPLE client] Problems getting SIP Simple SDK to work

J.M. Maurer uwog at uwog.net
Sat Oct 23 15:31:05 CEST 2010


Hi guys,

I'm having some trouble getting the SIP Simple SDK to work on a Fedora
13 machine, and I was hoping someone could help me out. I've attached a
stacktrace to this mail from when I tried to run the sip-settings
command line tool.

I've installed following packages/versions:

python-imaging-1.1.6-17.fc12.x86_64
python-eventlet-0.9.12-1.fc13.noarch
python-msrplib-0.12.0-1.fc13.x86_64
python-dns-1.8.0-3.fc13.noarch
python-twisted-8.2.0-3.fc12.noarch
sipclients-0.15.0-1.fc13.x86_64
python-xcaplib-1.0.15-1.fc13.x86_64
python-lxml-2.2.7-1.fc13.x86_64
python-cjson-1.0.5-5.fc13.x86_64
python-sipsimple-0.16.1-1.fc13.x86_64
python-application-1.2.5-1.fc13.noarch
python-greenlet-0.4-1.fc13.x86_64
python-zope-interface-3.6.1-5.fc13.x86_64
python-gnutls-1.1.9-1.fc12.x86_64

>From this list, I packaged python-application, python-greenlet,
python-msrplib, python-xcaplib, python-sipsimple and sipclients myself.
The rest came from a stock Fedora 13 install.

I only see 1 potential problem with the versions in this list:
http://sipsimpleclient.com/browser/docs/Install.linux claims I need
python-eventlet = 0.8.11, where Fedora 13 ships with version 0.9.12 by
default.

Help would be very much appreciated,
 
  Marc

-------------- next part --------------
[uwog at psi Python]$ sip-settings -a add 2233439091 at sip2sip.info <snip>
/usr/lib64/python2.6/site-packages/sipsimple/account.py:22: DeprecationWarning: The proc module is deprecated!  Please use the greenthread module, or any of the many other Eventlet cross-coroutine primitives, instead.
  from eventlet import coros, proc
/usr/lib/python2.6/site-packages/eventlet/proc.py:66: DeprecationWarning: eventlet.api is deprecated!  Nearly everything in it has moved to the eventlet module.
  from eventlet import api, coros, hubs
/usr/lib/python2.6/site-packages/eventlet/coros.py:305: DeprecationWarning: coros.Queue is deprecated.  Please use eventlet.queue.Queue instead.
  return Queue()
Traceback (most recent call last):
  File "/usr/bin/sip-settings", line 348, in <module>
    object = AccountConfigurator(options.config_file)
  File "/usr/bin/sip-settings", line 143, in __init__
    self.account_manager.load_accounts()
  File "/usr/lib64/python2.6/site-packages/sipsimple/account.py", line 1227, in load_accounts
    bonjour_account = BonjourAccount()
  File "/usr/lib/python2.6/site-packages/application/python/util.py", line 35, in __call__
    return cls._instance_creator(*args, **kw)
  File "<string>", line 1, in __init__
  File "/usr/lib/python2.6/site-packages/application/python/util.py", line 29, in instance_creator
    cls._instances[key] = super(Singleton, cls).__call__(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/sipsimple/account.py", line 1096, in __init__
    from sipsimple.application import SIPApplication
  File "/usr/lib64/python2.6/site-packages/sipsimple/application.py", line 28, in <module>
    from sipsimple.session import SessionManager
  File "/usr/lib64/python2.6/site-packages/sipsimple/session.py", line 29, in <module>
    from sipsimple.streams import MediaStreamRegistry, InvalidStreamError, UnknownStreamError
  File "/usr/lib64/python2.6/site-packages/sipsimple/streams/__init__.py", line 97, in <module>
    from sipsimple.streams import rtp, msrp
  File "/usr/lib64/python2.6/site-packages/sipsimple/streams/msrp.py", line 34, in <module>
    from msrplib.connect import get_acceptor, get_connector, MSRPRelaySettings
  File "/usr/lib/python2.6/site-packages/msrplib/connect.py", line 378, in <module>
    class Notifier(coros.event):
TypeError: Error when calling the metaclass bases
    function() argument 1 must be code, not str



More information about the SIPBeyondVoIP mailing list