We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running thumbor's test over numpy >= 1.16.0, it fails (numpy version is not locked in setup.py). Travis uses numpy version 1.13.3.
numpy >= 1.16.0
1.13.3
====================================================================== ERROR: test_redeye_applied (tests.filters.test_redeye.RedEyeFilterTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/work/stemci01/debian/build/thumbor/thumbor-6.5.1/.pybuild/cpython2_2.7_thumbor/build/tests/filters/test_redeye.py", line 43, in test_redeye_applied config_context File "/work/stemci01/debian/build/thumbor/thumbor-6.5.1/.pybuild/cpython2_2.7_thumbor/build/tests/base.py", line 279, in get_filtered fltr.run(dummy_callback) File "thumbor/filters/__init__.py", line 202, in run results.append(self.runnable_method(*self.params)) File "thumbor/filters/__init__.py", line 23, in wrapper return fn(self, *args2) File "thumbor/filters/redeye.py", line 38, in red_eye image.setflags(write=1) ValueError: cannot set WRITEABLE flag to True of this array -------------------- >> begin captured logging << -------------------- PIL.PngImagePlugin: DEBUG: STREAM 'IHDR' 16 13 PIL.PngImagePlugin: DEBUG: STREAM 'IDAT' 41 358237 PIL.PngImagePlugin: DEBUG: STREAM 'IHDR' 16 13 PIL.PngImagePlugin: DEBUG: STREAM 'IDAT' 41 65536 PIL.PngImagePlugin: DEBUG: STREAM 'IHDR' 16 13 PIL.PngImagePlugin: DEBUG: STREAM 'IDAT' 41 358944 --------------------- >> end captured logging << ---------------------```
The text was updated successfully, but these errors were encountered:
Thank you @marcelometal, fixed! #1171
https://docs.scipy.org/doc/numpy/release.html#arrays-based-off-readonly-buffers-cannot-be-set-writeable
Sorry, something went wrong.
No branches or pull requests
Running thumbor's test over
numpy >= 1.16.0
, it fails (numpy version is not locked in setup.py). Travis uses numpy version1.13.3
.The text was updated successfully, but these errors were encountered: