You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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
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.
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
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
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).
Activity
jpfeuffer commentedon Feb 28, 2018
For the 3.6 version:
jpfeuffer commentedon Feb 28, 2018
Seems like it still points to your local paths for the dylibs.
Did the install_name_tool routine run through successfully?
grosenberger commentedon Feb 28, 2018
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
jpfeuffer commentedon Mar 1, 2018
Yes, both work now. Tested rudimentary file loading.
jpfeuffer commentedon Mar 1, 2018
By the way, can we require numpy somehow, so that pip installs it as dependency?
jpfeuffer commentedon Mar 1, 2018
I needed to do that beforehand.
grosenberger commentedon Mar 1, 2018
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.pyfile.hroest commentedon Mar 1, 2018
ok, its online https://pypi.python.org/pypi/pyopenms/2.3.0
grosenberger commentedon Mar 1, 2018
Excellent, thank you very much!
jpfeuffer commentedon Apr 2, 2018
I'll open a new issue for the numpy dependency.
dtabasIDBS commentedon Feb 3, 2021
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 failAny help on this?
Thanks
jpfeuffer commentedon Feb 3, 2021
This is just a warning, you can ignore it. The troublesome part was the subsequent lines. Are you getting them, too?
dtabasIDBS commentedon Feb 4, 2021
You're right, I only get the warning, not the error.
amnahsiddiqa commentedon Aug 24, 2021
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) constjpfeuffer commentedon Aug 24, 2021
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).
amnahsiddiqa commentedon Sep 14, 2021
Thanks. It worked with mzML file.