[Bug 1258112] Re: Try calling unexisting functions on GtkDialog

Sebastien Bacher seb128 at ubuntu.com
Thu Dec 5 11:27:59 UTC 2013


That's creating
https://errors.ubuntu.com/problem/3ca9b88401b3789ff4d00462be7b20206f60e181
for apturl

way to reproduce
- call apturl-gtk apt:<somebinarynotinstalled
- click install
- when the password prompt shows, hit "esc" on the keyboard

you get the stacktrace

"Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/defer/__init__.py", line 483, in _inline_callbacks
    result = gen.throw(excep)
  File "/usr/lib/python3/dist-packages/AptUrl/gtk/backend/InstallBackendAptdaemon.py", line 57, in commit
    self._action_done(self.ACTION_INSTALL, False, False, str(e), None)
  File "/usr/lib/python3/dist-packages/UpdateManager/backend/__init__.py", line 70, in _action_done
    self.window_main.start_error(False, error_string, error_desc)
TypeError: <lambda>() takes 0 positional arguments but 3 were given"

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

Title:
  Try calling unexisting functions on GtkDialog

Status in “update-manager” package in Ubuntu:
  Confirmed

Bug description:
  That's a side effect of the refactoring which has been done in
  https://code.launchpad.net/~dylanmccall/update-manager/dialogs-
  refactor/+merge/164673

  _action_done() is calling "self.window_main.start_available/error", or
  window_main is a GtkDialog not an UpdateManager object anymore, so it
  doesn't have those functions...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1258112/+subscriptions



More information about the foundations-bugs mailing list