← Back to team overview

desktop-packages team mailing list archive

[Bug 830291] [NEW] "Copy Web Link" doesn't work (TypeError: set_text() takes exactly 3 argument(s) (2 given))

 

Public bug reported:

software-center-gtk3 trunk r2155, Ubuntu Ocelot

1. From the home screen, click "VLC".
2. Choose "Edit" > "Copy Web Link".

What happens:
* The link is not copied.
* A traceback:
------------
Traceback (most recent call last):
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/app.py", line 840, in on_menuitem_copy_web_link_activate
    clipboard.set_text(self.WEBLINK_URL % app.pkgname)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 44, in function
    return info.invoke(*args)
TypeError: set_text() takes exactly 3 argument(s) (2 given)
------------

It may save time to fix bug 820999 at the same time as this bug.

** Affects: software-center (Ubuntu)
     Importance: Medium
         Status: New

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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/830291

Title:
  "Copy Web Link" doesn't work (TypeError: set_text() takes exactly 3
  argument(s) (2 given))

Status in “software-center” package in Ubuntu:
  New

Bug description:
  software-center-gtk3 trunk r2155, Ubuntu Ocelot

  1. From the home screen, click "VLC".
  2. Choose "Edit" > "Copy Web Link".

  What happens:
  * The link is not copied.
  * A traceback:
  ------------
  Traceback (most recent call last):
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/app.py", line 840, in on_menuitem_copy_web_link_activate
      clipboard.set_text(self.WEBLINK_URL % app.pkgname)
    File "/usr/lib/python2.7/dist-packages/gi/types.py", line 44, in function
      return info.invoke(*args)
  TypeError: set_text() takes exactly 3 argument(s) (2 given)
  ------------

  It may save time to fix bug 820999 at the same time as this bug.

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


Follow ups

References