Daniel Paley

Results 26 comments of Daniel Paley

Great! 1.20.x and 1.21.5 should both work.

Sorry about that :) After activating the environment with cctbx in it, can you try: `conda install numpy=1.21.5 -c conda-forge`. If that doesn't work, then the same with `numpy=1.20`.

Hi Harry, did it ever finish solving? Mamba is a sort of C++ port of Conda, it works 95% of the time, the other 5% I have seen it irreparably...

Excellent! Glad to help. @bkpoon I'll leave this issue open in case you what to do in the conda-forge feedstock to prevent cctbx from getting installed into an environment containing...

Just flagging this boost discussion: https://github.com/boostorg/python/issues/376 which I assume is about the same issue. Here's an excerpt from a stack trace when triggering the segfault via Derek's reproducer: stack trace...

For me, using Derek's reproducer, I can avoid crashing with a couple different changes in `sgtbx/boost_python/symbols.cpp`: As written now, we have: ``` struct space_group_symbols_wrappers { typedef space_group_symbols w_t; static void...

I added a comment on the Boost issue I mentioned above (https://github.com/boostorg/python/issues/376) but not sure if it gets us any closer to a fix. The issue started with changes to...

It appears to be a numpy bug and I describe a possible fix here: https://github.com/boostorg/python/issues/376 The problem involved dereferencing a null pointer when checking convertibility of types (like boost_python ones)...

This appears to be fixed as of numpy 1.21.5, which is now on conda-forge :)

The "normal" way would be using `os.path.splitext`, but should this also be true for `.tar.gz` etc?