On Ubuntu14.10 with latest update I have the same error
# apt-add-repository ppa:
Traceback (most recent call last):
File "/usr/bin/apt-add-repository", line 119, in <module>
shortcut = shortcut_handler(line)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 839, in shortcut_handler
ret = factory(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 382, in shortcut_handler
return PPAShortcutHandler(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 345, in __init__
self.shortcut = mangle_ppa_shortcut(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 133, in mangle_ppa_shortcut
if (user[0] == "~"):
IndexError: string index out of range
On Ubuntu14.10 with latest update I have the same error
# apt-add-repository ppa: apt-add- repository" , line 119, in <module> handler( line) python3/ dist-packages/ softwarepropert ies/SoftwarePro perties. py", line 839, in shortcut_handler python3/ dist-packages/ softwarepropert ies/ppa. py", line 382, in shortcut_handler ler(shortcut) python3/ dist-packages/ softwarepropert ies/ppa. py", line 345, in __init__ ppa_shortcut( shortcut) python3/ dist-packages/ softwarepropert ies/ppa. py", line 133, in mangle_ppa_shortcut
Traceback (most recent call last):
File "/usr/bin/
shortcut = shortcut_
File "/usr/lib/
ret = factory(shortcut)
File "/usr/lib/
return PPAShortcutHand
File "/usr/lib/
self.shortcut = mangle_
File "/usr/lib/
if (user[0] == "~"):
IndexError: string index out of range