[Blink] Engine object has no attribute 'detect_nat_type'

Christian Kujau lists at nerdbynature.de
Fri May 21 11:01:10 CEST 2010


Hi there,

I'm enjoying Blink 0.18.2 on MacOS 10.6.3, but every other time I open
Blink, this happens:

  File
"/Applications/Non-Apple/Blink.app/Contents/Resources/BlinkAppDelegate.py",
line 148, in applicationDidFinishLaunching_
    self.backend.init(options, version)
  File
"/Applications/Non-Apple/Blink.app/Contents/Resources/SIPManager.py",
line 277, in init
    self.request_dns_lookup_for_account(self._selected_account)
  File
"/Applications/Non-Apple/Blink.app/Contents/Resources/SIPManager.py",
line 295, in request_dns_lookup_for_account
    self._app.engine.detect_nat_type(address.host, address.port)
  File
"/Applications/Non-Apple/Blink.app/Contents/Resources/lib/sipsimple/core/_engine.py",
line 64, in __getattr__
    raise AttributeError("'%s' object has no attribute '%s'" %
(self.__class__.__name__, attr))
AttributeError: 'Engine' object has no attribute 'detect_nat_type'
None


The next time I start Blink, it succeeds. Perhaps the next time too, but
then it fails again, so it's kinda intermittent. Somehow this reminds me
of a race condition. Posts on the net however suggest problems with
indenting (tabs vs spaces), but I could not find any mismatches in the
files mentioned.

Unfortunately, I'm lacking any Python-fu, so I just commented line 295
in SIPManager.py and the error is gone (and I can still make calls).
Maybe someone more skilled likes to look at it?

Thanks,
Christian.
-- 
make bzImage, not war



More information about the Blink mailing list