Closed zhutchens1 closed 2 months ago
Hi, and thanks for reporting this problem. This one looks very familiar: the "forbidden control characters" issue is due to a known bug in an older version of the math library numexpr
which is used by poppy. You should be able to fix this by updating to a more recent version of numexpr:
pip install —upgrade numexpr
Please try that and hopefully it will work. If not please let us know!
@BradleySappington @obi-wan76 This reminds me, we ought to update the requirements.txt
to require numexpr > 2.9.0
to help folks avoid the buggy version 2.8.7 of that library... Hopefully that would help others avoid this problem in the future.
Hey all, everything works perfectly after upgrading that package. Thanks very much for the quick response!
FWIW I also think it would be nice to list numexpr>2.9.0 on the Installation webpage.
resolving in poppy PR 632: https://github.com/spacetelescope/poppy/pull/632
The example given in the API documentation does not work for me, due to a poppy issue "forbidden control character" issue. Is webbpsf only compatible with certain versions of poppy? This is running with Python=3.12.2, webbpsf=1.3.0, poppy=1.1.1, synphot=1.4.0, astropy=6.1.0. Thanks in advance for any guidance!