Bug 1308543 - [abrt] hamster-time-tracker: __init__.py:52:__init__:AttributeError: 'NoneType' object has no attribute 'strip'
Summary: [abrt] hamster-time-tracker: __init__.py:52:__init__:AttributeError: 'NoneTyp...
Keywords:
Status: CLOSED DUPLICATE of bug 1181438
Alias: None
Product: Fedora
Classification: Fedora
Component: hamster-time-tracker
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:64465c0fb1d01e156f45e68862a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-15 13:25 UTC by Matej
Modified: 2016-02-15 13:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-15 13:50:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (698 bytes, text/plain)
2016-02-15 13:25 UTC, Matej
no flags Details
File: environ (1.47 KB, text/plain)
2016-02-15 13:25 UTC, Matej
no flags Details

Description Matej 2016-02-15 13:25:31 UTC
Version-Release number of selected component:
hamster-time-tracker-1.04-5.fc23

Additional info:
reporter:       libreport-2.6.4
cmdline:        python /usr/bin/hamster
executable:     /usr/bin/hamster
kernel:         4.3.5-300.fc23.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
__init__.py:52:__init__:AttributeError: 'NoneType' object has no attribute 'strip'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/hamster/today.py", line 451, in on_switch_activity_clicked
    tags = self.new_tags.get_text().decode("utf8", "replace"))
  File "/usr/lib/python2.7/site-packages/hamster/lib/__init__.py", line 52, in __init__
    input_parts = activity.strip().split(" ")
AttributeError: 'NoneType' object has no attribute 'strip'

Local variables in innermost frame:
category: ''
activity_id: None
description: ''
tags: u''
start_time: None
activity: None
self: <hamster.lib.Fact object at 0x7f2e227690d0>
end_time: None
delta: None
date: None
id: None

Potential duplicate: bug 1181438

Comment 1 Matej 2016-02-15 13:25:39 UTC
Created attachment 1127277 [details]
File: backtrace

Comment 2 Matej 2016-02-15 13:25:42 UTC
Created attachment 1127278 [details]
File: environ

Comment 3 Raphael Groner 2016-02-15 13:50:33 UTC
Hi Matej,

thanks for your report. Please try to reproduce with the new update version 2.0 rc1. You will get it by executing the following command:

 dnf update hamster-time-tracker

This bug is known since Fedora 20, at least ...

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


Note You need to log in before you can comment on or make changes to this bug.