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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1566201

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to