Skip to content

pyOpenMS 2.3 for macOS #3202

Closed
Closed

Description

@grosenberger

Hi all,

I built the release version of pyOpenMS 2.3 for macOS in Python 2.7 and 3.6 flavors. Before we push this to PyPI, would anybody have a chance to test this on their system?

Thanks for your help!

pyopenms-2.3.0-cp27-cp27m-macosx_10_12_intel.whl.zip

pyopenms-2.3.0-cp36-cp36m-macosx_10_12_x86_64.whl.zip

Activity

  1. jpfeuffer commented on Feb 28, 2018

    @jpfeuffer
    Contributor

    For the 3.6 version:

    Determination of memory status is not supported on this
     platform, measuring for memoryleaks will never fail
    
    
    ======================================================================
    
    
    maybe you miss some libraries. please run ldd (on linux) or
    dependency walker (on windows) on
    
    
    /Users/pfeuffer/.virtualenvs/py3pyOMSTesting/lib/python3.6/site-packages/pyopenms/pyopenms.so
    
    
    ======================================================================
    
    
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/Users/pfeuffer/.virtualenvs/py3pyOMSTesting/lib/python3.6/site-packages/pyopenms/__init__.py", line 52, in <module>
        raise e
      File "/Users/pfeuffer/.virtualenvs/py3pyOMSTesting/lib/python3.6/site-packages/pyopenms/__init__.py", line 22, in <module>
        from .all_modules import *
      File "/Users/pfeuffer/.virtualenvs/py3pyOMSTesting/lib/python3.6/site-packages/pyopenms/all_modules.py", line 1, in <module>
        from .pyopenms_1 import *
    ImportError: dlopen(/Users/pfeuffer/.virtualenvs/py3pyOMSTesting/lib/python3.6/site-packages/pyopenms/pyopenms_1.cpython-36m-darwin.so, 2): Library not loaded: /Users/gr2578/Downloads/py36/lib/libOpenMS.dylib
      Referenced from: /Users/pfeuffer/.virtualenvs/py3pyOMSTesting/lib/python3.6/site-packages/pyopenms/pyopenms_1.cpython-36m-darwin.so
      Reason: image not found
    
  2. jpfeuffer commented on Feb 28, 2018

    @jpfeuffer
    Contributor

    Seems like it still points to your local paths for the dylibs.
    Did the install_name_tool routine run through successfully?

  3. grosenberger commented on Feb 28, 2018

    @grosenberger
    ContributorAuthor

    Thanks for testing. There seems to be a bug in the macOS patching script and I will make PR. Could you please test the updated packages again?
    pyopenms-2.3.0-cp27-cp27m-macosx_10_12_intel.whl.zip
    pyopenms-2.3.0-cp36-cp36m-macosx_10_12_x86_64.whl.zip

  4. jpfeuffer commented on Mar 1, 2018

    @jpfeuffer
    Contributor

    Yes, both work now. Tested rudimentary file loading.

  5. jpfeuffer commented on Mar 1, 2018

    @jpfeuffer
    Contributor

    By the way, can we require numpy somehow, so that pip installs it as dependency?

  6. jpfeuffer commented on Mar 1, 2018

    @jpfeuffer
    Contributor

    I needed to do that beforehand.

  7. grosenberger commented on Mar 1, 2018

    @grosenberger
    ContributorAuthor

    Great, thanks for testing! @hroest, could you please push the two packages to PyPI? Regarding the numpy dependency, we should be able to include this in the setup.py file.

  8. grosenberger commented on Mar 1, 2018

    @grosenberger
    ContributorAuthor

    Excellent, thank you very much!

  9. jpfeuffer commented on Apr 2, 2018

    @jpfeuffer
    Contributor

    I'll open a new issue for the numpy dependency.

  10. dtabasIDBS commented on Feb 3, 2021

    @dtabasIDBS

    Hi all,

    I just installed pyopenms 3.6.0 on my mac (version 11.1) using Python 3.8 through pip, and I'm having this exact same issue:
    Determination of memory status is not supported on this platform, measuring for memoryleaks will never fail

    Any help on this?

    Thanks

  11. jpfeuffer commented on Feb 3, 2021

    @jpfeuffer
    Contributor

    This is just a warning, you can ignore it. The troublesome part was the subsequent lines. Are you getting them, too?

  12. dtabasIDBS commented on Feb 4, 2021

    @dtabasIDBS

    You're right, I only get the warning, not the error.

  13. amnahsiddiqa commented on Aug 24, 2021

    @amnahsiddiqa

    Hi I get the same error on Mac ;

    Determination of memory status is not supported on this platform, measuring for memoryleaks will never fail /Users/runner/work/OpenMS/OpenMS/OpenMS/src/openms/source/FORMAT/HANDLERS/XMLHandler.cpp(107): While loading 'mzML/MT_20210801_015_chrom.mzML.xz': exceeded byte limit at byte '�' in a 6-byte sequence( in line 1 column 1) Traceback (most recent call last): File "process_masstraces_mzlist_AS.py", line 60, in <module> L = chromatograms2mz( os.path.join(DIR, f) ) File "process_masstraces_mzlist_AS.py", line 34, in chromatograms2mz MzMLFile().load(infile, exp) File "pyopenms/pyopenms_6.pyx", line 4554, in pyopenms.pyopenms_6.MzMLFile.load RuntimeError: - due to that error of type Parse Error in: /Users/runner/work/OpenMS/OpenMS/OpenMS/src/openms/source/FORMAT/HANDLERS/XMLHandler.cpp@108-void OpenMS::Internal::XMLHandler::fatalError(OpenMS::Internal::XMLHandler::ActionMode, const OpenMS::String &, OpenMS::UInt, OpenMS::UInt) const

  14. jpfeuffer commented on Aug 24, 2021

    @jpfeuffer
    Contributor

    As mentioned above, the first sentence is just a warning that always occurs on macOS and can be ignored. The rest of the message displays the problem. Please open another issue for that. (From the file ending "xz" it is probably an unsupported compression software; try to unzip it first).

  15. amnahsiddiqa commented on Sep 14, 2021

    @amnahsiddiqa

    Thanks. It worked with mzML file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions