#457 OsX maverick, metric, dimension over 1000mm

2.0.4
closed-fixed
None
5
2014-07-13
2014-03-02
Ezro
No

Than I try to make rectangle (or line, etc.), by command line, all dimensions over 1000mm gives me Expresion Syntax error (like first point 1000,0). If I specify this like first point (500+500),0 it works well.
HW: MacBookPro 13 retina (on old windows laptop work as expected).

Thanks for your work!

Discussion

1 2 > >> (Page 1 of 2)
  • Dongxu Li

    Dongxu Li - 2014-03-03

    can you give clear and specific steps to reproduce this bug?

    like:

    1, Main menu: Draw->Line->2 points
    2, prompted "Specify first point", type in command line: 1001, 0
    3, prompted "Specify next point", type in command line: 0, 1001

    results:

    expected: a line from (1001, 0) to (0, 1001)

    actual: blahblah

    a dxf generated by step 1-3 is attached

     
  • Ezro

    Ezro - 2014-03-04

    yes,
    1) Main menu: Draw -> Line -> 2 points
    2) promted "Specify first point, type in command line 1001,0
    3) Gives me Expresion Syntax Error, no first point created, still promted for specify first point, if I type first point as (500+501),0 first point is created and I am promoted for specifying second point

     
  • LordOfBikes

    LordOfBikes - 2014-03-04

    This seems to be Mac specific. I can't reproduce it on Linux or Windows. It's working fine there.

     
  • Dongxu Li

    Dongxu Li - 2014-03-04

    tested on OS/X (10.8, and 10.9, i.e., Mavericks). Can not reproduce this bug.

    Please provide more information:

    1, does it happen only to this magic number 1001 or other numbers too? please provide a list of numbers which lead to the same bug behavior. for example, does it work with:
    2345,6789
    1234<2
    1230,1
    98756, 5432

    again, please try to provide more information.

    2, is it a keyboard/fonts issue, can you copy&paste the strings in input, and attach to this bug report?

     
  • Ezro

    Ezro - 2014-03-04

    system osx 10.9.2 fresh installation
    librecad installed from package LibreCAD-Mavericks.dmg, fresh installation
    my native system language is Czech, but I try to switch everything to US english, without any change

    1) ALL numbers bigger than 999, gives me same -> Expression Syntax Error, means all your examples gives me the same error. Same in X and Y axis...

    2) I don't think that this is keyboard or font issue, because if I specify point like i.e. (500+520),0 it works as expected. ALL numbers less than 1000 works...

    Menu -> Draw -> Line -> 2points
    Promted "Specify first point"
    type in command line 999,0 WORKS (first point is created, I am promted for Second Point

    Menu -> Draw -> Line -> 2points
    Promted "Specify first point"
    type in command line 1234,0 DONT WORK, Expression Syntax Error, I am still promted for specify first point

    Same situation with i.e. rectangle.

    It must be probably something very specific. I can finish what I need on PC laptop. It is not a big problem for me, but there must be something wrong.
    If you want to know more details, you must guide me.

     
  • LordOfBikes

    LordOfBikes - 2014-03-04

    One random shot from me, is there an OS option about thousands separators which may cause this?

     
  • Ezro

    Ezro - 2014-03-04

    That was reason for switching osx to US English, but no luck

     
  • Dongxu Li

    Dongxu Li - 2014-03-05

    I added some debugging messages in the attached installer for OS/X 10.9

     
  • Ezro

    Ezro - 2014-03-05

    Menu -> Draw -> Line -> 2points
    Promted "Specify first point"
    type in command line 1234,0

    MuParser error message in parsing "1234" : Undefined token "1234" found at position 0.
    Expression Syntax Error

    OSX is actually switched to US ENGLISH and system is rebooted after this change. US ENGLISH Keyboard layout.

     
  • Dongxu Li

    Dongxu Li - 2014-03-05

    it's clearly a muparser error. I have switched to another version of muparser in the attached installer.

     
  • Ezro

    Ezro - 2014-03-05

    application start

    Menu -> Draw -> Line -> 2points
    Promted "Specify first point"
    type in command line 1234,0

    application crash, report attached

     
  • Dongxu Li

    Dongxu Li - 2014-03-05

    fixed this crash, hopefully

     
  • Ezro

    Ezro - 2014-03-06

    still crash
    Menu -> Draw -> Line -> 2points
    Promted "Specify first point"
    type in command line 1234,0
    Hit Enter
    Application crash

    report attached

    should I delete some hidden preference files before installing updated package?

     
  • Dongxu Li

    Dongxu Li - 2014-03-07

    as muparser is causing trouble for dynamic linking, I built a version of LibreCAD with muparser by static linking.

     
  • Dongxu Li

    Dongxu Li - 2014-03-07

    I will make a working installer for 10.8 today.

     
  • Dongxu Li

    Dongxu Li - 2014-03-07

    working version with static link muparser

     
  • Dongxu Li

    Dongxu Li - 2014-03-08
    • status: open --> open-fixed
    • assigned_to: Dongxu Li
     
  • Dongxu Li

    Dongxu Li - 2014-03-11
    • status: open-fixed --> open-accepted
     
  • Ezro

    Ezro - 2014-03-11

    Sorry for latest reaction, I have been out of Mac laptop.
    application crash on start, bug report attached.

     
  • Ezro

    Ezro - 2014-03-12

    Instaled, Application start successfully, dimensions over 999mm works.
    Should I test anything else just now?

     
  • Dongxu Li

    Dongxu Li - 2014-03-12

    it comfirms two things:

    the 4 digit bug is actually a muparser bug;
    crashing installer, i.e. broken dylibs, is fixed in qt5 macdeployqt

    this qt5 installer has broken stylesheet for buttons. we have to fix it before releasing 2.0.3

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks