** Description changed:

- I got this error while I tried to open software sources from ubuntu
- software center... but software sources was got opened...
+ The following trace occurs when opening the "Edit" menu in software-
+ center, as a result of an incompatible change in one of GTK+, pygobject,
+ or libgirepository. The code in software-center is correct, but the
+ bindings are causing the wrong method to be called, resulting in the
+ trace.
  
- ProblemType: Crash
- DistroRelease: Ubuntu 13.04
- Package: software-center 5.5.5-0ubuntu1
- ProcVersionSignature: Ubuntu 3.8.0-9.18-generic 3.8.1
- Uname: Linux 3.8.0-9-generic i686
- ApportVersion: 2.9-0ubuntu2
- Architecture: i386
- Date: Thu Mar  7 13:26:33 2013
- EcryptfsInUse: Yes
- ExecutablePath: /usr/share/software-center/software-center
- InstallationDate: Installed on 2012-03-30 (341 days ago)
- InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
- InterpreterPath: /usr/bin/python2.7
- MarkForUpload: True
- PackageArchitecture: all
- ProcCmdline: /usr/bin/python /usr/bin/software-center
- PythonArgs: ['/usr/bin/software-center']
- SourcePackage: software-center
- Title: software-center crashed with TypeError in wrapped(): unbound method 
get_selection_bounds() must be called with TextBuffer instance as first 
argument (got SearchEntry instance instead)
- UpgradeStatus: Upgraded to raring on 2013-01-16 (49 days ago)
- UserGroups: adm admin cdrom dialout libvirtd lp lpadmin plugdev sambashare 
vboxusers
+ Traceback (most recent call last):
+   File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 967, 
in on_menu_edit_activate
+     bounds = self.active_pane.searchentry.get_selection_bounds()
+   File "/usr/lib/python2.7/dist-packages/gi/overrides/__init__.py", line 99, 
in wrapped
+     ret = method(*args, **kwargs)
+ TypeError: unbound method get_selection_bounds() must be called with 
TextBuffer instance as first argument (got SearchEntry instance instead)
+ 
+ As a work around for this, I have removed the code in software-center,
+ which makes the Cut/Copy items in the Edit menu no longer apply to the
+ search entry. As a result, this also removes the Cut item completely, as
+ it was only used for the search entry. However, it is still possible to
+ use the context-menu when right clicking on the entry, or the standard
+ C-x/C-c key bindings, to cut or copy the selected text in the entry.
+ 
+ Mailing list request messages:
+ Docs: https://lists.ubuntu.com/archives/ubuntu-doc/2013-April/017165.html
+ I18n: [pending moderator approval]

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

Title:
  [UIFe] TypeError when opening edit menu

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

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

Reply via email to