Bug 1325705 - decimal.InvalidOperation: [<class 'decimal.ConversionSyntax'>]
Summary: decimal.InvalidOperation: [<class 'decimal.ConversionSyntax'>]
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libbytesize
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vratislav Podzimek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d87d17f8fabc3a4647535f1dd80...
: 1332010 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-10 19:56 UTC by Damian
Modified: 2016-05-05 09:18 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-04 07:28:54 UTC
Type: ---


Attachments (Terms of Use)
File: anaconda-tb (280.37 KB, text/plain)
2016-04-10 19:57 UTC, Damian
no flags Details
File: anaconda.log (28.03 KB, text/plain)
2016-04-10 19:57 UTC, Damian
no flags Details
File: dnf.log (608 bytes, text/plain)
2016-04-10 19:57 UTC, Damian
no flags Details
File: environ (459 bytes, text/plain)
2016-04-10 19:57 UTC, Damian
no flags Details
File: lsblk_output (1.44 KB, text/plain)
2016-04-10 19:57 UTC, Damian
no flags Details
File: nmcli_dev_list (1.20 KB, text/plain)
2016-04-10 19:57 UTC, Damian
no flags Details
File: os_info (451 bytes, text/plain)
2016-04-10 19:57 UTC, Damian
no flags Details
File: program.log (24.93 KB, text/plain)
2016-04-10 19:57 UTC, Damian
no flags Details
File: storage.log (39.14 KB, text/plain)
2016-04-10 19:57 UTC, Damian
no flags Details
File: syslog (63.42 KB, text/plain)
2016-04-10 19:57 UTC, Damian
no flags Details
File: ifcfg.log (2.40 KB, text/plain)
2016-04-10 19:57 UTC, Damian
no flags Details
File: packaging.log (370 bytes, text/plain)
2016-04-10 19:57 UTC, Damian
no flags Details

Description Damian 2016-04-10 19:56:58 UTC
Description of problem:
I just clicked "OK" in disk configuration menu

Version-Release number of selected component:
anaconda-25.7-1

The following was filed automatically by anaconda:
anaconda 25.7-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/bytesize/bytesize.py", line 512, in __truediv__
    return Decimal(self._c_size.true_div(other._c_size))
  File "/usr/lib/python3.5/site-packages/blivet/size.py", line 79, in __truediv__
    ret = bytesize.Size.__truediv__(self, other)
  File "/usr/lib/python3.5/site-packages/blivet/util.py", line 319, in total_memory
    mem = (mem / bs + 1) * bs
  File "/usr/lib/python3.5/site-packages/blivet/autopart.py", line 58, in swap_suggestion
    mem = util.total_memory()
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 825, in _check_space_and_get_dialog
    auto_swap = autopart.swap_suggestion()
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 967, in on_back_clicked
    dialog = self._check_space_and_get_dialog(disks)
decimal.InvalidOperation: [<class 'decimal.ConversionSyntax'>]

Additional info:
addons:         com_redhat_docker, com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-E-dvd-x86_64-rawh rd.live.check quiet
dnf.rpm.log:    Apr 10 21:49:35 INFO --- logging initialized ---
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.6.0-0.rc2.git4.1.fc25.x86_64
product:        Fedora
release:        Cannot get release name.
reproducible:   Not sure how to reproduce the problem
type:           anaconda
version:        rawhide

Comment 1 Damian 2016-04-10 19:57:07 UTC
Created attachment 1145772 [details]
File: anaconda-tb

Comment 2 Damian 2016-04-10 19:57:09 UTC
Created attachment 1145773 [details]
File: anaconda.log

Comment 3 Damian 2016-04-10 19:57:11 UTC
Created attachment 1145774 [details]
File: dnf.log

Comment 4 Damian 2016-04-10 19:57:13 UTC
Created attachment 1145775 [details]
File: environ

Comment 5 Damian 2016-04-10 19:57:14 UTC
Created attachment 1145776 [details]
File: lsblk_output

Comment 6 Damian 2016-04-10 19:57:16 UTC
Created attachment 1145777 [details]
File: nmcli_dev_list

Comment 7 Damian 2016-04-10 19:57:18 UTC
Created attachment 1145778 [details]
File: os_info

Comment 8 Damian 2016-04-10 19:57:20 UTC
Created attachment 1145779 [details]
File: program.log

Comment 9 Damian 2016-04-10 19:57:22 UTC
Created attachment 1145780 [details]
File: storage.log

Comment 10 Damian 2016-04-10 19:57:25 UTC
Created attachment 1145781 [details]
File: syslog

Comment 11 Damian 2016-04-10 19:57:26 UTC
Created attachment 1145782 [details]
File: ifcfg.log

Comment 12 Damian 2016-04-10 19:57:28 UTC
Created attachment 1145783 [details]
File: packaging.log

Comment 13 Vratislav Podzimek 2016-04-21 14:27:29 UTC
https://github.com/rhinstaller/libbytesize/pull/13

Comment 14 Vojtech Trefny 2016-05-02 10:26:50 UTC
*** Bug 1332010 has been marked as a duplicate of this bug. ***


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