Bug 1468838 - [abrt] hamster-time-tracker: _draw(): overview.py:226:_draw:ZeroDivisionError: float division by zero
Summary: [abrt] hamster-time-tracker: _draw(): overview.py:226:_draw:ZeroDivisionError...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: hamster-time-tracker
Version: 26
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:229d2eefbba4df6326535680eb1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-08 18:04 UTC by Kamil Páral
Modified: 2018-05-29 11:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-29 11:21:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.06 KB, text/plain)
2017-07-08 18:04 UTC, Kamil Páral
no flags Details
File: cgroup (321 bytes, text/plain)
2017-07-08 18:04 UTC, Kamil Páral
no flags Details
File: cpuinfo (1.21 KB, text/plain)
2017-07-08 18:04 UTC, Kamil Páral
no flags Details
File: environ (1.66 KB, text/plain)
2017-07-08 18:04 UTC, Kamil Páral
no flags Details
File: mountinfo (3.66 KB, text/plain)
2017-07-08 18:04 UTC, Kamil Páral
no flags Details
File: namespaces (102 bytes, text/plain)
2017-07-08 18:04 UTC, Kamil Páral
no flags Details
File: open_fds (913 bytes, text/plain)
2017-07-08 18:04 UTC, Kamil Páral
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1321344 0 unspecified CLOSED [abrt] hamster-time-tracker: overview.py:226:_draw:ZeroDivisionError: float division by zero 2021-02-22 00:41:40 UTC

Internal Links: 1321344

Description Kamil Páral 2017-07-08 18:04:05 UTC
Description of problem:
Still the same issue as in bug 1321344 comment 6.

Version-Release number of selected component:
hamster-time-tracker-2.0-0.10.rc1.fc26

Additional info:
reporter:       libreport-2.9.1
cmdline:        python2 /usr/bin/hamster-windows-service
crash_function: _draw
exception_type: ZeroDivisionError
executable:     /usr/bin/hamster-windows-service
kernel:         4.11.9-300.fc26.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
overview.py:226:_draw:ZeroDivisionError: float division by zero

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/hamster/lib/graphics.py", line 1975, in do_draw
    sprite._draw(context)
  File "/usr/lib/python2.7/site-packages/hamster/lib/graphics.py", line 1282, in _draw
    sprite._draw(context, self.opacity * opacity, matrix * parent_matrix)
  File "/usr/lib/python2.7/site-packages/hamster/lib/graphics.py", line 1282, in _draw
    sprite._draw(context, self.opacity * opacity, matrix * parent_matrix)
  File "/usr/lib/python2.7/site-packages/hamster/overview.py", line 226, in _draw
    w = (self.alloc_w - 110) * value.total_seconds() / self._max.total_seconds()
ZeroDivisionError: float division by zero

Local variables in innermost frame:
opacity: 1
matrix: cairo.Matrix(1, 0, 0, 1, 10, 110)
g: <hamster.lib.graphics.Graphics object at 0x7f2e8d3d4938>
i: 0
self: <HorizontalBarChart 139837931806304>
label_h: 20
value: datetime.timedelta(0)
label: u'CVNS 2017 - rozbor 2016'
label_w: 165
context: <cairo.Context object at 0x7f2e8d3ce250>
y: 0

Potential duplicate: bug 1368747

Comment 1 Kamil Páral 2017-07-08 18:04:11 UTC
Created attachment 1295501 [details]
File: backtrace

Comment 2 Kamil Páral 2017-07-08 18:04:12 UTC
Created attachment 1295502 [details]
File: cgroup

Comment 3 Kamil Páral 2017-07-08 18:04:13 UTC
Created attachment 1295503 [details]
File: cpuinfo

Comment 4 Kamil Páral 2017-07-08 18:04:15 UTC
Created attachment 1295504 [details]
File: environ

Comment 5 Kamil Páral 2017-07-08 18:04:17 UTC
Created attachment 1295505 [details]
File: mountinfo

Comment 6 Kamil Páral 2017-07-08 18:04:18 UTC
Created attachment 1295506 [details]
File: namespaces

Comment 7 Kamil Páral 2017-07-08 18:04:20 UTC
Created attachment 1295507 [details]
File: open_fds

Comment 8 Fedora End Of Life 2018-05-03 08:02:21 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 9 Fedora End Of Life 2018-05-29 11:21:05 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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