I am having the exact same issue. Any help on this subject would be much appreciated:
()()()()()()()()()()()ERROR MESSAGE()()()()()()()()()()()
Traceback (most recent call last):
File "/usr/bin/apt-add-repository", line 167, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 105, in
init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 595, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/jessie
()()()()()()()()()()()ERROR MESSAGE()()()()()()()()()()()
uname -a
Linux dublin 4.1.18+ #846 Thu Feb 25 14:11:56 GMT 2016 armv6l GNU/Linux
uname -m
armv6l
cat /etc/debian_version
8.0
Thanks
Stan