[Bug 1687122] Re: /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-repository@168:add_source_from_shortcut:/usr/bin/add-apt-repository@172

2019-11-22 Thread Steve Langasek
** Changed in: software-properties (Ubuntu)
   Status: New => Fix Released

** Changed in: software-properties (Ubuntu)
Milestone: ubuntu-17.08 => None

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1687122

Title:
  /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-
  repository@168:add_source_from_shortcut:/usr/bin/add-apt-
  repository@172

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1687122/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1687122] Re: /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-repository@168:add_source_from_shortcut:/usr/bin/add-apt-repository@172

2019-11-22 Thread Steve Langasek
** Changed in: software-properties (Ubuntu Artful)
   Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1687122

Title:
  /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-
  repository@168:add_source_from_shortcut:/usr/bin/add-apt-
  repository@172

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1687122/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1687122] Re: /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-repository@168:add_source_from_shortcut:/usr/bin/add-apt-repository@172

2017-09-29 Thread Francis Ginther
** Tags added: id-597a82f68d90d6cef4a9017f

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1687122

Title:
  /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-
  repository@168:add_source_from_shortcut:/usr/bin/add-apt-
  repository@172

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1687122/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1687122] Re: /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-repository@168:add_source_from_shortcut:/usr/bin/add-apt-repository@172

2017-08-01 Thread Brian Murray
** Changed in: software-properties (Ubuntu Artful)
Milestone: ubuntu-17.06 => ubuntu-17.08

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1687122

Title:
  /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-
  repository@168:add_source_from_shortcut:/usr/bin/add-apt-
  repository@172

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1687122/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1687122] Re: /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-repository@168:add_source_from_shortcut:/usr/bin/add-apt-repository@172

2017-06-22 Thread Steve Langasek
** Tags removed: rls-aa-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1687122

Title:
  /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-
  repository@168:add_source_from_shortcut:/usr/bin/add-apt-
  repository@172

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1687122/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1687122] Re: /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-repository@168:add_source_from_shortcut:/usr/bin/add-apt-repository@172

2017-06-09 Thread Brian Murray
** Changed in: software-properties (Ubuntu)
Milestone: None => ubuntu-17.06

** Also affects: software-properties (Ubuntu Artful)
   Importance: Medium
 Assignee: Dimitri John Ledkov (xnox)
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1687122

Title:
  /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-
  repository@168:add_source_from_shortcut:/usr/bin/add-apt-
  repository@172

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1687122/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1687122] Re: /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-repository@168:add_source_from_shortcut:/usr/bin/add-apt-repository@172

2017-05-04 Thread Brian Murray
** Changed in: software-properties (Ubuntu)
 Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Changed in: software-properties (Ubuntu)
   Importance: Undecided => Medium

** Tags added: rls-aa-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1687122

Title:
  /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-
  repository@168:add_source_from_shortcut:/usr/bin/add-apt-
  repository@172

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1687122/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1687122] Re: /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-repository@168:add_source_from_shortcut:/usr/bin/add-apt-repository@172

2017-04-28 Thread Brian Murray
This is a crash that recently started appearing in the Error Tracker the
Traceback contains the following:

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 168, in 
if not sp.add_source_from_shortcut(shortcut, options.enable_source):
  File 
"/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 
777, in add_source_from_shortcut
raise shortcuts.ShortcutException(msg)
softwareproperties.shortcuts.ShortcutException: Failed to add key.

Looking at the code added in the SRU to xenial
(https://launchpadlibrarian.net/309920080/software-
properties_0.96.24.7_0.96.24.7.1.diff.gz) we can see the following:

@@ -753,6 +769,13 @@
 if worker:
 # wait for GPG key to be downloaded
 worker.join(30)
+if worker.isAlive():
+# thread timed out.
+raise shortcuts.ShortcutException("Error: retrieving gpg key timed 
out.")
+result, msg = self.myqueue.get()
+if not result:
+raise shortcuts.ShortcutException(msg)
+
 if self.options and self.options.update:
 import apt
 cache = apt.Cache()

It looks to me like this ShortcutException is raised when for whatever
reason the client application fails to retrieve the key. I don't think
there is anything we can do about this and as such don't think it should
be reported to the Error Tracker at all.

The apport package hook for software-properties could filter out
Tracebacks with this error.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1687122

Title:
  /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-
  repository@168:add_source_from_shortcut:/usr/bin/add-apt-
  repository@172

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1687122/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs