crash in en_US locale for non-sudoer user
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Catfish |
Undecided
|
Unassigned | ||
| | catfish (Fedora) |
Fix Released
|
Undecided
|
||
| | catfish (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
With catfish 1.3.2, in LANG=en_US.utf8, when user is not in sudoer list, catfish won't launch like
CatfishWindow.
Traceback (most recent call last):
File "/usr/share/
catfish.main()
File "/usr/share/
window = CatfishWindow.
File "/usr/share/
new_
File "/usr/share/
menuitem.hide()
AttributeError: 'NoneType' object has no attribute 'hide'
Because catfish/
221 menuitem = builder.
catfish_
51 "menus": {
52 # Application (AppMenu)
53 "application": {
60 "update": "application_
But the corresponding object is not defined in data/ui/
|
|
#10 |
I cannot reproduce this.
* First of all, would you attach the result of
$ rpm -qa | sort
?
* Also, would you attach the result of
$ strace -s 1000 catfish
?
|
|
#11 |
Can you reproduce this even if you create new user and login to the new user?
Created attachment 1078075
strace output
I got the crash when I opened catfish for the first time ever .. So, it was a new user.
|
|
#14 |
(In reply to Mukundan Ragavan from comment #4)
> I got the crash when I opened catfish for the first time ever .. So, it was
> a new user.
Well, that does not mean it is a new user. Would you try creating a new user now and test this is still reproducible on the new user?
Also, would you attach the result of $ rpm -qa | sort ?
Created attachment 1078089
list of installed packages
Yes. I can reproduce this on a new user *AND* on another system.
list od packages attached.
$ cat all-pkgs.out | wc -l
6870
|
|
#16 |
Oh, maybe if you add yourself to sudoers, this error disappears?
|
|
#18 |
*** Bug 1267480 has been marked as a duplicate of this bug. ***
| Mamoru TASAKA (mtasaka) wrote : | #1 |
Possilble fix for this issue:
http://
|
|
#19 |
catfish-
Yup! This works!
Thanks for the quick fix.
|
|
#21 |
catfish-
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=
You can provide feedback for this update here: https:/
|
|
#22 |
catfish-
|
|
#23 |
Thank you for testing. Now the fixed package is pushed.
| rezso (rezso) wrote : | #2 |
Thank you, it works.
| Mamoru TASAKA (mtasaka) wrote : | #3 |
| Kev Bowring (flocculant) wrote : | #4 |
confirmed Xubuntu test user
| Changed in catfish-search: | |
| status: | New → Confirmed |
| Ubuntu QA Website (ubuntuqa) wrote : | #5 |
This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here:
http://
| tags: | added: iso-testing |
| Launchpad Janitor (janitor) wrote : | #6 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in catfish (Ubuntu): | |
| status: | New → Confirmed |
| Sean Davis (bluesabre) wrote : | #7 |
| Changed in catfish-search: | |
| status: | Confirmed → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #8 |
This bug was fixed in the package catfish - 1.3.3-0ubuntu2
---------------
catfish (1.3.3-0ubuntu2) wily; urgency=medium
* Add patches from upstream to fix startup and runtime crashes.
* debian/patches:
- xubuntu-
- xubuntu-
-- Sean Davis <email address hidden> Mon, 19 Oct 2015 22:02:26 -0400
| Changed in catfish (Ubuntu): | |
| status: | Confirmed → Fix Released |
| Changed in catfish-search: | |
| milestone: | none → 1.3.4 |
| status: | Fix Committed → Fix Released |
| Changed in catfish (Fedora): | |
| importance: | Unknown → Undecided |
| status: | Unknown → Fix Released |


When I try to open catfish, I see nothing.
So,I tried opening it from the terminal and got this -
mukundan @ imladris ~$ catfish catfish/ catfish/ __init_ _.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_ version( 'Gtk', '3.0') before import to ensure that the right version gets loaded.
/usr/share/
from gi.repository import Gtk # pylint: disable=E0611
/usr/bin/locate
(catfish.py:3508): Gtk-WARNING **: gtkwidget.c:8463: widget not within a GtkWindow catfish/ bin/catfish. py", line 44, in <module> catfish/ catfish/ __init_ _.py", line 73, in main CatfishWindow( ) catfish/ catfish_ lib/Window. py", line 170, in __new__ object. finish_ initializing( builder) catfish/ catfish/ CatfishWindow. py", line 258, in finish_initializing
Traceback (most recent call last):
File "/usr/share/
catfish.main()
File "/usr/share/
window = CatfishWindow.
File "/usr/share/
new_
File "/usr/share/
menuitem.hide()
AttributeError: 'NoneType' object has no attribute 'hide'
$ rpm -qa catfish 1.3.2-1. fc23.noarch
catfish-