Menu

#413 Plot Wizard problem in SciDAVis 1.26 on MacOS

next
cant-reproduce
nobody
None
4normal
2021-08-23
2021-01-28
No

Hi,
When using v1.26 on MacOS 10.14.6 (Mojave), opening the Plot Wizard results in the error message:
There are no tables available in this project.
Please create a table and try again!
There are definitely tables in the project, and I can create plots using commands from the Plot menu. The Plot Wizard also works fine with version 1.25.

I'm not positive, but I think that this worked with v1.26 in the past, so I suspect that there is something subtle in my system that has changed and brought a bug. But, it's happens with more than one project file.

Thanks for any help. I would be happy to provide more information, if I can.

David

Discussion

  • David Goldenberg

    I would like to follow up on this to say that the problem exists with v1.26 on Windows 10, as well as on MacOS 10.14
    Thanks,
    David

     
  • Suthiro

    Suthiro - 2021-06-03

    I can't reproduce using 2.4.0 in Ubuntu. Could you please attach a project file producing this error?

     
  • Suthiro

    Suthiro - 2021-06-03
    • status: open --> awaitingUser
     
  • David Goldenberg

    Thanks very much for looking at this! Here is a project file. It may well be that this has been fixed in the later versions of SciDavis, but 1.26 is the newest version available for MacOS, as far as I know.

    David

     
  • Suthiro

    Suthiro - 2021-08-23
    • status: awaitingUser --> cant-reproduce
     
  • Suthiro

    Suthiro - 2021-08-23

    I'm sorry, but can't reproduce in modern SciDAVis. FYI there is a possibility to build latest versions using MacPorts.

     
    • David Goldenberg

      Thanks for checking. Although I might be able to build the latest version, I really need to be available for students in a class. I would be happy to help in the process of making a Mac binary available, but I would need some direction.
      David

       
      • High Performance Coder

        On Mon, Aug 23, 2021 at 10:17:54PM -0000, David Goldenberg wrote:

        Thanks for checking. Although I might be able to build the latest version, I
        really need to be available for students in a class. I would be happy to help
        in the process of making a Mac binary available, but I would need some
        direction.
        David

        Hi David, no doubt you found the page at
        https://github.com/SciDAVis/scidavis/blob/master/INSTALL.md, which is
        a bit out of date with respect to Mac builds, as it describes the 1.x build.

        SciDaVis 2.x uses Qt5 and Python3, so you will need to adjust the
        installed ports as appropriate. And you need to use cmake to build it
        now. I have gotten it to the point where SciDaVis builds and runs
        locally on the build machine just fine, Python scripting included.

        The next step is to make a "bundle" as Apple calls it. It involves
        copying all of the dylib files, as well as the application binary,
        along with all required resources into the scidavis.app directory
        structure, and rewriting the dylib references to their in-bundle
        locations in all of the executable and dylibs. This is handled by the
        mkMacDist.sh script.

        Unfortunately, at this point, the updated scidavis file fails to run -
        it segfaults on startup. There is no debugger available - lldb doesn't
        provide any useful symbolic information - the only information is a
        rather cryptic crash log, that points somewhere deep inside the Qt
        library. It appears Qt is looking for some kind of resource file, but
        without a symbolic debugger, I do not know what, or where it is
        looking for it.

        This was after having spent days on this, and unfortunately, I do have
        a paying job to do, so just haven't found any time since to get back to it.

        Also, don't expect any help from Apple - their documentation on how
        bundles are set up is almost non-existent, so the task involves trying
        lots of experiments which takes hours, trying hints given in many endless
        StackOverflow posts by other frustrated developers.

        I wish this was easier - it just aint. Give me Linux development any
        time. It's sane, and well documented.

        It is the reason why MacOS releases are stuck on the old 1.x code, and
        the deprecated Qt 4 library. Even python support had to be dropped,
        due to a mysterious crash that appeared one day when using Python.

        Sorry for being a damp squib, but if you do rise to the challenge, and
        more importantly find a solution, I and many others will be very grateful!

        Cheers

        --


        Dr Russell Standish Phone 0425 253119 (mobile)
        Principal, High Performance Coders hpcoder@hpcoders.com.au
        http://www.hpcoders.com.au


         

Log in to post a comment.