Activity log for bug #1405950

Date Who What changed Old value New value Message
2014-12-27 14:13:24 Hans Joachim Desserud bug added bug
2014-12-27 14:26:57 Hans Joachim Desserud description $ sudo apt-add-repository ppa Error: 'ppa' invalid Just saying ppa without a user- or ppa name fails gracefully and informs the user it doesn't work. However, if we add the ':' separator, it attempts and fails to parse the string: $ sudo 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 837, 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 This should handle the error more gracefully and display a similar error message to the user as above. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: software-properties-common 0.96.1 ProcVersionSignature: Ubuntu 3.16.0-28.38-generic 3.16.7-ckt1 Uname: Linux 3.16.0-28-generic x86_64 ApportVersion: 2.15.1-0ubuntu1 Architecture: amd64 CurrentDesktop: Unity Date: Sat Dec 27 15:06:46 2014 InstallationDate: Installed on 2014-12-19 (7 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141211) PackageArchitecture: all SourcePackage: software-properties UpgradeStatus: No upgrade log present (probably fresh install) $ sudo apt-add-repository ppa Error: 'ppa' invalid Just saying ppa without a user- or ppa name fails gracefully and informs the user it doesn't work. However, if we add the ':' separator, it attempts and fails to parse the string: $ sudo 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 837, 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 This should handle the error more gracefully and display a similar error message to the user as above. (See also bug 1405951 which is unrelated but similar) ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: software-properties-common 0.96.1 ProcVersionSignature: Ubuntu 3.16.0-28.38-generic 3.16.7-ckt1 Uname: Linux 3.16.0-28-generic x86_64 ApportVersion: 2.15.1-0ubuntu1 Architecture: amd64 CurrentDesktop: Unity Date: Sat Dec 27 15:06:46 2014 InstallationDate: Installed on 2014-12-19 (7 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141211) PackageArchitecture: all SourcePackage: software-properties UpgradeStatus: No upgrade log present (probably fresh install)
2015-09-05 18:18:18 Hans Joachim Desserud software-properties (Ubuntu): status New Confirmed
2015-09-18 00:49:48 Alberto Salvia Novella software-properties (Ubuntu): importance Undecided Medium
2015-09-18 00:49:54 Alberto Salvia Novella software-properties (Ubuntu): importance Medium High
2015-09-18 00:50:19 Alberto Salvia Novella bug task added hundredpapercuts
2015-09-18 00:50:24 Alberto Salvia Novella hundredpapercuts: status New Confirmed
2015-09-18 00:50:26 Alberto Salvia Novella hundredpapercuts: importance Undecided High
2015-10-01 11:29:41 Christian Ehrhardt  attachment added gracefully handle empty ppa spec https://bugs.launchpad.net/hundredpapercuts/+bug/1405950/+attachment/4480820/+files/bug-1405950-gracefullyhandle-empty-ppa-spec.patch
2015-10-01 12:22:32 Ubuntu Foundations Team Bug Bot tags amd64 apport-bug vivid amd64 apport-bug patch vivid
2015-10-01 12:22:41 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2015-10-01 14:41:08 Christian Ehrhardt  bug added subscriber ChristianEhrhardt
2015-10-13 23:34:45 Launchpad Janitor branch linked lp:ubuntu/wily-proposed/software-properties
2015-10-13 23:56:25 Launchpad Janitor software-properties (Ubuntu): status Confirmed Fix Released
2015-10-18 10:46:52 Hans Joachim Desserud hundredpapercuts: status Confirmed Fix Released