Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReadOnlyMemoryError for julia/pycall when using asv on GHA #50

Open
aaronspring opened this issue Apr 11, 2022 · 0 comments
Open

ReadOnlyMemoryError for julia/pycall when using asv on GHA #50

aaronspring opened this issue Apr 11, 2022 · 0 comments
Labels
help wanted Extra attention is needed infrastructure what's needed to sustain the package testing

Comments

@aaronspring
Copy link
Collaborator

aaronspring commented Apr 11, 2022

What I want to do?

  • run julia with asv on github actions and levante/supercomputer but not in pytest

What happens?

   Main.X = X
                 File "/home/runner/work/bitinformation_pipeline/bitinformation_pipeline/asv_bench/.asv/env/90d8778db9ad901392615fc50cb0cf4e/lib/python3.8/site-packages/julia/core.py", line 215, in __setattr__
                   self._julia.eval(setter)(value)
                 File "/home/runner/work/bitinformation_pipeline/bitinformation_pipeline/asv_bench/.asv/env/90d8778db9ad901392615fc50cb0cf4e/lib/python3.8/site-packages/julia/core.py", line 621, in eval
                   ans = self._call(src)
                 File "/home/runner/work/bitinformation_pipeline/bitinformation_pipeline/asv_bench/.asv/env/90d8778db9ad901392615fc50cb0cf4e/lib/python3.8/site-packages/julia/core.py", line 549, in _call
                   self.check_exception(src)
                 File "/home/runner/work/bitinformation_pipeline/bitinformation_pipeline/asv_bench/.asv/env/90d8778db9ad901392615fc50cb0cf4e/lib/python3.8/site-packages/julia/core.py", line 603, in check_exception
                   raise JuliaError(u'Exception \'{}\' occurred while calling julia code:\n{}'
               julia.core.JuliaError: Exception 'ReadOnlyMemoryError' occurred while calling julia code:
               
                           PyCall.pyfunctionret(
                               (x) -> Base.eval(Main, :(X = $x)),
                               Any,
                               PyCall.PyAny)
               asv: benchmark failed (exit status 1)

https://github.com/observingClouds/bitinformation_pipeline/runs/5970342909?check_suite_focus=true

@aaronspring aaronspring added help wanted Extra attention is needed infrastructure what's needed to sustain the package testing labels Apr 11, 2022
@aaronspring aaronspring changed the title ReadOnlyMemoryError for julia/pycall on GHA when using asv ReadOnlyMemoryError for julia/pycall when using asv Apr 13, 2022
@aaronspring aaronspring changed the title ReadOnlyMemoryError for julia/pycall when using asv ReadOnlyMemoryError for julia/pycall when using asv on GHA Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed infrastructure what's needed to sustain the package testing
Projects
None yet
Development

No branches or pull requests

1 participant