| Summary: | [abrt] hamster-applet-2.32.1-1.fc16: stats.py:235:stats:ZeroDivisionError: integer division or modulo by zero | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | peterdiver |
| Component: | hamster-applet | Assignee: | Mads Villadsen <maxx> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | baldelli.simone, c.david86, maxx, sivlemx, tomspur |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:82bb41b4137d4eef812f05660f4349ab6833da7a | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-13 16:35:45 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** Bug 676807 has been marked as a duplicate of this bug. *** This message is a reminder that Fedora 16 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 16. 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 WONTFIX if it remains open with a Fedora 'version' of '16'. 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 prior to Fedora 16's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 16 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 to click on "Clone This Bug" and open it against that version of Fedora. 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. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 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. Thank you for reporting this bug and we are sorry it could not be fixed. |
libreport version: 2.0.8 abrt_version: 2.0.7 cmdline: python /usr/bin/hamster-time-tracker comment: i opened the hamster, went to statistics, and than happened executable: /usr/bin/hamster-time-tracker kernel: 3.1.9-1.fc16.x86_64 reason: stats.py:235:stats:ZeroDivisionError: integer division or modulo by zero time: IST 20:01:47 2012 ינו 24 ג' uid: 1000 username: apneista backtrace: :stats.py:235:stats:ZeroDivisionError: integer division or modulo by zero : :Traceback (most recent call last): : File "/usr/lib/python2.7/site-packages/hamster/overview_totals.py", line 233, in on_statistics_button_clicked : dialogs.stats.show(self) : File "/usr/lib/python2.7/site-packages/hamster/configuration.py", line 98, in show : dialog = self.get_dialog_class()(parent, **kwargs) : File "/usr/lib/python2.7/site-packages/hamster/stats.py", line 68, in __init__ : self.stats() : File "/usr/lib/python2.7/site-packages/hamster/stats.py", line 235, in stats : means = (sum([fact[0] for fact in by_weekday[day]]) / n, :ZeroDivisionError: integer division or modulo by zero : :Local variables in innermost frame: :date_facts: [{'category': dbus.String(u'Unsorted'), 'activity_id': dbus.Int32(8), 'name': dbus.String(u'bed'), 'tags': dbus.Array([], signature=dbus.Signature('s')), 'start_time': datetime.datetime(2012, 1, 24, 20, 1, 29), 'end_time': None, 'delta': datetime.timedelta(0, 18), 'date': datetime.date(2012, 1, 24), 'id': dbus.Int32(2), 'description': dbus.String(u'')}] :durations: [(datetime.datetime(2012, 1, 10, 17, 3, 32), datetime.timedelta(0)), (datetime.datetime(2012, 1, 24, 20, 1, 29), datetime.timedelta(0, 18))] :weekdays: [0.0] :self: <hamster.stats.Stats object at 0x1602250> :fact: {'category': dbus.String(u'Unsorted'), 'activity_id': dbus.Int32(8), 'name': dbus.String(u'bed'), 'tags': dbus.Array([], signature=dbus.Signature('s')), 'start_time': datetime.datetime(2012, 1, 24, 20, 1, 29), 'end_time': None, 'delta': datetime.timedelta(0, 18), 'date': datetime.date(2012, 1, 24), 'id': dbus.Int32(2), 'description': dbus.String(u'')} :start_time: 1201 :weekday_keys: ["\xd7\x92'"] :end_times: [] :n: 0 :by_weekday: {(1, "\xd7\x92'"): []} :date: datetime.date(2012, 1, 24) :category_keys: [dbus.String(u'Unsorted')] :weekday: (1, "\xd7\x92'") :key: (1, "\xd7\x92'") :year: None :start_times: [] :facts: [{'category': dbus.String(u'Unsorted'), 'activity_id': dbus.Int32(8), 'name': dbus.String(u'bed'), 'tags': dbus.Array([], signature=dbus.Signature('s')), 'start_time': datetime.datetime(2012, 1, 10, 17, 3, 32), 'end_time': None, 'delta': datetime.timedelta(0), 'date': datetime.date(2012, 1, 10), 'id': dbus.Int32(1), 'description': dbus.String(u'')}, {'category': dbus.String(u'Unsorted'), 'activity_id': dbus.Int32(8), 'name': dbus.String(u'bed'), 'tags': dbus.Array([], signature=dbus.Signature('s')), 'start_time': datetime.datetime(2012, 1, 24, 20, 1, 29), 'end_time': None, 'delta': datetime.timedelta(0, 18), 'date': datetime.date(2012, 1, 24), 'id': dbus.Int32(2), 'description': dbus.String(u'')}] :split_minutes: 330 :day: (1, "\xd7\x92'") :categories: [0.0] smolt_data: : : :General :================================= :UUID: be8a96cb-c4b8-4f7c-a696-9bb164897afb :OS: Fedora release 16 (Verne) :Default run level: Unknown :Language: en_US.utf8 :Platform: x86_64 :BogoMIPS: 2992.34 :CPU Vendor: AuthenticAMD :CPU Model: AMD Athlon(tm) Neo X2 Dual Core Processor L325 :CPU Stepping: 2 :CPU Family: 15 :CPU Model Num: 107 :Number of CPUs: 2 :CPU Speed: 1495 :System Memory: 2758 :System Swap: 4799 :Vendor: LENOVO :System: 01972MG ThinkPad Edge :Form factor: Notebook :Kernel: 3.1.9-1.fc16.x86_64 :SELinux Enabled: 1 :SELinux Policy: targeted :SELinux Enforce: Enforcing :MythTV Remote: Unknown :MythTV Role: Unknown :MythTV Theme: Unknown :MythTV Plugin: :MythTV Tuner: -1 : : :Devices :================================= :(4098:17297:6058:8627) pci, ahci, STORAGE, SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] :(4130:38407:6058:8627) pci, pcieport, PCI/PCI, RS780 PCI to PCI bridge (PCIE port 3) :(4098:17302:6058:8627) pci, ehci_hcd, USB, SB7x0/SB8x0/SB9x0 USB EHCI Controller :(4130:38400:6058:8627) pci, None, HOST/PCI, RS780 Host Bridge :(4130:38402:4130:38402) pci, None, PCI/PCI, RS780/RS880 PCI to PCI bridge (int gfx) :(4332:33128:6058:8497) pci, r8169, ETHERNET, RTL8111/8168B PCI Express Gigabit Ethernet controller :(4130:4352:0:0) pci, None, HOST/PCI, K8 [Athlon64/Opteron] HyperTransport Technology Configuration :(4130:4355:0:0) pci, k8temp, HOST/PCI, K8 [Athlon64/Opteron] Miscellaneous Control :(4130:4354:0:0) pci, None, HOST/PCI, K8 [Athlon64/Opteron] DRAM Controller :(4130:4353:0:0) pci, None, HOST/PCI, K8 [Athlon64/Opteron] Address Map :(4332:33138:4332:57376) pci, rtl8192se, NETWORK, RTL8191SEvB Wireless LAN Controller :(4098:17285:6058:8627) pci, piix4_smbus, SERIAL, SBx00 SMBus Controller :(4098:17309:6058:8627) pci, None, PCI/ISA, SB7x0/SB8x0/SB9x0 LPC host controller :(4098:17283:6058:8627) pci, snd_hda_intel, MULTIMEDIA, SBx00 Azalia (Intel HDA) :(4098:17284:0:0) pci, None, PCI/PCI, SBx00 PCI to PCI Bridge :(4098:38418:6058:8627) pci, radeon, VIDEO, RS780M/RS780MN [Radeon HD 3200 Graphics] :(4098:38415:4098:38418) pci, snd_hda_intel, MULTIMEDIA, RS780 Azalia controller :(4098:17303:6058:8627) pci, ohci_hcd, USB, SB7x0/SB8x0/SB9x0 USB OHCI0 Controller :(4098:17304:6058:8627) pci, ohci_hcd, USB, SB7x0 USB OHCI1 Controller :(4098:17302:6058:8627) pci, ehci_hcd, USB, SB7x0/SB8x0/SB9x0 USB EHCI Controller :(4098:17304:6058:8627) pci, ohci_hcd, USB, SB7x0 USB OHCI1 Controller :(4098:17303:6058:8627) pci, ohci_hcd, USB, SB7x0/SB8x0/SB9x0 USB OHCI0 Controller :(4130:38405:6058:8627) pci, pcieport, PCI/PCI, RS780 PCI to PCI bridge (PCIE port 1) : : :Filesystem Information :================================= :device mtpt type bsize frsize blocks bfree bavail file ffree favail :------------------------------------------------------------------- :/dev/mapper/vg_apneista-lv_root / ext4 4096 4096 12901535 11171224 11040202 3276800 3052680 3052680 :/dev/sda5 /boot ext4 1024 1024 495844 409875 384275 128016 127782 127782 :/dev/mapper/vg_apneista-lv_home /home ext4 4096 4096 28254384 12852634 11417396 7176192 7166905 7166905 :