FAQs: software by tipichris

Hi Great extension! I tried to install it on Ubuntu 15.10 I'm getting the error: exceptions.AttributeError: CallPopFactory instance has no attribute 'plaintext_login' I installed the dependencies this way: sudo apt-get install pysqlite2 git clone https://github.com/asterisk/starpy cd starpy/ sudo python setup.py install sudo sudo apt-get install python-setuptools sudo python setup.py install sudo apt-get install gtk+-2.0 /usr/share/callpoppy/callpoppy I tried to add the field attribute 'plaintext_login' to CallPopFactory and a attribute id that it was asking for afterwards, but I couldn't get it to work. The error message disappeared but the popup is not showing up (I'm not sure if that what I was trying is correct...) def __init__(self, username, secret, server='localhost', port=5038, statusicon=None, plaintext_login='', id=''): self.username = username self.secret = secret self.server = server self.port = port self.plaintext_login = username self.id = id self.statusicon = statusicon

I had a working setup in Ubuntu 14.04 and on upgrade to 16.04 hit the same error.

It seems to me that the solution is to add the following two lines to __init__ in the CallPopFactory class.

self.id = None
self.plaintext_login = True

No other changes seem to be necessary.
ID #1025

You can comment this FAQ