Bug 885377

Summary: [abrt] gphotoframe-1.5.1-2.fc16: parseexif.py:107:_convert_from_fraction:ZeroDivisionError: division by zero
Product: [Fedora] Fedora Reporter: Szabo Akos <fonya>
Component: gphotoframeAssignee: Mamoru TASAKA <mtasaka>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: mtasaka
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:02f833e15235778d1d6869c7b23477a273905873
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-02 04:54:51 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:

Description Szabo Akos 2012-12-08 23:17:28 UTC
libreport version: 2.0.10
abrt_version:   2.0.7
cmdline:        /usr/bin/python /usr/bin/gphotoframe
comment:        I do not experienced nothing, just the error messages, about twice a month.
executable:     /usr/bin/gphotoframe
kernel:         3.6.7-4.fc16.x86_64
time:           Sun 09 Dec 2012 12:10:25 AM CET
uid:            1001
username:       fonya

backtrace:
:parseexif.py:107:_convert_from_fraction:ZeroDivisionError: division by zero
:
:Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/gphotoframe/liststore.py", line 81, in _start_timer
:    updated = self._change_photo()
:  File "/usr/lib/python2.7/site-packages/gphotoframe/liststore.py", line 104, in _change_photo
:    target().get_photo(self._show_photo_cb)
:  File "/usr/lib/python2.7/site-packages/gphotoframe/plugins/base/base.py", line 84, in get_photo
:    cb(None, self.photo)
:  File "/usr/lib/python2.7/site-packages/gphotoframe/liststore.py", line 116, in _show_photo_cb
:    elif self.photoframe.set_photo(photo):
:  File "/usr/lib/python2.7/site-packages/gphotoframe/frame.py", line 70, in set_photo
:    if not self.photoimage.set_photo(photo): return False
:  File "/usr/lib/python2.7/site-packages/gphotoframe/image/gtkimage.py", line 28, in set_photo
:    if self.pixbuf.set(self.photo) is False:
:  File "/usr/lib/python2.7/site-packages/gphotoframe/image/gtkimage.py", line 96, in set
:    photo.get_exif()
:  File "/usr/lib/python2.7/site-packages/gphotoframe/plugins/base/base.py", line 204, in get_exif
:    exif = tags.get_exif()
:  File "/usr/lib/python2.7/site-packages/gphotoframe/plugins/base/parseexif.py", line 31, in get_exif
:    value = self._convert_from_fraction(value)
:  File "/usr/lib/python2.7/site-packages/gphotoframe/plugins/base/parseexif.py", line 107, in _convert_from_fraction
:    value = int(a) / int(b)
:ZeroDivisionError: division by zero
:
:Local variables in innermost frame:
:a: '0'
:self: <gphotoframe.plugins.base.parseexif.ParseEXIF object at 0x4772350>
:b: '0'
:value: '0/0'

