View Issue Details

IDProjectCategoryView StatusLast Update
0001816FreeCADBugpublic2014-11-04 14:21
ReporterjreinhardtAssigned Towmayer 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformOSUbuntuOS Version14.04.1
Product Version0.15 
Target VersionFixed in Version 
Summary0001816: parseQuantity returns garbage
DescriptionparseQuantity seems to be broken since
f2367c6c195552b4cc0786e68668b8ece6b048da
Date: Fri Oct 3 11:51:03 2014 +0200

    bugfix in unit parser
    
    partly revert to 810fadab233afe9afbf3ee31ff352755ed7084eb
    and change python string handling to "et" method
Steps To Reproduce1.Open FreeCAD
2. type "FreeCAD.Units.parseQuantity("22 mm") or something else
3. the returned value is always 2.22507e-308
Additional InformationOS: Ubuntu 14.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4146 (Git)
Branch: master
Hash: 76906d20a0c141b503e5a582aee221068d827bf2
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

FreeCAD: master 5c84e474

2014-11-04 14:51:19

wmayer

Details Diff
+ fixes 0001816: parseQuantity returns garbage Affected Issues
0001816
mod - src/Base/UnitsApiPy.cpp Diff File

Issue History

Date Modified Username Field Change
2014-11-03 16:11 jreinhardt New Issue
2014-11-03 17:28 jreinhardt Assigned To => jreinhardt
2014-11-03 17:28 jreinhardt Status new => assigned
2014-11-03 17:29 jreinhardt Assigned To jreinhardt => shoogen
2014-11-04 14:21 wmayer Changeset attached => FreeCAD Master master 5c84e474
2014-11-04 14:21 wmayer Assigned To shoogen => wmayer
2014-11-04 14:21 wmayer Status assigned => closed
2014-11-04 14:21 wmayer Resolution open => fixed