Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 656693 Details for
Bug 882981
[abrt] gourmet-0.15.9-5.fc18: convert.py:891:float_to_metric:TypeError: int() argument must be a string or a number, not 'NoneType'
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
File: backtrace
backtrace (text/plain), 1.56 KB, created by
Matteo Settenvini
on 2012-12-03 14:45:20 UTC
(
hide
)
Description:
File: backtrace
Filename:
MIME Type:
Creator:
Matteo Settenvini
Created:
2012-12-03 14:45:20 UTC
Size:
1.56 KB
patch
obsolete
>convert.py:891:float_to_metric:TypeError: int() argument must be a string or a number, not 'NoneType' > >Traceback (most recent call last): > File "/usr/lib/python2.7/site-packages/gourmet/reccard.py", line 425, in shop_for_recipe_cb > self.rg.sl.addRec(self.current_rec,self.mult,d) > File "/usr/lib/python2.7/site-packages/gourmet/shopping.py", line 408, in addRec > self.reset() > File "/usr/lib/python2.7/site-packages/gourmet/shopgui.py", line 816, in reset > self.grabIngsFromRecs(self.recs.values(),self.extras) > File "/usr/lib/python2.7/site-packages/gourmet/shopping.py", line 282, in grabIngsFromRecs > return self.organize_list(self.lst) > File "/usr/lib/python2.7/site-packages/gourmet/shopping.py", line 286, in organize_list > data = self.sh.organize(self.sh.dic) > File "/usr/lib/python2.7/site-packages/gourmet/shopping.py", line 169, in organize > itms.append([i,self.amt_to_string(amts)]) > File "/usr/lib/python2.7/site-packages/gourmet/shopping.py", line 122, in amt_to_string > retstr = self.cnv.amt_string(amts[0]) > File "/usr/lib/python2.7/site-packages/gourmet/convert.py", line 488, in amt_string > nstring = float_to_frac(num,approx=approx) > File "/usr/lib/python2.7/site-packages/gourmet/convert.py", line 860, in float_to_frac > return float_to_metric(n,approx) > File "/usr/lib/python2.7/site-packages/gourmet/convert.py", line 891, in float_to_metric > if int(n) != n: >TypeError: int() argument must be a string or a number, not 'NoneType' > >Local variables in innermost frame: >format_string: '%.2f' >n: None >approx: 0.01 >decimals_to_preserve: 2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 882981
: 656693 |
656694
|
656695
|
656696