smolt_data:
:
:
:General
:=================================
:UUID: e7ca6076-ae68-4f2b-b4a8-71cb42264a8b
:OS: Fedora release 16 (Verne)
:Default run level: Unknown
:Language: en_US.UTF-8
:Platform: x86_64
:BogoMIPS: 4189.49
:CPU Vendor: GenuineIntel
:CPU Model: Intel(R) Core(TM)2 Duo CPU     T8100  @ 2.10GHz
:CPU Stepping: 6
:CPU Family: 6
:CPU Model Num: 23
:Number of CPUs: 2
:CPU Speed: 2101
:System Memory: 3953
:System Swap: 8191
:Vendor: Dell Inc.
:System: XPS M1530 
:Form factor: Portable
:Kernel: 3.6.7-4.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
:=================================
:(32902:10752:4136:558) pci, None, HOST/PCI, Mobile PM965/GM965/GL960 Memory Controller Hub
:(32902:10753:4136:558) pci, pcieport, PCI/PCI, Mobile PM965/GM965/GL960 PCI Express Root Port
:(5348:17192:4136:10) pci, b43-pci-bridge, NETWORK, Wireless 1500 Draft 802.11n WLAN Mini-card
:(32902:10302:4136:558) pci, i801_smbus, SERIAL, 82801H (ICH8 Family) SMBus Controller
:(32902:10281:4136:558) pci, ahci, STORAGE, 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller
:(32902:10320:4136:558) pci, ata_piix, STORAGE, 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller
:(32902:10261:4136:558) pci, lpc_ich, PCI/ISA, 82801HEM (ICH8M) LPC Interface Controller
:(4523:17236:4136:558) pci, sky2, ETHERNET, 88E8040 PCI-E Fast Ethernet Controller
:(32902:9288:4136:558) pci, None, PCI/PCI, 82801 Mobile PCI Bridge
:(32902:10289:4136:558) pci, uhci_hcd, USB, 82801H (ICH8 Family) USB UHCI Controller #2
:(32902:10288:4136:558) pci, uhci_hcd, USB, 82801H (ICH8 Family) USB UHCI Controller #1
:(32902:10290:4136:558) pci, uhci_hcd, USB, 82801H (ICH8 Family) USB UHCI Controller #3
:(32902:10294:4136:558) pci, ehci_hcd, USB, 82801H (ICH8 Family) USB2 EHCI Controller #1
:(32902:10298:4136:558) pci, ehci_hcd, USB, 82801H (ICH8 Family) USB2 EHCI Controller #2
:(32902:10303:4136:558) pci, pcieport, PCI/PCI, 82801H (ICH8 Family) PCI Express Port 1
:(32902:10305:4136:558) pci, pcieport, PCI/PCI, 82801H (ICH8 Family) PCI Express Port 2
:(32902:10311:4136:558) pci, pcieport, PCI/PCI, 82801H (ICH8 Family) PCI Express Port 5
:(32902:10315:4136:558) pci, snd_hda_intel, MULTIMEDIA, 82801H (ICH8 Family) HD Audio Controller
:(32902:10292:4136:558) pci, uhci_hcd, USB, 82801H (ICH8 Family) USB UHCI Controller #4
:(4480:1426:4136:558) pci, r592, BASE, R5C592 Memory Stick Bus Host Adapter
:(4480:2130:4136:558) pci, r852, BASE, xD-Picture Card Controller
:(4480:2098:4136:558) pci, firewire_ohci, FIREWIRE, R5C832 IEEE 1394 Controller
:(4480:2082:4136:558) pci, sdhci-pci, BASE, R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter
:(4318:1063:4136:558) pci, nouveau, VIDEO, G86 [GeForce 8400M GS]
:(32902:10293:4136:558) pci, uhci_hcd, USB, 82801H (ICH8 Family) USB UHCI Controller #5
:
:
:Filesystem Information
:=================================
:device mtpt type bsize frsize blocks bfree bavail file ffree favail
:-------------------------------------------------------------------
:/dev/mapper/vg_cellaxps-lv_root / ext4 4096 4096 5160607 3070683 2808539 1310720 1054834 1054834
:/dev/sda3 /boot ext4 4096 4096 258022 229670 216563 65536 65263 65263
:/dev/mapper/luks-a60c7598-372f-4b78-9380-5628dad72ecf /home btrfs 4096 4096 23420416 10637333 9292599 0 0 0
:/dev/mapper/luks-a60c7598-372f-4b78-9380-5628dad72ecf WITHHELD btrfs 4096 4096 23420416 10637333 9292599 0 0 0
:

Comment 1 Mamoru TASAKA 2012-12-10 08:20:49 UTC
I will try to push a possible fix for this, however it is appreciated if you would find out what picture you have reproduces this issue. Would you examine this?

Comment 2 Szabo Akos 2012-12-10 08:44:51 UTC
I use with folder, 3 picasa community, and a picasa user source, and I can't find, what happend, when crashed. Sorry.

Comment 3 Fedora Update System 2012-12-16 13:40:47 UTC
gphotoframe-1.5.1-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/gphotoframe-1.5.1-3.fc17

Comment 4 Fedora Update System 2012-12-16 13:45:11 UTC
gphotoframe-2.0-0.3.a2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/gphotoframe-2.0-0.3.a2.fc18

Comment 5 Fedora Update System 2012-12-16 19:09:47 UTC
Package gphotoframe-2.0-0.3.a2.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gphotoframe-2.0-0.3.a2.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-20484/gphotoframe-2.0-0.3.a2.fc18
then log in and leave karma (feedback).

Comment 6 Szabo Akos 2012-12-16 23:53:57 UTC
Thank You very much! I'm using Fedora 16, so I compile for it, and I'd updated it. If I got this error again, I will indicate.

Comment 7 Mamoru TASAKA 2012-12-19 03:57:58 UTC
(In reply to comment #6)
> Thank You very much! I'm using Fedora 16, so I compile for it, and I'd
> updated it. If I got this error again, I will indicate.

Ah, will push also on F-16.

Comment 8 Fedora Update System 2012-12-19 03:59:03 UTC
gphotoframe-1.5.1-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/gphotoframe-1.5.1-3.fc16

Comment 9 Fedora Update System 2013-01-02 04:54:53 UTC
gphotoframe-1.5.1-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2013-01-02 05:00:47 UTC
gphotoframe-1.5.1-3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2013-01-12 01:20:48 UTC
gphotoframe-2.0-0.3.a2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.