Bug 1468838 - [abrt] hamster-time-tracker: _draw(): overview.py:226:_draw:ZeroDivisionError: float division by zero
[abrt] hamster-time-tracker: _draw(): overview.py:226:_draw:ZeroDivisionError...
Status: NEW
Product: Fedora
Classification: Fedora
Component: hamster-time-tracker (Show other bugs)
26
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Ankur Sinha (FranciscoD)
Fedora Extras Quality Assurance
https://retrace.fedoraproject.org/faf...
abrt_hash:229d2eefbba4df6326535680eb1...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-08 14:04 EDT by Kamil Páral
Modified: 2017-07-08 14:05 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Kamil Páral 2017-07-08 14:04:05 EDT
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 14:04:11 EDT
Created attachment 1295501 [details]
File: backtrace
Comment 2 Kamil Páral 2017-07-08 14:04:12 EDT
Created attachment 1295502 [details]
File: cgroup
Comment 3 Kamil Páral 2017-07-08 14:04:13 EDT
Created attachment 1295503 [details]
File: cpuinfo
Comment 4 Kamil Páral 2017-07-08 14:04:15 EDT
Created attachment 1295504 [details]
File: environ
Comment 5 Kamil Páral 2017-07-08 14:04:17 EDT
Created attachment 1295505 [details]
File: mountinfo
Comment 6 Kamil Páral 2017-07-08 14:04:18 EDT
Created attachment 1295506 [details]
File: namespaces
Comment 7 Kamil Páral 2017-07-08 14:04:20 EDT
Created attachment 1295507 [details]
File: open_fds

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