<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On Arch Linux, after compiling the latest Blink from the darcs
repository it crashes on start with:<br>
<blockquote><tt>Traceback (most recent call last):</tt><br>
<tt> File "/usr/bin/blink", line 30, in <module></tt><br>
<tt> from blink import Blink</tt><br>
<tt> File "/usr/lib/python2.7/site-packages/blink/__init__.py",
line 34, in <module></tt><br>
<tt> File
"/usr/lib/python2.7/site-packages/sipsimple/account/__init__.py",
line 26, in <module></tt><br>
<tt> from sipsimple.account.publication import
PresencePublisher, DialogPublisher</tt><br>
<tt> File
"/usr/lib/python2.7/site-packages/sipsimple/account/publication.py",
line 24, in <module></tt><br>
<tt> from sipsimple.payloads.dialoginfo import
DialogInfoDocument</tt><br>
<tt> File
"/usr/lib/python2.7/site-packages/sipsimple/payloads/__init__.py",
line 63, in <module></tt><br>
<tt> from sipsimple.payloads.datatypes import Boolean, Byte,
UnsignedByte, Short, UnsignedShort, Int, UnsignedInt, Long,
UnsignedLong</tt><br>
<tt> File
"/usr/lib/python2.7/site-packages/sipsimple/payloads/datatypes.py",
line 16, in <module></tt><br>
<tt> from sipsimple.util import ISOTimestamp</tt><br>
<tt> File
"/usr/lib/python2.7/site-packages/sipsimple/util/__init__.py",
line 21, in <module></tt><br>
<tt> from sipsimple.util._sha1 import sha1</tt><br>
<tt>ImportError: No module named _sha1</tt><br>
</blockquote>
I tried installing the sha1 module with pip, but that didn't help.
It looks like this module is missing from sipsimple, which is
strange, because I'm pretty sure I had previously compiled sipsimple
from the same 2.6.0 tarball as I just did... but there is some
difference between the two resulting packages, because if I revert
to the one I rolled earlier, I get the following error instead:<br>
<blockquote><tt>Traceback (most recent call last):</tt><br>
<tt> File "/usr/bin/blink", line 30, in <module></tt><br>
<tt> from blink import Blink</tt><br>
<tt> File "/usr/lib/python2.7/site-packages/blink/__init__.py",
line 47, in <module></tt><br>
<tt> File "/usr/lib/python2.7/site-packages/blink/chatwindow.py",
line 40, in <module></tt><br>
<tt> File "/usr/lib/python2.7/site-packages/blink/contacts.py",
line 47, in <module></tt><br>
<tt> File "/usr/lib/python2.7/site-packages/blink/sessions.py",
line 48, in <module></tt><br>
<tt> File
"/usr/lib/python2.7/site-packages/blink/screensharing/__init__.py",
line 6, in <module></tt><br>
<tt> File
"/usr/lib/python2.7/site-packages/blink/screensharing/vncclient.py",
line 15, in <module></tt><br>
<tt>ImportError: No module named _rfb</tt><br>
</blockquote>
I had previously compiled Blink and all its dependencies and
everything had been working fine for quite a while, but I think my
attempts to run a newer version somehow screwed up my config file,
because I started having trouble making calls and adding contacts,
and now when I try to use my old config, Blink just hammers my CPU
and segfaults at start. I tried starting fresh by deleting my
~/.blink directory and downgrading back to the previously working
packages, but this still doesn't seem to properly regenerate a new
address book, since I get this error shortly after starting:<br>
<blockquote><tt>Traceback (most recent call last):</tt><tt><br>
</tt><tt> File
"/usr/lib/python2.7/site-packages/blink/__init__.py", line 278,
in _EH_CallFunctionEvent</tt><tt><br>
</tt><tt> event.function(*event.args, **event.kw)</tt><tt><br>
</tt><tt> File
"/usr/lib/python2.7/site-packages/blink/contacts.py", line 2393,
in handle_notification</tt><tt><br>
</tt><tt> handler(notification)</tt><tt><br>
</tt><tt> File
"/usr/lib/python2.7/site-packages/blink/contacts.py", line 2401,
in _NH_SIPApplicationWillStart</tt><tt><br>
</tt><tt> test_group.name = 'Test'</tt><tt><br>
</tt><tt> File
"/usr/lib/python2.7/site-packages/sipsimple/addressbook.py",
line 94, in __set__</tt><tt><br>
</tt><tt> self.dirty[obj] = value != self.oldvalues[obj]</tt><tt><br>
</tt><tt> File
"/usr/lib/python2.7/site-packages/application/python/weakref.py",
line 60, in __getitem__</tt><tt><br>
</tt><tt> return self.__missing__(key)</tt><tt><br>
</tt><tt> File
"/usr/lib/python2.7/site-packages/sipsimple/addressbook.py",
line 58, in __missing__</tt><tt><br>
</tt><tt> return self.setdefault(key.object,
self.default_factory())</tt><tt><br>
</tt><tt>AttributeError: 'Group' object has no attribute 'object'</tt><tt><br>
</tt><tt>error: Exception occured while calling <function
_NH_XCAPManagerDidReloadData at 0x7fc5831d3050> in the
'file-io' thread</tt><tt><br>
</tt><tt>Traceback (most recent call last):</tt><tt><br>
</tt><tt> File
"/usr/lib/python2.7/site-packages/sipsimple/threading/__init__.py",
line 39, in _EH_CallFunctionEvent</tt><tt><br>
</tt><tt> event.function(*event.args, **event.kw)</tt><tt><br>
</tt><tt> File
"/usr/lib/python2.7/site-packages/sipsimple/addressbook.py",
line 1270, in _NH_XCAPManagerDidReloadData</tt><tt><br>
</tt><tt> contact.name = xcap_contact.name</tt><tt><br>
</tt><tt> File
"/usr/lib/python2.7/site-packages/sipsimple/addressbook.py",
line 94, in __set__</tt><tt><br>
</tt><tt> self.dirty[obj] = value != self.oldvalues[obj]</tt><tt><br>
</tt><tt> File
"/usr/lib/python2.7/site-packages/application/python/weakref.py",
line 60, in __getitem__</tt><tt><br>
</tt><tt> return self.__missing__(key)</tt><tt><br>
</tt><tt> File
"/usr/lib/python2.7/site-packages/sipsimple/addressbook.py",
line 58, in __missing__</tt><tt><br>
</tt><tt> return self.setdefault(key.object,
self.default_factory())</tt><tt><br>
</tt><tt>AttributeError: 'Contact' object has no attribute
'object'</tt><tt><br>
</tt><tt>Traceback (most recent call last):</tt><tt><br>
</tt><tt> File
"/usr/lib/python2.7/site-packages/blink/contacts.py", line 4416,
in _SH_Accepted</tt><tt><br>
</tt><tt> contact_uri.uri = item.uri</tt><tt><br>
</tt><tt> File
"/usr/lib/python2.7/site-packages/sipsimple/addressbook.py",
line 94, in __set__</tt><tt><br>
</tt><tt> self.dirty[obj] = value != self.oldvalues[obj]</tt><tt><br>
</tt><tt> File
"/usr/lib/python2.7/site-packages/application/python/weakref.py",
line 60, in __getitem__</tt><tt><br>
</tt><tt> return self.__missing__(key)</tt><tt><br>
</tt><tt> File
"/usr/lib/python2.7/site-packages/sipsimple/addressbook.py",
line 58, in __missing__</tt><tt><br>
</tt><tt> return self.setdefault(key.object,
self.default_factory())</tt><tt><br>
</tt><tt>AttributeError: 'ContactURI' object has no attribute
'object'</tt><br>
</blockquote>
Any ideas about what to try next? For now I've had to switch to
LinPhone.<br>
<br>
Thanks for any help,<br>
Casey<br>
</body>
</html>