After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 711096 - gnome-tweak-tool-3.10.0-1.fc20: tweak_group_startup.py:78:_build_widget:TypeError: Argument 0 does not allow None as a value
gnome-tweak-tool-3.10.0-1.fc20: tweak_group_startup.py:78:_build_widget:TypeE...
Status: RESOLVED DUPLICATE of bug 708900
Product: gnome-tweak-tool
Classification: Applications
Component: general
3.10.x
Other Linux
: Normal major
: ---
Assigned To: GNOME Tweak Tool maintainer(s)
GNOME Tweak Tool maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-10-29 18:41 UTC by John Dulaney
Modified: 2013-11-12 07:48 UTC
See Also:
GNOME target: ---
GNOME version: 3.9/3.10



Description John Dulaney 2013-10-29 18:41:37 UTC
Copied from:
https://bugzilla.redhat.com/show_bug.cgi?id=1019231


Description of problem:
Select "Startup Applications" and click "+" button then I got crash.

Version-Release number of selected component:
gnome-tweak-tool-3.10.0-1.fc20

Additional info:
reporter:       libreport-2.1.8
cmdline:        python /usr/bin/gnome-tweak-tool
executable:     /usr/bin/gnome-tweak-tool
kernel:         3.12.0-rc5-ktest
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
tweak_group_startup.py:78:_build_widget:TypeError: Argument 0 does not allow None as a value

Traceback (most recent call last):
  • File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_startup.py", line 185 in _on_add_clicked
    set(self._get_running_executables()))
  • File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_startup.py", line 51 in __init__
    _("running") if running else "")
  • File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_startup.py", line 78 in _build_widget
    img = Gtk.Image.new_from_gicon(a.get_icon(),Gtk.IconSize.DIALOG)
TypeError: Argument 0 does not allow None as a value

Local variables in innermost frame:
a: <DesktopAppInfo object at 0x7fa42e6e1d20 (GDesktopAppInfo at 0x3094410)>
self: <_AppChooser object at 0x7fa436c04870 (gtweak+tweaks+tweak_group_startup+_AppChooser at 0x34862a0)>
extra: ''
g: <Grid object at 0x7fa42e6f0230 (GtkGrid at 0x347f720)>
row: <ListBoxRow object at 0x7fa42e6f00a0 (GtkListBoxRow at 0x32c56a0)>
Comment 1 John Dulaney 2013-10-29 18:42:45 UTC
Back trace


tweak_group_startup.py:78:_build_widget:TypeError: Argument 0 does not allow None as a value

Traceback (most recent call last):
  • File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_startup.py", line 185 in _on_add_clicked
    set(self._get_running_executables()))
  • File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_startup.py", line 51 in __init__
    _("running") if running else "")
  • File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_startup.py", line 78 in _build_widget
    img = Gtk.Image.new_from_gicon(a.get_icon(),Gtk.IconSize.DIALOG)
TypeError: Argument 0 does not allow None as a value

Local variables in innermost frame:
a: <DesktopAppInfo object at 0x7fa42e6e1d20 (GDesktopAppInfo at 0x3094410)>
self: <_AppChooser object at 0x7fa436c04870 (gtweak+tweaks+tweak_group_startup+_AppChooser at 0x34862a0)>
extra: ''
g: <Grid object at 0x7fa42e6f0230 (GtkGrid at 0x347f720)>
row: <ListBoxRow object at 0x7fa42e6f00a0 (GtkListBoxRow at 0x32c56a0)>
Comment 2 John Dulaney 2013-10-29 18:46:21 UTC
Environ:


LC_NUMERIC=en_US.utf8
KERN_PREBUILT=prebuilt
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GJS_DEBUG_OUTPUT=stderr
LC_MEASUREMENT=en_US.utf8
LESSOPEN=||/usr/bin/lesspipe.sh %s
LC_PAPER=en_US.utf8
QT_IM_MODULE=ibus
LOGNAME=masami
USER=masami
PATH=/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/masami/bin::/home/masami/.local/bin:/home/masami/bin
XDG_VTNR=1
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-7lu53S
PS1=\u@\h:\w$(__git_ps1)\$ 
DISPLAY=:0
LC_TIME=en_US.utf8
LANG=en_US.utf8
QTLIB=/usr/lib64/qt-3.3/lib
SHELL=/bin/bash
XAUTHORITY=/run/gdm/auth-for-masami-Y7VN6t/database
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1385,unix/unix:/tmp/.ICE-unix/1385
QTINC=/usr/lib64/qt-3.3/include
HISTSIZE=1000
WINDOWPATH=1
EDITOR=vim
XMODIFIERS=@im=ibus
GIO_LAUNCHED_DESKTOP_FILE_PID=32229
CONCURRENCY_LEVEL=8
HOME=/home/masami
HISTFILESIZE=10000
LC_MONETARY=en_US.utf8
USERNAME=masami
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gnome-tweak-tool.desktop
XDG_RUNTIME_DIR=/run/user/1000
CCACHE_HASHDIR=
PYTHONPATH=/home/masami/codes/python-libs
SSH_AUTH_SOCK=/run/user/1000/keyring-7lu53S/ssh
GDMSESSION=gnome
MALLOC_CHECK_=3
QT_GRAPHICSSYSTEM_CHECKED=1
XDG_SESSION_ID=1
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-B8rQ5KOGZS,guid=fd118684a0c030cdc6f53f02525cab3f
_=/usr/bin/gnome-session
DESKTOP_SESSION=gnome
GPG_AGENT_INFO=/run/user/1000/keyring-7lu53S/gpg:0:1
GNOME_KEYRING_PID=1382
HOSTNAME=saga
GDM_LANG=en_US.utf8
HISTCONTROL=ignoredups
SHLVL=1
PWD=/home/masami
MALLOC_PERTURB_=181
DESKTOP_STARTUP_ID=gnome-shell-1578-saga-gnome-tweak-tool-10_TIME28467842
MAIL=/var/spool/mail/masami
GIT_EDITOR=vim
XDG_MENU_PREFIX=gnome-
QTDIR=/usr/lib64/qt-3.3
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
XDG_SEAT=seat0
Comment 3 John Dulaney 2013-10-29 18:46:41 UTC
Retrace:

https://retrace.fedoraproject.org/faf/reports/218530/
Comment 4 John Stowers 2013-11-12 07:48:13 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 708900 ***