[Bug 1566201] Re: /usr/bin/apturl-gtk:AttributeError:/usr/bin/apturl-gtk at 47:main:enableChannel:doEnableChannel

Brian Murray brian at ubuntu.com
Wed May 11 22:00:15 UTC 2016


I was able to recreate this by changing $distro in the ProcCmdline from
the a report to xenial.  So this command crashes:

/usr/bin/python3 /usr/bin/apturl-gtk "apt:adobe-flashplugin?channel
=xenial-partner"

With the following Traceback:

Traceback (most recent call last):
  File "/usr/bin/apturl-gtk", line 47, in <module>
    sys.exit(apturl.main())
  File "/usr/lib/python3/dist-packages/AptUrl/AptUrl.py", line 191, in main
    if self.enableChannel(apturl) != RESULT_OK:
  File "/usr/lib/python3/dist-packages/AptUrl/AptUrl.py", line 99, in enableChannel
    if not self.ui.doEnableChannel(channelpath, channelkey):
  File "/usr/lib/python3/dist-packages/AptUrl/gtk/GtkUI.py", line 135, in doEnableChannel
    apt_pkg.Config.FindDir("Dir::Etc::sourceparts")]
AttributeError: module 'apt_pkg' has no attribute 'Config'


** Changed in: apturl (Ubuntu)
       Status: New => Triaged

** Changed in: apturl (Ubuntu)
   Importance: Undecided => High

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

Title:
  /usr/bin/apturl-gtk:AttributeError:/usr/bin/apturl-
  gtk at 47:main:enableChannel:doEnableChannel

Status in apturl package in Ubuntu:
  Triaged

Bug description:
  The Ubuntu Error Tracker has been receiving reports about a problem
  regarding apturl.  This problem was most recently seen with version
  0.5.2ubuntu11, the problem page at
  https://errors.ubuntu.com/problem/7296934db3911cad4d00829c2f458a532da30d62
  contains more details.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apturl/+bug/1566201/+subscriptions



More information about the foundations-bugs mailing list