Bug 615798

Summary: [abrt] crash in nicotine+-1.2.15-2.fc13: utils.py:116:showCountryTooltip:AttributeError: 'NoneType' object has no attribute 'startswith'
Product: [Fedora] Fedora Reporter: vinced <vincezd>
Component: nicotine+Assignee: Mohamed El Morabity <pikachu.2014>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: pikachu.2014
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:10d374d1
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-28 01:09:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description vinced 2010-07-18 21:55:39 UTC
abrt 1.1.1 detected a crash.

architecture: i686
cmdline: /usr/bin/python /usr/bin/nicotine.py
component: nicotine+
executable: /usr/bin/nicotine.py
kernel: 2.6.33.6-147.fc13.i686
package: nicotine+-1.2.15-2.fc13
reason: utils.py:116:showCountryTooltip:AttributeError: 'NoneType' object has no attribute 'startswith'
release: Fedora release 13 (Goddard)

backtrace
-----
utils.py:116:showCountryTooltip:AttributeError: 'NoneType' object has no attribute 'startswith'

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/pynicotine/gtkgui/userlist.py", line 177, in OnTooltip
    return showCountryTooltip(widget, x, y, tooltip, 14, 'flag_')
  File "/usr/lib/python2.6/site-packages/pynicotine/gtkgui/utils.py", line 116, in showCountryTooltip
    if not value.startswith(stripprefix):
AttributeError: 'NoneType' object has no attribute 'startswith'

Local variables in innermost frame:
sourcecolumn: 14
x: 45
stripprefix: 'flag_'
title: 'Pays'
column: <gtk.TreeViewColumn object at 0xaa63cfc (GtkTreeViewColumn at 0xb2ee248)>
widget: <gtk.TreeView object at 0xaa63914 (GtkTreeView at 0xb2fa010)>
iter: <GtkTreeIter at 0xb6630b0>
cy: 0
cx: 25
value: None
incorrectpath: (0,)
y: 103
path: (3,)
model: <gtk.ListStore object at 0xaa63b94 (GtkListStore at 0xb2f7d60)>
droppos: <enum GTK_TREE_VIEW_DROP_INTO_OR_BEFORE of type GtkTreeViewDropPosition>
tooltip: <gtk.Tooltip object at 0xb6313ec (GtkTooltip at 0xa96e560)>

How to reproduce
-----
1. simply start nicotine+
2.
3.

Comment 1 vinced 2010-07-18 21:55:42 UTC
Created attachment 432737 [details]
File: backtrace

Comment 2 vinced 2010-07-19 22:33:17 UTC
Package: nicotine+-1.2.15-2.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1.  start downloading
2.
3.

Comment 3 vinced 2010-07-30 04:38:17 UTC
Package: nicotine+-1.2.15-2.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1.  I don't know, everything's fine, I'm tchatting, and everything's fine
2.
3.

Comment 4 vinced 2010-08-02 04:42:15 UTC
Package: nicotine+-1.2.15-2.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1.  the user I was tchating with got disconnected
2.
3.

Comment 5 vinced 2010-08-03 05:16:25 UTC
Package: nicotine+-1.2.15-2.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1.   I was tchating ... but eveything looks ok for me. I think my connection has a little problem because it gets disconnected and re-connected quite often. Or nicotine ?
2.
3.

Comment 6 vinced 2010-08-08 05:32:42 UTC
Package: nicotine+-1.2.15-2.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1.   I have no idea
2.
3.

Comment 7 vinced 2010-08-08 06:48:43 UTC
Package: nicotine+-1.2.15-2.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1.   I have no idea :/ maybe because of wireless connection ?
2.
3.

Comment 8 vinced 2010-08-18 03:10:55 UTC
Package: nicotine+-1.2.15-2.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1.   I have no idea :/ 
2.
3.

Comment 9 vinced 2010-09-16 21:08:05 UTC
Package: nicotine+-1.2.15-2.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)


Comment
-----
 I did absolutely nothing, and in return the bug did nothing special to me.

Comment 10 vinced 2010-11-14 21:28:14 UTC
Package: nicotine+-1.2.15-2.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)


Comment
-----
Sorry nothing to say ... I just right clicked on a user. But I want Nicotine+ to be even more perfect so I report this "bug" 
that did nothing.
Cheers

Comment 11 Mohamed El Morabity 2010-11-22 09:31:17 UTC
Thanks for this report. Please test the latest version of nicotine+ available in
the stable repos:
   # yum update nicotine+

Comment 12 Mohamed El Morabity 2010-12-28 01:09:22 UTC
No news is good news. Closing since there is no answer and a newer version is available.